From 986a1dc0fa5f1f933963f8e711f02157c970f696 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 29 Nov 2021 16:00:22 -0500 Subject: [PATCH 1/2] USRE-86 change the name of package --- pom.xml | 2 +- .../client/BrokerCodeRequredException.java | 2 +- .../client/CapabilityUrls.java | 2 +- .../client/ChangePasswordRequest.java | 2 +- .../client/ChangePasswordResponse.java | 2 +- .../CollectionOfCollectionsIterator.java | 2 +- .../client/CommonsHttpClient.java | 4 +- .../client/CommonsHttpClientResponse.java | 4 +- .../client/CompactRowPolicy.java | 2 +- .../client/GenericHttpRequest.java | 2 +- .../client/GetMetadataRequest.java | 2 +- .../client/GetMetadataResponse.java | 11 +++-- .../client/GetObjectIterator.java | 2 +- .../client/GetObjectRequest.java | 2 +- .../client/GetObjectResponse.java | 5 +-- .../client/GetObjectResponseIterator.java | 2 +- .../client/InvalidArgumentException.java | 2 +- .../client/InvalidHttpStatusException.java | 2 +- .../client/InvalidReplyCodeException.java | 2 +- .../client/InvalidReplyCodeHandler.java | 2 +- .../client/KeyValueResponse.java | 4 +- .../rets => usreio}/client/LoginRequest.java | 2 +- .../rets => usreio}/client/LoginResponse.java | 2 +- .../rets => usreio}/client/LogoutRequest.java | 2 +- .../client/LogoutResponse.java | 2 +- .../client/MetaCollectorAdapter.java | 8 ++-- .../client/MetaCollectorImpl.java | 2 +- .../client/NetworkEventMonitor.java | 2 +- .../client/NullNetworkEventMonitor.java | 2 +- .../rets => usreio}/client/ReplyCode.java | 2 +- .../client/ReplyCodeHandler.java | 2 +- .../rets => usreio}/client/RetsException.java | 2 +- .../client/RetsHttpClient.java | 2 +- .../client/RetsHttpRequest.java | 4 +- .../client/RetsHttpResponse.java | 2 +- .../rets => usreio}/client/RetsSession.java | 6 +-- .../rets => usreio}/client/RetsTransport.java | 10 ++--- .../rets => usreio}/client/RetsUtil.java | 2 +- .../rets => usreio}/client/RetsVersion.java | 2 +- .../rets => usreio}/client/SearchRequest.java | 2 +- .../rets => usreio}/client/SearchResult.java | 2 +- .../client/SearchResultCollector.java | 2 +- .../client/SearchResultHandler.java | 2 +- .../client/SearchResultImpl.java | 2 +- .../client/SearchResultInfo.java | 2 +- .../client/SearchResultProcessor.java | 2 +- .../client/SearchResultSet.java | 2 +- .../client/SingleObjectResponse.java | 4 +- .../client/SinglePartInputStream.java | 2 +- .../StreamingSearchResultProcessor.java | 2 +- .../client/VersionInsensitiveRequest.java | 2 +- .../client/metadata_tables.xml | 0 .../common/metadata/AttrType.java | 2 +- .../common/metadata/JDomCompactBuilder.java | 35 ++++++++-------- .../common/metadata/JDomStandardBuilder.java | 38 +++++++++--------- .../common/metadata/MetaCollector.java | 2 +- .../common/metadata/MetaObject.java | 20 ++++----- .../common/metadata/MetaParseException.java | 2 +- .../common/metadata/Metadata.java | 26 ++++++------ .../common/metadata/MetadataBuilder.java | 38 +++++++++--------- .../common/metadata/MetadataElement.java | 2 +- .../common/metadata/MetadataException.java | 2 +- .../common/metadata/MetadataType.java | 2 +- .../metadata/attrib/AttrAbstractText.java | 6 +-- .../common/metadata/attrib/AttrAlphanum.java | 4 +- .../common/metadata/attrib/AttrBoolean.java | 6 +-- .../common/metadata/attrib/AttrDate.java | 6 +-- .../common/metadata/attrib/AttrEnum.java | 4 +- .../metadata/attrib/AttrGenericText.java | 4 +- .../common/metadata/attrib/AttrNumeric.java | 6 +-- .../metadata/attrib/AttrNumericPositive.java | 6 +-- .../common/metadata/attrib/AttrPlaintext.java | 4 +- .../common/metadata/attrib/AttrText.java | 4 +- .../common/metadata/attrib/AttrVersion.java | 6 +-- .../common/metadata/types/MClass.java | 6 +-- .../common/metadata/types/MEditMask.java | 6 +-- .../common/metadata/types/MForeignKey.java | 6 +-- .../common/metadata/types/MLookup.java | 6 +-- .../common/metadata/types/MLookupType.java | 6 +-- .../common/metadata/types/MObject.java | 6 +-- .../common/metadata/types/MResource.java | 8 ++-- .../common/metadata/types/MSearchHelp.java | 6 +-- .../common/metadata/types/MSystem.java | 6 +-- .../common/metadata/types/MTable.java | 10 ++--- .../common/metadata/types/MUpdate.java | 6 +-- .../common/metadata/types/MUpdateHelp.java | 6 +-- .../common/metadata/types/MUpdateType.java | 10 ++--- .../metadata/types/MValidationExpression.java | 10 ++--- .../metadata/types/MValidationExternal.java | 6 +-- .../types/MValidationExternalType.java | 6 +-- .../metadata/types/MValidationLookup.java | 6 +-- .../metadata/types/MValidationLookupType.java | 6 +-- .../util/CaseInsensitiveComparator.java | 2 +- .../common/util/CaseInsensitiveTreeMap.java | 2 +- .../common/util/SessionUtils.java | 3 +- .../rets => usreio}/client/2237858_0.jpg | Bin .../rets => usreio}/client/AllTests.java | 2 +- .../client/GetMetadataRequestTest.java | 2 +- .../client/GetMetadataResponseTest.java | 2 +- .../client/GetObjectResponseIteratorTest.java | 2 +- .../rets => usreio}/client/IOFailReader.java | 2 +- .../client/LoginRequestTest.java | 2 +- .../client/LoginResponseTest.java | 2 +- .../client/LogoutResponseTest.java | 2 +- .../client/RetsSessionTest.java | 4 +- .../rets => usreio}/client/RetsTestCase.java | 2 +- .../client/RetsVersionTest.java | 2 +- .../client/SearchResultHandlerTest.java | 2 +- .../client/SearchResultImplTest.java | 2 +- .../client/SingleObjectResponseTest.java | 2 +- .../StreamingSearchResultProcessorTest.java | 2 +- .../client/TestInvalidReplyCodeHandler.java | 2 +- .../client/getMetadataResponse_lookupZero.xml | 0 .../client/getMetadataResponse_noRecords.xml | 0 .../client/getMetadataResponse_system.xml | 0 .../client/getMetadataResponse_updateType.xml | 0 .../client/login_lower_case.xml | 0 .../rets => usreio}/client/login_valid10.xml | 0 .../rets => usreio}/client/login_valid15.xml | 0 .../client/logout_lower_case.xml | 0 .../client/logout_no_equals.xml | 0 .../rets => usreio}/client/logout_valid10.xml | 0 .../rets => usreio}/client/logout_valid15.xml | 0 .../client/objects-missing.multipart | Bin .../common/metadata/MetaObjectTest.java | 2 +- .../common/metadata/MetadataTestCase.java | 2 +- .../common/metadata/TestMetaObject.java | 2 +- .../metadata/attrib/AttrAbstractTextTest.java | 6 +-- .../metadata/attrib/AttrAlphanumTest.java | 6 +-- .../metadata/attrib/AttrBooleanTest.java | 6 +-- .../common/metadata/attrib/AttrDateTest.java | 2 +- .../common/metadata/attrib/AttrEnumTest.java | 4 +- .../metadata/attrib/AttrGenericTextTest.java | 4 +- .../metadata/attrib/AttrNumericTest.java | 4 +- .../metadata/attrib/AttrPlaintextTest.java | 4 +- .../common/metadata/attrib/AttrTextTest.java | 4 +- .../common/metadata/attrib/AttrTypeTest.java | 8 ++-- .../metadata/attrib/AttrVersionTest.java | 6 +-- .../util/CaseInsensitiveTreeMapTest.java | 2 +- .../examples/RetsGetMetadataExample.java | 11 ++--- .../examples/RetsGetObjectExample.java | 18 ++++----- .../examples/RetsGetObjectURLExample.java | 18 ++++----- .../examples/RetsSearchExample.java | 18 ++++----- 143 files changed, 328 insertions(+), 329 deletions(-) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/BrokerCodeRequredException.java (95%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/CapabilityUrls.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/ChangePasswordRequest.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/ChangePasswordResponse.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/CollectionOfCollectionsIterator.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/CommonsHttpClient.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/CommonsHttpClientResponse.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/CompactRowPolicy.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GenericHttpRequest.java (95%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetMetadataRequest.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetMetadataResponse.java (88%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetObjectIterator.java (86%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetObjectRequest.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetObjectResponse.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/GetObjectResponseIterator.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/InvalidArgumentException.java (79%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/InvalidHttpStatusException.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/InvalidReplyCodeException.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/InvalidReplyCodeHandler.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/KeyValueResponse.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/LoginRequest.java (93%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/LoginResponse.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/LogoutRequest.java (81%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/LogoutResponse.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/MetaCollectorAdapter.java (88%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/MetaCollectorImpl.java (93%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/NetworkEventMonitor.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/NullNetworkEventMonitor.java (84%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/ReplyCode.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/ReplyCodeHandler.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsException.java (90%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsHttpClient.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsHttpRequest.java (95%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsHttpResponse.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsSession.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsTransport.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsUtil.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/RetsVersion.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchRequest.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResult.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultCollector.java (89%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultHandler.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultImpl.java (98%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultInfo.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultProcessor.java (89%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SearchResultSet.java (91%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SingleObjectResponse.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/SinglePartInputStream.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/StreamingSearchResultProcessor.java (99%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/VersionInsensitiveRequest.java (90%) rename src/main/java/com/ossez/{reoc/rets => usreio}/client/metadata_tables.xml (100%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/AttrType.java (90%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/JDomCompactBuilder.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/JDomStandardBuilder.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetaCollector.java (93%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetaObject.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetaParseException.java (91%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/Metadata.java (82%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetadataBuilder.java (79%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetadataElement.java (94%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetadataException.java (91%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetadataType.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrAbstractText.java (86%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrAlphanum.java (86%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrBoolean.java (86%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrDate.java (91%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrEnum.java (86%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrGenericText.java (85%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrNumeric.java (78%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrNumericPositive.java (82%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrPlaintext.java (84%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrText.java (85%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrVersion.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MClass.java (95%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MEditMask.java (85%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MForeignKey.java (93%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MLookup.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MLookupType.java (87%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MObject.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MResource.java (97%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MSearchHelp.java (85%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MSystem.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MTable.java (96%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MUpdate.java (93%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MUpdateHelp.java (85%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MUpdateType.java (90%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MValidationExpression.java (84%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MValidationExternal.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MValidationExternalType.java (88%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MValidationLookup.java (92%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/metadata/types/MValidationLookupType.java (88%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/util/CaseInsensitiveComparator.java (87%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/util/CaseInsensitiveTreeMap.java (87%) rename src/main/java/com/ossez/{reoc/rets => usreio}/common/util/SessionUtils.java (96%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/2237858_0.jpg (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/AllTests.java (96%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/GetMetadataRequestTest.java (98%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/GetMetadataResponseTest.java (99%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/GetObjectResponseIteratorTest.java (99%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/IOFailReader.java (94%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/LoginRequestTest.java (95%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/LoginResponseTest.java (99%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/LogoutResponseTest.java (98%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/RetsSessionTest.java (93%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/RetsTestCase.java (98%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/RetsVersionTest.java (97%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/SearchResultHandlerTest.java (99%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/SearchResultImplTest.java (97%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/SingleObjectResponseTest.java (95%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/StreamingSearchResultProcessorTest.java (99%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/TestInvalidReplyCodeHandler.java (92%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/getMetadataResponse_lookupZero.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/getMetadataResponse_noRecords.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/getMetadataResponse_system.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/getMetadataResponse_updateType.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/login_lower_case.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/login_valid10.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/login_valid15.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/logout_lower_case.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/logout_no_equals.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/logout_valid10.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/logout_valid15.xml (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/client/objects-missing.multipart (100%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetaObjectTest.java (97%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/MetadataTestCase.java (88%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/TestMetaObject.java (95%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrAbstractTextTest.java (84%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrAlphanumTest.java (86%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrBooleanTest.java (89%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrDateTest.java (94%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrEnumTest.java (80%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrGenericTextTest.java (81%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrNumericTest.java (85%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrPlaintextTest.java (86%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrTextTest.java (83%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrTypeTest.java (74%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/metadata/attrib/AttrVersionTest.java (83%) rename src/test/java/com/ossez/{reoc/rets => usreio}/common/util/CaseInsensitiveTreeMapTest.java (96%) rename src/test/java/com/ossez/{reoc/rets => usreio}/examples/RetsGetMetadataExample.java (87%) rename src/test/java/com/ossez/{reoc/rets => usreio}/examples/RetsGetObjectExample.java (87%) rename src/test/java/com/ossez/{reoc/rets => usreio}/examples/RetsGetObjectURLExample.java (84%) rename src/test/java/com/ossez/{reoc/rets => usreio}/examples/RetsSearchExample.java (83%) diff --git a/pom.xml b/pom.xml index 64d0b73..8ee3f94 100644 --- a/pom.xml +++ b/pom.xml @@ -1,7 +1,7 @@ 4.0.0 - com.ossez.rets-io + com.ossez.usreio rets-io-client 0.0.1-SNAPSHOT jar diff --git a/src/main/java/com/ossez/reoc/rets/client/BrokerCodeRequredException.java b/src/main/java/com/ossez/usreio/client/BrokerCodeRequredException.java similarity index 95% rename from src/main/java/com/ossez/reoc/rets/client/BrokerCodeRequredException.java rename to src/main/java/com/ossez/usreio/client/BrokerCodeRequredException.java index 78ded06..510af62 100644 --- a/src/main/java/com/ossez/reoc/rets/client/BrokerCodeRequredException.java +++ b/src/main/java/com/ossez/usreio/client/BrokerCodeRequredException.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.ArrayList; import java.util.Collection; diff --git a/src/main/java/com/ossez/reoc/rets/client/CapabilityUrls.java b/src/main/java/com/ossez/usreio/client/CapabilityUrls.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/CapabilityUrls.java rename to src/main/java/com/ossez/usreio/client/CapabilityUrls.java index 05701a4..913f60e 100644 --- a/src/main/java/com/ossez/reoc/rets/client/CapabilityUrls.java +++ b/src/main/java/com/ossez/usreio/client/CapabilityUrls.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/com/ossez/reoc/rets/client/ChangePasswordRequest.java b/src/main/java/com/ossez/usreio/client/ChangePasswordRequest.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/ChangePasswordRequest.java rename to src/main/java/com/ossez/usreio/client/ChangePasswordRequest.java index 6932ada..af7ac26 100644 --- a/src/main/java/com/ossez/reoc/rets/client/ChangePasswordRequest.java +++ b/src/main/java/com/ossez/usreio/client/ChangePasswordRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.security.GeneralSecurityException; import java.security.MessageDigest; diff --git a/src/main/java/com/ossez/reoc/rets/client/ChangePasswordResponse.java b/src/main/java/com/ossez/usreio/client/ChangePasswordResponse.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/ChangePasswordResponse.java rename to src/main/java/com/ossez/usreio/client/ChangePasswordResponse.java index 2059387..9370c2e 100644 --- a/src/main/java/com/ossez/reoc/rets/client/ChangePasswordResponse.java +++ b/src/main/java/com/ossez/usreio/client/ChangePasswordResponse.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.dom4j.Document; import org.dom4j.Element; diff --git a/src/main/java/com/ossez/reoc/rets/client/CollectionOfCollectionsIterator.java b/src/main/java/com/ossez/usreio/client/CollectionOfCollectionsIterator.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/CollectionOfCollectionsIterator.java rename to src/main/java/com/ossez/usreio/client/CollectionOfCollectionsIterator.java index eb6f5ab..da398f5 100644 --- a/src/main/java/com/ossez/reoc/rets/client/CollectionOfCollectionsIterator.java +++ b/src/main/java/com/ossez/usreio/client/CollectionOfCollectionsIterator.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.Collection; import java.util.Iterator; diff --git a/src/main/java/com/ossez/reoc/rets/client/CommonsHttpClient.java b/src/main/java/com/ossez/usreio/client/CommonsHttpClient.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/CommonsHttpClient.java rename to src/main/java/com/ossez/usreio/client/CommonsHttpClient.java index 1d7d976..84a14ff 100644 --- a/src/main/java/com/ossez/reoc/rets/client/CommonsHttpClient.java +++ b/src/main/java/com/ossez/usreio/client/CommonsHttpClient.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.UnsupportedEncodingException; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang3.StringUtils; import org.apache.http.Header; diff --git a/src/main/java/com/ossez/reoc/rets/client/CommonsHttpClientResponse.java b/src/main/java/com/ossez/usreio/client/CommonsHttpClientResponse.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/CommonsHttpClientResponse.java rename to src/main/java/com/ossez/usreio/client/CommonsHttpClientResponse.java index b5612fb..4236b63 100644 --- a/src/main/java/com/ossez/reoc/rets/client/CommonsHttpClientResponse.java +++ b/src/main/java/com/ossez/usreio/client/CommonsHttpClientResponse.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.IOException; import java.io.InputStream; import java.util.Map; import java.util.zip.GZIPInputStream; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.apache.http.Header; diff --git a/src/main/java/com/ossez/reoc/rets/client/CompactRowPolicy.java b/src/main/java/com/ossez/usreio/client/CompactRowPolicy.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/CompactRowPolicy.java rename to src/main/java/com/ossez/usreio/client/CompactRowPolicy.java index 811f67d..3e6e316 100644 --- a/src/main/java/com/ossez/reoc/rets/client/CompactRowPolicy.java +++ b/src/main/java/com/ossez/usreio/client/CompactRowPolicy.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.logging.LogFactory; diff --git a/src/main/java/com/ossez/reoc/rets/client/GenericHttpRequest.java b/src/main/java/com/ossez/usreio/client/GenericHttpRequest.java similarity index 95% rename from src/main/java/com/ossez/reoc/rets/client/GenericHttpRequest.java rename to src/main/java/com/ossez/usreio/client/GenericHttpRequest.java index 56a2f46..9c02ac6 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GenericHttpRequest.java +++ b/src/main/java/com/ossez/usreio/client/GenericHttpRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * on the off chance you need an ad hoc request object... diff --git a/src/main/java/com/ossez/reoc/rets/client/GetMetadataRequest.java b/src/main/java/com/ossez/usreio/client/GetMetadataRequest.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/GetMetadataRequest.java rename to src/main/java/com/ossez/usreio/client/GetMetadataRequest.java index 12d7334..8330f21 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetMetadataRequest.java +++ b/src/main/java/com/ossez/usreio/client/GetMetadataRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.lang3.StringUtils; diff --git a/src/main/java/com/ossez/reoc/rets/client/GetMetadataResponse.java b/src/main/java/com/ossez/usreio/client/GetMetadataResponse.java similarity index 88% rename from src/main/java/com/ossez/reoc/rets/client/GetMetadataResponse.java rename to src/main/java/com/ossez/usreio/client/GetMetadataResponse.java index 0604bab..81d5f59 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetMetadataResponse.java +++ b/src/main/java/com/ossez/usreio/client/GetMetadataResponse.java @@ -1,13 +1,12 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; -import java.io.IOException; import java.io.InputStream; import java.util.List; -import com.ossez.reoc.rets.common.metadata.JDomCompactBuilder; -import com.ossez.reoc.rets.common.metadata.JDomStandardBuilder; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataException; +import com.ossez.usreio.common.metadata.JDomCompactBuilder; +import com.ossez.usreio.common.metadata.JDomStandardBuilder; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataException; import org.apache.commons.lang3.math.NumberUtils; import org.dom4j.Document; import org.dom4j.DocumentException; diff --git a/src/main/java/com/ossez/reoc/rets/client/GetObjectIterator.java b/src/main/java/com/ossez/usreio/client/GetObjectIterator.java similarity index 86% rename from src/main/java/com/ossez/reoc/rets/client/GetObjectIterator.java rename to src/main/java/com/ossez/usreio/client/GetObjectIterator.java index 92e76ee..f5cdd5e 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetObjectIterator.java +++ b/src/main/java/com/ossez/usreio/client/GetObjectIterator.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.Closeable; import java.util.Iterator; diff --git a/src/main/java/com/ossez/reoc/rets/client/GetObjectRequest.java b/src/main/java/com/ossez/usreio/client/GetObjectRequest.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/GetObjectRequest.java rename to src/main/java/com/ossez/usreio/client/GetObjectRequest.java index dc53e43..6dceea0 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetObjectRequest.java +++ b/src/main/java/com/ossez/usreio/client/GetObjectRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.HashMap; import java.util.HashSet; diff --git a/src/main/java/com/ossez/reoc/rets/client/GetObjectResponse.java b/src/main/java/com/ossez/usreio/client/GetObjectResponse.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/GetObjectResponse.java rename to src/main/java/com/ossez/usreio/client/GetObjectResponse.java index 6c4087d..99ed9ff 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetObjectResponse.java +++ b/src/main/java/com/ossez/usreio/client/GetObjectResponse.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.IOException; import java.io.InputStream; import java.util.Map; import java.util.NoSuchElementException; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; import org.apache.commons.lang3.math.NumberUtils; import org.apache.http.HeaderElement; import org.apache.http.NameValuePair; @@ -14,7 +14,6 @@ import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; import org.dom4j.io.SAXReader; -import org.w3c.dom.DOMException; public class GetObjectResponse{ private static final int DEFAULT_BUFFER_SIZE = 8192; diff --git a/src/main/java/com/ossez/reoc/rets/client/GetObjectResponseIterator.java b/src/main/java/com/ossez/usreio/client/GetObjectResponseIterator.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/GetObjectResponseIterator.java rename to src/main/java/com/ossez/usreio/client/GetObjectResponseIterator.java index 7904302..4c6fde1 100644 --- a/src/main/java/com/ossez/reoc/rets/client/GetObjectResponseIterator.java +++ b/src/main/java/com/ossez/usreio/client/GetObjectResponseIterator.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.BufferedInputStream; import java.io.IOException; diff --git a/src/main/java/com/ossez/reoc/rets/client/InvalidArgumentException.java b/src/main/java/com/ossez/usreio/client/InvalidArgumentException.java similarity index 79% rename from src/main/java/com/ossez/reoc/rets/client/InvalidArgumentException.java rename to src/main/java/com/ossez/usreio/client/InvalidArgumentException.java index a57cf61..9c9d510 100644 --- a/src/main/java/com/ossez/reoc/rets/client/InvalidArgumentException.java +++ b/src/main/java/com/ossez/usreio/client/InvalidArgumentException.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class InvalidArgumentException extends RetsException { public InvalidArgumentException(String message) { diff --git a/src/main/java/com/ossez/reoc/rets/client/InvalidHttpStatusException.java b/src/main/java/com/ossez/usreio/client/InvalidHttpStatusException.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/client/InvalidHttpStatusException.java rename to src/main/java/com/ossez/usreio/client/InvalidHttpStatusException.java index 567fbd7..e318c72 100644 --- a/src/main/java/com/ossez/reoc/rets/client/InvalidHttpStatusException.java +++ b/src/main/java/com/ossez/usreio/client/InvalidHttpStatusException.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.http.StatusLine; diff --git a/src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeException.java b/src/main/java/com/ossez/usreio/client/InvalidReplyCodeException.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeException.java rename to src/main/java/com/ossez/usreio/client/InvalidReplyCodeException.java index 94dbc93..39bfd77 100644 --- a/src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeException.java +++ b/src/main/java/com/ossez/usreio/client/InvalidReplyCodeException.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.lang3.SystemUtils; /** diff --git a/src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeHandler.java b/src/main/java/com/ossez/usreio/client/InvalidReplyCodeHandler.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeHandler.java rename to src/main/java/com/ossez/usreio/client/InvalidReplyCodeHandler.java index 198c5e0..4af39c3 100644 --- a/src/main/java/com/ossez/reoc/rets/client/InvalidReplyCodeHandler.java +++ b/src/main/java/com/ossez/usreio/client/InvalidReplyCodeHandler.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public interface InvalidReplyCodeHandler { InvalidReplyCodeHandler FAIL = new InvalidReplyCodeHandler() { diff --git a/src/main/java/com/ossez/reoc/rets/client/KeyValueResponse.java b/src/main/java/com/ossez/usreio/client/KeyValueResponse.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/KeyValueResponse.java rename to src/main/java/com/ossez/usreio/client/KeyValueResponse.java index 8203897..2ea6bd2 100644 --- a/src/main/java/com/ossez/reoc/rets/client/KeyValueResponse.java +++ b/src/main/java/com/ossez/usreio/client/KeyValueResponse.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; @@ -16,7 +16,7 @@ import java.util.Arrays; import java.util.HashMap; import java.util.List; -import static com.ossez.reoc.rets.client.CapabilityUrls.LOGIN_URL; +import static com.ossez.usreio.client.CapabilityUrls.LOGIN_URL; /** * Process key and Value diff --git a/src/main/java/com/ossez/reoc/rets/client/LoginRequest.java b/src/main/java/com/ossez/usreio/client/LoginRequest.java similarity index 93% rename from src/main/java/com/ossez/reoc/rets/client/LoginRequest.java rename to src/main/java/com/ossez/usreio/client/LoginRequest.java index 21dd763..1576132 100644 --- a/src/main/java/com/ossez/reoc/rets/client/LoginRequest.java +++ b/src/main/java/com/ossez/usreio/client/LoginRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class LoginRequest extends VersionInsensitiveRequest { diff --git a/src/main/java/com/ossez/reoc/rets/client/LoginResponse.java b/src/main/java/com/ossez/usreio/client/LoginResponse.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/LoginResponse.java rename to src/main/java/com/ossez/usreio/client/LoginResponse.java index 11f7b68..4002463 100644 --- a/src/main/java/com/ossez/reoc/rets/client/LoginResponse.java +++ b/src/main/java/com/ossez/usreio/client/LoginResponse.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.math.NumberUtils; diff --git a/src/main/java/com/ossez/reoc/rets/client/LogoutRequest.java b/src/main/java/com/ossez/usreio/client/LogoutRequest.java similarity index 81% rename from src/main/java/com/ossez/reoc/rets/client/LogoutRequest.java rename to src/main/java/com/ossez/usreio/client/LogoutRequest.java index 018df64..30a1e43 100644 --- a/src/main/java/com/ossez/reoc/rets/client/LogoutRequest.java +++ b/src/main/java/com/ossez/usreio/client/LogoutRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class LogoutRequest extends VersionInsensitiveRequest { diff --git a/src/main/java/com/ossez/reoc/rets/client/LogoutResponse.java b/src/main/java/com/ossez/usreio/client/LogoutResponse.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/LogoutResponse.java rename to src/main/java/com/ossez/usreio/client/LogoutResponse.java index d404448..02cb16b 100644 --- a/src/main/java/com/ossez/reoc/rets/client/LogoutResponse.java +++ b/src/main/java/com/ossez/usreio/client/LogoutResponse.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; diff --git a/src/main/java/com/ossez/reoc/rets/client/MetaCollectorAdapter.java b/src/main/java/com/ossez/usreio/client/MetaCollectorAdapter.java similarity index 88% rename from src/main/java/com/ossez/reoc/rets/client/MetaCollectorAdapter.java rename to src/main/java/com/ossez/usreio/client/MetaCollectorAdapter.java index ebb3f49..c1299da 100644 --- a/src/main/java/com/ossez/reoc/rets/client/MetaCollectorAdapter.java +++ b/src/main/java/com/ossez/usreio/client/MetaCollectorAdapter.java @@ -1,8 +1,8 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; -import com.ossez.reoc.rets.common.metadata.MetaCollector; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaCollector; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; import org.apache.commons.lang3.StringUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; diff --git a/src/main/java/com/ossez/reoc/rets/client/MetaCollectorImpl.java b/src/main/java/com/ossez/usreio/client/MetaCollectorImpl.java similarity index 93% rename from src/main/java/com/ossez/reoc/rets/client/MetaCollectorImpl.java rename to src/main/java/com/ossez/usreio/client/MetaCollectorImpl.java index 97c4c27..1c881d4 100644 --- a/src/main/java/com/ossez/reoc/rets/client/MetaCollectorImpl.java +++ b/src/main/java/com/ossez/usreio/client/MetaCollectorImpl.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class MetaCollectorImpl extends MetaCollectorAdapter { private final RetsTransport mTransport; diff --git a/src/main/java/com/ossez/reoc/rets/client/NetworkEventMonitor.java b/src/main/java/com/ossez/usreio/client/NetworkEventMonitor.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/client/NetworkEventMonitor.java rename to src/main/java/com/ossez/usreio/client/NetworkEventMonitor.java index 4c31315..04ffe4b 100644 --- a/src/main/java/com/ossez/reoc/rets/client/NetworkEventMonitor.java +++ b/src/main/java/com/ossez/usreio/client/NetworkEventMonitor.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * A client can register a monitor for network events diff --git a/src/main/java/com/ossez/reoc/rets/client/NullNetworkEventMonitor.java b/src/main/java/com/ossez/usreio/client/NullNetworkEventMonitor.java similarity index 84% rename from src/main/java/com/ossez/reoc/rets/client/NullNetworkEventMonitor.java rename to src/main/java/com/ossez/usreio/client/NullNetworkEventMonitor.java index 9d88b58..82526e5 100644 --- a/src/main/java/com/ossez/reoc/rets/client/NullNetworkEventMonitor.java +++ b/src/main/java/com/ossez/usreio/client/NullNetworkEventMonitor.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class NullNetworkEventMonitor implements NetworkEventMonitor { diff --git a/src/main/java/com/ossez/reoc/rets/client/ReplyCode.java b/src/main/java/com/ossez/usreio/client/ReplyCode.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/ReplyCode.java rename to src/main/java/com/ossez/usreio/client/ReplyCode.java index d0ddae3..82ac9bb 100644 --- a/src/main/java/com/ossez/reoc/rets/client/ReplyCode.java +++ b/src/main/java/com/ossez/usreio/client/ReplyCode.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.Map; import java.util.HashMap; diff --git a/src/main/java/com/ossez/reoc/rets/client/ReplyCodeHandler.java b/src/main/java/com/ossez/usreio/client/ReplyCodeHandler.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/client/ReplyCodeHandler.java rename to src/main/java/com/ossez/usreio/client/ReplyCodeHandler.java index ef7ea28..d99c1b9 100644 --- a/src/main/java/com/ossez/reoc/rets/client/ReplyCodeHandler.java +++ b/src/main/java/com/ossez/usreio/client/ReplyCodeHandler.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * @author jrayburn diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsException.java b/src/main/java/com/ossez/usreio/client/RetsException.java similarity index 90% rename from src/main/java/com/ossez/reoc/rets/client/RetsException.java rename to src/main/java/com/ossez/usreio/client/RetsException.java index 4ec8274..d115159 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsException.java +++ b/src/main/java/com/ossez/usreio/client/RetsException.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * @author YuCheng Hu diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsHttpClient.java b/src/main/java/com/ossez/usreio/client/RetsHttpClient.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/client/RetsHttpClient.java rename to src/main/java/com/ossez/usreio/client/RetsHttpClient.java index 69b6b2c..0c77aae 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsHttpClient.java +++ b/src/main/java/com/ossez/usreio/client/RetsHttpClient.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public abstract class RetsHttpClient { diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsHttpRequest.java b/src/main/java/com/ossez/usreio/client/RetsHttpRequest.java similarity index 95% rename from src/main/java/com/ossez/reoc/rets/client/RetsHttpRequest.java rename to src/main/java/com/ossez/usreio/client/RetsHttpRequest.java index 9c0f759..f954583 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsHttpRequest.java +++ b/src/main/java/com/ossez/usreio/client/RetsHttpRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.Serializable; import java.util.Iterator; @@ -8,7 +8,7 @@ import java.util.Map; import java.util.SortedMap; import java.util.TreeMap; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.builder.ToStringBuilder; diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsHttpResponse.java b/src/main/java/com/ossez/usreio/client/RetsHttpResponse.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/client/RetsHttpResponse.java rename to src/main/java/com/ossez/usreio/client/RetsHttpResponse.java index 3665d8e..315464e 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsHttpResponse.java +++ b/src/main/java/com/ossez/usreio/client/RetsHttpResponse.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.InputStream; import java.util.Map; diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsSession.java b/src/main/java/com/ossez/usreio/client/RetsSession.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/RetsSession.java rename to src/main/java/com/ossez/usreio/client/RetsSession.java index 14ba715..a5c8d48 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsSession.java +++ b/src/main/java/com/ossez/usreio/client/RetsSession.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.Metadata; -import com.ossez.reoc.rets.common.metadata.MetadataException; +import com.ossez.usreio.common.metadata.Metadata; +import com.ossez.usreio.common.metadata.MetadataException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsTransport.java b/src/main/java/com/ossez/usreio/client/RetsTransport.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/RetsTransport.java rename to src/main/java/com/ossez/usreio/client/RetsTransport.java index d5a2f10..45dc74f 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsTransport.java +++ b/src/main/java/com/ossez/usreio/client/RetsTransport.java @@ -1,14 +1,14 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.FileWriter; import java.util.HashMap; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.JDomCompactBuilder; -import com.ossez.reoc.rets.common.metadata.JDomStandardBuilder; -import com.ossez.reoc.rets.common.metadata.Metadata; -import com.ossez.reoc.rets.common.metadata.MetadataBuilder; +import com.ossez.usreio.common.metadata.JDomCompactBuilder; +import com.ossez.usreio.common.metadata.JDomStandardBuilder; +import com.ossez.usreio.common.metadata.Metadata; +import com.ossez.usreio.common.metadata.MetadataBuilder; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.dom4j.Document; diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsUtil.java b/src/main/java/com/ossez/usreio/client/RetsUtil.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/RetsUtil.java rename to src/main/java/com/ossez/usreio/client/RetsUtil.java index f3b625e..7eb6787 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsUtil.java +++ b/src/main/java/com/ossez/usreio/client/RetsUtil.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.apache.commons.codec.DecoderException; import org.apache.commons.codec.EncoderException; diff --git a/src/main/java/com/ossez/reoc/rets/client/RetsVersion.java b/src/main/java/com/ossez/usreio/client/RetsVersion.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/RetsVersion.java rename to src/main/java/com/ossez/usreio/client/RetsVersion.java index 189ced5..e7f7fdf 100644 --- a/src/main/java/com/ossez/reoc/rets/client/RetsVersion.java +++ b/src/main/java/com/ossez/usreio/client/RetsVersion.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.Serializable; diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchRequest.java b/src/main/java/com/ossez/usreio/client/SearchRequest.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/SearchRequest.java rename to src/main/java/com/ossez/usreio/client/SearchRequest.java index 446c5fa..9cbc3fa 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchRequest.java +++ b/src/main/java/com/ossez/usreio/client/SearchRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResult.java b/src/main/java/com/ossez/usreio/client/SearchResult.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/client/SearchResult.java rename to src/main/java/com/ossez/usreio/client/SearchResult.java index 4384c87..73dfc79 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResult.java +++ b/src/main/java/com/ossez/usreio/client/SearchResult.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.NoSuchElementException; import java.util.Iterator; diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultCollector.java b/src/main/java/com/ossez/usreio/client/SearchResultCollector.java similarity index 89% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultCollector.java rename to src/main/java/com/ossez/usreio/client/SearchResultCollector.java index 2e0ebce..7e346b6 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultCollector.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultCollector.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * Interface for a setting properties of a result from a query (used by SearchResultHandler) diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultHandler.java b/src/main/java/com/ossez/usreio/client/SearchResultHandler.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultHandler.java rename to src/main/java/com/ossez/usreio/client/SearchResultHandler.java index c0337c3..b0003ed 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultHandler.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultHandler.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.IOException; import java.io.InputStream; diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultImpl.java b/src/main/java/com/ossez/usreio/client/SearchResultImpl.java similarity index 98% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultImpl.java rename to src/main/java/com/ossez/usreio/client/SearchResultImpl.java index 8907aa9..7fdf99b 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultImpl.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultImpl.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.ArrayList; import java.util.Iterator; diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultInfo.java b/src/main/java/com/ossez/usreio/client/SearchResultInfo.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultInfo.java rename to src/main/java/com/ossez/usreio/client/SearchResultInfo.java index 753814d..b6af74c 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultInfo.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultInfo.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * Interface that describes high level information diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultProcessor.java b/src/main/java/com/ossez/usreio/client/SearchResultProcessor.java similarity index 89% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultProcessor.java rename to src/main/java/com/ossez/usreio/client/SearchResultProcessor.java index 118695e..4614f6a 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultProcessor.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultProcessor.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.InputStream; import java.io.Reader; diff --git a/src/main/java/com/ossez/reoc/rets/client/SearchResultSet.java b/src/main/java/com/ossez/usreio/client/SearchResultSet.java similarity index 91% rename from src/main/java/com/ossez/reoc/rets/client/SearchResultSet.java rename to src/main/java/com/ossez/usreio/client/SearchResultSet.java index e8a2207..ba2a4e5 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SearchResultSet.java +++ b/src/main/java/com/ossez/usreio/client/SearchResultSet.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; /** * Iterator style interface for processing the results diff --git a/src/main/java/com/ossez/reoc/rets/client/SingleObjectResponse.java b/src/main/java/com/ossez/usreio/client/SingleObjectResponse.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/client/SingleObjectResponse.java rename to src/main/java/com/ossez/usreio/client/SingleObjectResponse.java index bc4ce6d..9c9965d 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SingleObjectResponse.java +++ b/src/main/java/com/ossez/usreio/client/SingleObjectResponse.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.InputStream; import java.util.Map; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; /** * Representation of a single object returned diff --git a/src/main/java/com/ossez/reoc/rets/client/SinglePartInputStream.java b/src/main/java/com/ossez/usreio/client/SinglePartInputStream.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/client/SinglePartInputStream.java rename to src/main/java/com/ossez/usreio/client/SinglePartInputStream.java index 72df49b..b777a2e 100644 --- a/src/main/java/com/ossez/reoc/rets/client/SinglePartInputStream.java +++ b/src/main/java/com/ossez/usreio/client/SinglePartInputStream.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.FilterInputStream; import java.io.IOException; diff --git a/src/main/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessor.java b/src/main/java/com/ossez/usreio/client/StreamingSearchResultProcessor.java similarity index 99% rename from src/main/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessor.java rename to src/main/java/com/ossez/usreio/client/StreamingSearchResultProcessor.java index f6ee4d5..6bd92e8 100644 --- a/src/main/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessor.java +++ b/src/main/java/com/ossez/usreio/client/StreamingSearchResultProcessor.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.InputStream; import java.io.Reader; diff --git a/src/main/java/com/ossez/reoc/rets/client/VersionInsensitiveRequest.java b/src/main/java/com/ossez/usreio/client/VersionInsensitiveRequest.java similarity index 90% rename from src/main/java/com/ossez/reoc/rets/client/VersionInsensitiveRequest.java rename to src/main/java/com/ossez/usreio/client/VersionInsensitiveRequest.java index 4944b61..3b72ee6 100644 --- a/src/main/java/com/ossez/reoc/rets/client/VersionInsensitiveRequest.java +++ b/src/main/java/com/ossez/usreio/client/VersionInsensitiveRequest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public abstract class VersionInsensitiveRequest extends RetsHttpRequest { /** diff --git a/src/main/java/com/ossez/reoc/rets/client/metadata_tables.xml b/src/main/java/com/ossez/usreio/client/metadata_tables.xml similarity index 100% rename from src/main/java/com/ossez/reoc/rets/client/metadata_tables.xml rename to src/main/java/com/ossez/usreio/client/metadata_tables.xml diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/AttrType.java b/src/main/java/com/ossez/usreio/common/metadata/AttrType.java similarity index 90% rename from src/main/java/com/ossez/reoc/rets/common/metadata/AttrType.java rename to src/main/java/com/ossez/usreio/common/metadata/AttrType.java index 2cd8b3b..b63d815 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/AttrType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/AttrType.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.io.Serializable; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/JDomCompactBuilder.java b/src/main/java/com/ossez/usreio/common/metadata/JDomCompactBuilder.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/common/metadata/JDomCompactBuilder.java rename to src/main/java/com/ossez/usreio/common/metadata/JDomCompactBuilder.java index 0d3c033..de8573b 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/JDomCompactBuilder.java +++ b/src/main/java/com/ossez/usreio/common/metadata/JDomCompactBuilder.java @@ -5,9 +5,8 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; -import java.io.IOException; import java.util.LinkedList; import java.util.List; import java.util.StringTokenizer; @@ -16,22 +15,22 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.dom4j.*; -import com.ossez.reoc.rets.common.metadata.types.MClass; -import com.ossez.reoc.rets.common.metadata.types.MEditMask; -import com.ossez.reoc.rets.common.metadata.types.MLookup; -import com.ossez.reoc.rets.common.metadata.types.MLookupType; -import com.ossez.reoc.rets.common.metadata.types.MObject; -import com.ossez.reoc.rets.common.metadata.types.MResource; -import com.ossez.reoc.rets.common.metadata.types.MSearchHelp; -import com.ossez.reoc.rets.common.metadata.types.MSystem; -import com.ossez.reoc.rets.common.metadata.types.MTable; -import com.ossez.reoc.rets.common.metadata.types.MUpdate; -import com.ossez.reoc.rets.common.metadata.types.MUpdateType; -import com.ossez.reoc.rets.common.metadata.types.MValidationExpression; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternal; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookup; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType; +import com.ossez.usreio.common.metadata.types.MClass; +import com.ossez.usreio.common.metadata.types.MEditMask; +import com.ossez.usreio.common.metadata.types.MLookup; +import com.ossez.usreio.common.metadata.types.MLookupType; +import com.ossez.usreio.common.metadata.types.MObject; +import com.ossez.usreio.common.metadata.types.MResource; +import com.ossez.usreio.common.metadata.types.MSearchHelp; +import com.ossez.usreio.common.metadata.types.MSystem; +import com.ossez.usreio.common.metadata.types.MTable; +import com.ossez.usreio.common.metadata.types.MUpdate; +import com.ossez.usreio.common.metadata.types.MUpdateType; +import com.ossez.usreio.common.metadata.types.MValidationExpression; +import com.ossez.usreio.common.metadata.types.MValidationExternal; +import com.ossez.usreio.common.metadata.types.MValidationExternalType; +import com.ossez.usreio.common.metadata.types.MValidationLookup; +import com.ossez.usreio.common.metadata.types.MValidationLookupType; import org.dom4j.io.SAXReader; import org.xml.sax.InputSource; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/JDomStandardBuilder.java b/src/main/java/com/ossez/usreio/common/metadata/JDomStandardBuilder.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/common/metadata/JDomStandardBuilder.java rename to src/main/java/com/ossez/usreio/common/metadata/JDomStandardBuilder.java index 42991f1..4f5c536 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/JDomStandardBuilder.java +++ b/src/main/java/com/ossez/usreio/common/metadata/JDomStandardBuilder.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.util.Iterator; import java.util.LinkedList; @@ -13,24 +13,24 @@ import java.util.List; import java.util.Map; import java.util.HashMap; -import com.ossez.reoc.rets.common.metadata.types.MClass; -import com.ossez.reoc.rets.common.metadata.types.MEditMask; -import com.ossez.reoc.rets.common.metadata.types.MForeignKey; -import com.ossez.reoc.rets.common.metadata.types.MLookup; -import com.ossez.reoc.rets.common.metadata.types.MLookupType; -import com.ossez.reoc.rets.common.metadata.types.MObject; -import com.ossez.reoc.rets.common.metadata.types.MResource; -import com.ossez.reoc.rets.common.metadata.types.MSearchHelp; -import com.ossez.reoc.rets.common.metadata.types.MSystem; -import com.ossez.reoc.rets.common.metadata.types.MTable; -import com.ossez.reoc.rets.common.metadata.types.MUpdate; -import com.ossez.reoc.rets.common.metadata.types.MUpdateHelp; -import com.ossez.reoc.rets.common.metadata.types.MUpdateType; -import com.ossez.reoc.rets.common.metadata.types.MValidationExpression; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternal; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookup; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType; +import com.ossez.usreio.common.metadata.types.MClass; +import com.ossez.usreio.common.metadata.types.MEditMask; +import com.ossez.usreio.common.metadata.types.MForeignKey; +import com.ossez.usreio.common.metadata.types.MLookup; +import com.ossez.usreio.common.metadata.types.MLookupType; +import com.ossez.usreio.common.metadata.types.MObject; +import com.ossez.usreio.common.metadata.types.MResource; +import com.ossez.usreio.common.metadata.types.MSearchHelp; +import com.ossez.usreio.common.metadata.types.MSystem; +import com.ossez.usreio.common.metadata.types.MTable; +import com.ossez.usreio.common.metadata.types.MUpdate; +import com.ossez.usreio.common.metadata.types.MUpdateHelp; +import com.ossez.usreio.common.metadata.types.MUpdateType; +import com.ossez.usreio.common.metadata.types.MValidationExpression; +import com.ossez.usreio.common.metadata.types.MValidationExternal; +import com.ossez.usreio.common.metadata.types.MValidationExternalType; +import com.ossez.usreio.common.metadata.types.MValidationLookup; +import com.ossez.usreio.common.metadata.types.MValidationLookupType; import org.dom4j.Attribute; import org.dom4j.Document; import org.dom4j.Element; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaCollector.java b/src/main/java/com/ossez/usreio/common/metadata/MetaCollector.java similarity index 93% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetaCollector.java rename to src/main/java/com/ossez/usreio/common/metadata/MetaCollector.java index 1624fe0..7b52a8e 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaCollector.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetaCollector.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.io.Serializable; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaObject.java b/src/main/java/com/ossez/usreio/common/metadata/MetaObject.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetaObject.java rename to src/main/java/com/ossez/usreio/common/metadata/MetaObject.java index c04216f..e031f52 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaObject.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetaObject.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.io.Serializable; import java.util.Collection; @@ -9,20 +9,20 @@ import java.util.Iterator; import java.util.Map; import java.util.Set; -import com.ossez.reoc.rets.common.util.CaseInsensitiveTreeMap; +import com.ossez.usreio.common.util.CaseInsensitiveTreeMap; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; -import com.ossez.reoc.rets.common.metadata.attrib.AttrAlphanum; -import com.ossez.reoc.rets.common.metadata.attrib.AttrBoolean; -import com.ossez.reoc.rets.common.metadata.attrib.AttrDate; -import com.ossez.reoc.rets.common.metadata.attrib.AttrNumeric; -import com.ossez.reoc.rets.common.metadata.attrib.AttrNumericPositive; -import com.ossez.reoc.rets.common.metadata.attrib.AttrPlaintext; -import com.ossez.reoc.rets.common.metadata.attrib.AttrText; -import com.ossez.reoc.rets.common.metadata.attrib.AttrVersion; +import com.ossez.usreio.common.metadata.attrib.AttrAlphanum; +import com.ossez.usreio.common.metadata.attrib.AttrBoolean; +import com.ossez.usreio.common.metadata.attrib.AttrDate; +import com.ossez.usreio.common.metadata.attrib.AttrNumeric; +import com.ossez.usreio.common.metadata.attrib.AttrNumericPositive; +import com.ossez.usreio.common.metadata.attrib.AttrPlaintext; +import com.ossez.usreio.common.metadata.attrib.AttrText; +import com.ossez.usreio.common.metadata.attrib.AttrVersion; public abstract class MetaObject implements Serializable { private static final Log LOG = LogFactory.getLog(MetaObject.class); diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaParseException.java b/src/main/java/com/ossez/usreio/common/metadata/MetaParseException.java similarity index 91% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetaParseException.java rename to src/main/java/com/ossez/usreio/common/metadata/MetaParseException.java index 55b21ee..ec2e3b0 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetaParseException.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetaParseException.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; public class MetaParseException extends MetadataException { public MetaParseException() { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/Metadata.java b/src/main/java/com/ossez/usreio/common/metadata/Metadata.java similarity index 82% rename from src/main/java/com/ossez/reoc/rets/common/metadata/Metadata.java rename to src/main/java/com/ossez/usreio/common/metadata/Metadata.java index 6ab8b1d..cedf56e 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/Metadata.java +++ b/src/main/java/com/ossez/usreio/common/metadata/Metadata.java @@ -1,19 +1,19 @@ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.io.Serializable; -import com.ossez.reoc.rets.common.metadata.types.MSystem; -import com.ossez.reoc.rets.common.metadata.types.MResource; -import com.ossez.reoc.rets.common.metadata.types.MForeignKey; -import com.ossez.reoc.rets.common.metadata.types.MClass; -import com.ossez.reoc.rets.common.metadata.types.MTable; -import com.ossez.reoc.rets.common.metadata.types.MUpdate; -import com.ossez.reoc.rets.common.metadata.types.MUpdateType; -import com.ossez.reoc.rets.common.metadata.types.MObject; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternal; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookup; -import com.ossez.reoc.rets.common.metadata.types.MLookup; -import com.ossez.reoc.rets.common.metadata.types.MSearchHelp; +import com.ossez.usreio.common.metadata.types.MSystem; +import com.ossez.usreio.common.metadata.types.MResource; +import com.ossez.usreio.common.metadata.types.MForeignKey; +import com.ossez.usreio.common.metadata.types.MClass; +import com.ossez.usreio.common.metadata.types.MTable; +import com.ossez.usreio.common.metadata.types.MUpdate; +import com.ossez.usreio.common.metadata.types.MUpdateType; +import com.ossez.usreio.common.metadata.types.MObject; +import com.ossez.usreio.common.metadata.types.MValidationExternal; +import com.ossez.usreio.common.metadata.types.MValidationLookup; +import com.ossez.usreio.common.metadata.types.MLookup; +import com.ossez.usreio.common.metadata.types.MSearchHelp; public class Metadata implements Serializable { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataBuilder.java b/src/main/java/com/ossez/usreio/common/metadata/MetadataBuilder.java similarity index 79% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetadataBuilder.java rename to src/main/java/com/ossez/usreio/common/metadata/MetadataBuilder.java index 6d9a3de..3390122 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataBuilder.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetadataBuilder.java @@ -5,26 +5,26 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; -import com.ossez.reoc.rets.common.metadata.types.MClass; -import com.ossez.reoc.rets.common.metadata.types.MEditMask; -import com.ossez.reoc.rets.common.metadata.types.MForeignKey; -import com.ossez.reoc.rets.common.metadata.types.MLookup; -import com.ossez.reoc.rets.common.metadata.types.MLookupType; -import com.ossez.reoc.rets.common.metadata.types.MObject; -import com.ossez.reoc.rets.common.metadata.types.MResource; -import com.ossez.reoc.rets.common.metadata.types.MSearchHelp; -import com.ossez.reoc.rets.common.metadata.types.MSystem; -import com.ossez.reoc.rets.common.metadata.types.MTable; -import com.ossez.reoc.rets.common.metadata.types.MUpdate; -import com.ossez.reoc.rets.common.metadata.types.MUpdateHelp; -import com.ossez.reoc.rets.common.metadata.types.MUpdateType; -import com.ossez.reoc.rets.common.metadata.types.MValidationExpression; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternal; -import com.ossez.reoc.rets.common.metadata.types.MValidationExternalType; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookup; -import com.ossez.reoc.rets.common.metadata.types.MValidationLookupType; +import com.ossez.usreio.common.metadata.types.MClass; +import com.ossez.usreio.common.metadata.types.MEditMask; +import com.ossez.usreio.common.metadata.types.MForeignKey; +import com.ossez.usreio.common.metadata.types.MLookup; +import com.ossez.usreio.common.metadata.types.MLookupType; +import com.ossez.usreio.common.metadata.types.MObject; +import com.ossez.usreio.common.metadata.types.MResource; +import com.ossez.usreio.common.metadata.types.MSearchHelp; +import com.ossez.usreio.common.metadata.types.MSystem; +import com.ossez.usreio.common.metadata.types.MTable; +import com.ossez.usreio.common.metadata.types.MUpdate; +import com.ossez.usreio.common.metadata.types.MUpdateHelp; +import com.ossez.usreio.common.metadata.types.MUpdateType; +import com.ossez.usreio.common.metadata.types.MValidationExpression; +import com.ossez.usreio.common.metadata.types.MValidationExternal; +import com.ossez.usreio.common.metadata.types.MValidationExternalType; +import com.ossez.usreio.common.metadata.types.MValidationLookup; +import com.ossez.usreio.common.metadata.types.MValidationLookupType; public abstract class MetadataBuilder { protected MetadataBuilder() { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataElement.java b/src/main/java/com/ossez/usreio/common/metadata/MetadataElement.java similarity index 94% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetadataElement.java rename to src/main/java/com/ossez/usreio/common/metadata/MetadataElement.java index 7346fa8..96c209b 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataElement.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetadataElement.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; public enum MetadataElement { SYSTEM("System"),// might need to provide enumeration for different versions 1.5 vs 1.7 diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataException.java b/src/main/java/com/ossez/usreio/common/metadata/MetadataException.java similarity index 91% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetadataException.java rename to src/main/java/com/ossez/usreio/common/metadata/MetadataException.java index 9171b00..2557768 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataException.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetadataException.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; public class MetadataException extends Exception { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataType.java b/src/main/java/com/ossez/usreio/common/metadata/MetadataType.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/MetadataType.java rename to src/main/java/com/ossez/usreio/common/metadata/MetadataType.java index 38a440a..f6b9f5d 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/MetadataType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/MetadataType.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; public enum MetadataType { EDITMASK, diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractText.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractText.java similarity index 86% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractText.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractText.java index 3b2abaf..f160d8f 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractText.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractText.java @@ -5,10 +5,10 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public abstract class AttrAbstractText implements AttrType { protected int min; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanum.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanum.java similarity index 86% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanum.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanum.java index 0745ebf..45d9051 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanum.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanum.java @@ -5,9 +5,9 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrAlphanum extends AttrAbstractText { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBoolean.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrBoolean.java similarity index 86% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBoolean.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrBoolean.java index 3f1dbb6..d34d22c 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBoolean.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrBoolean.java @@ -5,10 +5,10 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrBoolean implements AttrType { public Boolean parse(String value, boolean strict) throws MetaParseException { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDate.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrDate.java similarity index 91% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDate.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrDate.java index 8a569c5..dbf13cc 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDate.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrDate.java @@ -11,15 +11,15 @@ * 2011-06-01T18:06:58 * should find a more elegant way */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; //import java.text.DateFormat; //import java.text.ParseException; //import java.text.SimpleDateFormat; //import java.util.Date; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; /** * Converted this class to return a String instead of a diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnum.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrEnum.java similarity index 86% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnum.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrEnum.java index e60163e..871986e 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnum.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrEnum.java @@ -5,13 +5,13 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; import java.util.HashMap; import java.util.Map; import java.util.Collections; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrEnum extends AttrAbstractText { public AttrEnum(String[] values) { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericText.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrGenericText.java similarity index 85% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericText.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrGenericText.java index 9b89d6a..7e8980d 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericText.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrGenericText.java @@ -5,9 +5,9 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrGenericText extends AttrAbstractText { private String mChars; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumeric.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumeric.java similarity index 78% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumeric.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumeric.java index 303c41a..199abfc 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumeric.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumeric.java @@ -5,10 +5,10 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrNumeric implements AttrType { public Integer parse(String value, boolean strict) throws MetaParseException { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericPositive.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumericPositive.java similarity index 82% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericPositive.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumericPositive.java index 7d86feb..4f24cc1 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericPositive.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrNumericPositive.java @@ -5,10 +5,10 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrNumericPositive implements AttrType { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintext.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintext.java similarity index 84% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintext.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintext.java index 9969e88..ce6d9aa 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintext.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintext.java @@ -5,9 +5,9 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrPlaintext extends AttrAbstractText { public AttrPlaintext(int min, int max) { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrText.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrText.java similarity index 85% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrText.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrText.java index 03ccb76..cc69598 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrText.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrText.java @@ -5,9 +5,9 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrText extends AttrAbstractText { public AttrText(int min, int max) { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersion.java b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrVersion.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersion.java rename to src/main/java/com/ossez/usreio/common/metadata/attrib/AttrVersion.java index d3c49dc..2309bc8 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersion.java +++ b/src/main/java/com/ossez/usreio/common/metadata/attrib/AttrVersion.java @@ -5,11 +5,11 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; import org.apache.commons.lang3.StringUtils; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; /** * A version is a string formatted "major.minor.release". This gets converted diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MClass.java b/src/main/java/com/ossez/usreio/common/metadata/types/MClass.java similarity index 95% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MClass.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MClass.java index 1b42d99..d43cc38 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MClass.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MClass.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Collection; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MClass extends MetaObject { public static final String CLASSNAME = "ClassName"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MEditMask.java b/src/main/java/com/ossez/usreio/common/metadata/types/MEditMask.java similarity index 85% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MEditMask.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MEditMask.java index ae13962..bc88fe8 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MEditMask.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MEditMask.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MEditMask extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MForeignKey.java b/src/main/java/com/ossez/usreio/common/metadata/types/MForeignKey.java similarity index 93% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MForeignKey.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MForeignKey.java index 2b46e26..31261b2 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MForeignKey.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MForeignKey.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MForeignKey extends MetaObject { public static final String FOREIGNKEYID = "ForeignKeyID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookup.java b/src/main/java/com/ossez/usreio/common/metadata/types/MLookup.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookup.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MLookup.java index e5f2cc6..10e8c65 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookup.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MLookup.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MLookup extends MetaObject { private static final MetadataType[] CHILDREN = { MetadataType.LOOKUP_TYPE }; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookupType.java b/src/main/java/com/ossez/usreio/common/metadata/types/MLookupType.java similarity index 87% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookupType.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MLookupType.java index 7484510..b421e7d 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MLookupType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MLookupType.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MLookupType extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MObject.java b/src/main/java/com/ossez/usreio/common/metadata/types/MObject.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MObject.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MObject.java index a4513ec..93a2942 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MObject.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MObject.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MObject extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MResource.java b/src/main/java/com/ossez/usreio/common/metadata/types/MResource.java similarity index 97% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MResource.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MResource.java index 0179f86..8561ab7 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MResource.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MResource.java @@ -1,13 +1,13 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MResource extends MetaObject { - private static final MetadataType[] CHILDREN = { + private static final MetadataType[] CHILDREN = { MetadataType.VALIDATION_EXPRESSION, MetadataType.LOOKUP, MetadataType.CLASS, diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MSearchHelp.java b/src/main/java/com/ossez/usreio/common/metadata/types/MSearchHelp.java similarity index 85% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MSearchHelp.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MSearchHelp.java index 871d6a5..192ecc4 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MSearchHelp.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MSearchHelp.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MSearchHelp extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MSystem.java b/src/main/java/com/ossez/usreio/common/metadata/types/MSystem.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MSystem.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MSystem.java index 17ff23b..5522691 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MSystem.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MSystem.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MSystem extends MetaObject { public static final String SYSTEMID = "SystemID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MTable.java b/src/main/java/com/ossez/usreio/common/metadata/types/MTable.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MTable.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MTable.java index 641e949..23594c5 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MTable.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MTable.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; -import com.ossez.reoc.rets.common.metadata.attrib.AttrEnum; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.attrib.AttrEnum; public class MTable extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdate.java b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdate.java similarity index 93% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdate.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MUpdate.java index 0aa919c..a2ef317 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdate.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdate.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MUpdate extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateHelp.java b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdateHelp.java similarity index 85% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateHelp.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MUpdateHelp.java index 9b423af..a79366d 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateHelp.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdateHelp.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MUpdateHelp extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateType.java b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdateType.java similarity index 90% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateType.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MUpdateType.java index a19c56b..c3bb815 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MUpdateType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MUpdateType.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; -import com.ossez.reoc.rets.common.metadata.attrib.AttrGenericText; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.attrib.AttrGenericText; public class MUpdateType extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExpression.java b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExpression.java similarity index 84% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExpression.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MValidationExpression.java index 67daea8..7b12398 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExpression.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExpression.java @@ -1,11 +1,11 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; -import com.ossez.reoc.rets.common.metadata.attrib.AttrEnum; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.attrib.AttrEnum; public class MValidationExpression extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternal.java b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternal.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternal.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternal.java index 1ffab7c..9a3f648 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternal.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternal.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MValidationExternal extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternalType.java b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternalType.java similarity index 88% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternalType.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternalType.java index 3024eb9..4150375 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationExternalType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationExternalType.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MValidationExternalType extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookup.java b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookup.java similarity index 92% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookup.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookup.java index 67c82d6..03266b5 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookup.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookup.java @@ -1,10 +1,10 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; //import java.util.Date; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MValidationLookup extends MetaObject { diff --git a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookupType.java b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookupType.java similarity index 88% rename from src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookupType.java rename to src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookupType.java index c3660f1..0b2a2fb 100644 --- a/src/main/java/com/ossez/reoc/rets/common/metadata/types/MValidationLookupType.java +++ b/src/main/java/com/ossez/usreio/common/metadata/types/MValidationLookupType.java @@ -1,9 +1,9 @@ -package com.ossez.reoc.rets.common.metadata.types; +package com.ossez.usreio.common.metadata.types; import java.util.Map; -import com.ossez.reoc.rets.common.metadata.MetaObject; -import com.ossez.reoc.rets.common.metadata.MetadataType; +import com.ossez.usreio.common.metadata.MetaObject; +import com.ossez.usreio.common.metadata.MetadataType; public class MValidationLookupType extends MetaObject { public static final String METADATAENTRYID = "MetadataEntryID"; diff --git a/src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveComparator.java b/src/main/java/com/ossez/usreio/common/util/CaseInsensitiveComparator.java similarity index 87% rename from src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveComparator.java rename to src/main/java/com/ossez/usreio/common/util/CaseInsensitiveComparator.java index cec76a1..cf4a72d 100644 --- a/src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveComparator.java +++ b/src/main/java/com/ossez/usreio/common/util/CaseInsensitiveComparator.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.util; +package com.ossez.usreio.common.util; import java.io.Serializable; import java.util.Comparator; diff --git a/src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMap.java b/src/main/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMap.java similarity index 87% rename from src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMap.java rename to src/main/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMap.java index 4513cf2..2d1a10f 100644 --- a/src/main/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMap.java +++ b/src/main/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMap.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.util; +package com.ossez.usreio.common.util; import java.util.Map; import java.util.TreeMap; diff --git a/src/main/java/com/ossez/reoc/rets/common/util/SessionUtils.java b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java similarity index 96% rename from src/main/java/com/ossez/reoc/rets/common/util/SessionUtils.java rename to src/main/java/com/ossez/usreio/common/util/SessionUtils.java index d29b803..c0fa2f3 100644 --- a/src/main/java/com/ossez/reoc/rets/common/util/SessionUtils.java +++ b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java @@ -1,6 +1,7 @@ -package com.ossez.reoc.rets.common.util; +package com.ossez.usreio.common.util; import com.ossez.reoc.rets.client.*; +import com.ossez.usreio.client.*; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; diff --git a/src/test/java/com/ossez/reoc/rets/client/2237858_0.jpg b/src/test/java/com/ossez/usreio/client/2237858_0.jpg similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/2237858_0.jpg rename to src/test/java/com/ossez/usreio/client/2237858_0.jpg diff --git a/src/test/java/com/ossez/reoc/rets/client/AllTests.java b/src/test/java/com/ossez/usreio/client/AllTests.java similarity index 96% rename from src/test/java/com/ossez/reoc/rets/client/AllTests.java rename to src/test/java/com/ossez/usreio/client/AllTests.java index 7c8753f..8a3b48c 100644 --- a/src/test/java/com/ossez/reoc/rets/client/AllTests.java +++ b/src/test/java/com/ossez/usreio/client/AllTests.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import junit.framework.Test; import junit.framework.TestSuite; diff --git a/src/test/java/com/ossez/reoc/rets/client/GetMetadataRequestTest.java b/src/test/java/com/ossez/usreio/client/GetMetadataRequestTest.java similarity index 98% rename from src/test/java/com/ossez/reoc/rets/client/GetMetadataRequestTest.java rename to src/test/java/com/ossez/usreio/client/GetMetadataRequestTest.java index 8676303..5eefc2e 100644 --- a/src/test/java/com/ossez/reoc/rets/client/GetMetadataRequestTest.java +++ b/src/test/java/com/ossez/usreio/client/GetMetadataRequestTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class GetMetadataRequestTest extends RetsTestCase { public void testGetMetadataRequestSimple() throws RetsException { diff --git a/src/test/java/com/ossez/reoc/rets/client/GetMetadataResponseTest.java b/src/test/java/com/ossez/usreio/client/GetMetadataResponseTest.java similarity index 99% rename from src/test/java/com/ossez/reoc/rets/client/GetMetadataResponseTest.java rename to src/test/java/com/ossez/usreio/client/GetMetadataResponseTest.java index f1edb4a..8024c9c 100644 --- a/src/test/java/com/ossez/reoc/rets/client/GetMetadataResponseTest.java +++ b/src/test/java/com/ossez/usreio/client/GetMetadataResponseTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; //import java.util.List; //import java.util.ArrayList; diff --git a/src/test/java/com/ossez/reoc/rets/client/GetObjectResponseIteratorTest.java b/src/test/java/com/ossez/usreio/client/GetObjectResponseIteratorTest.java similarity index 99% rename from src/test/java/com/ossez/reoc/rets/client/GetObjectResponseIteratorTest.java rename to src/test/java/com/ossez/usreio/client/GetObjectResponseIteratorTest.java index dd43db1..31fb965 100644 --- a/src/test/java/com/ossez/reoc/rets/client/GetObjectResponseIteratorTest.java +++ b/src/test/java/com/ossez/usreio/client/GetObjectResponseIteratorTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; diff --git a/src/test/java/com/ossez/reoc/rets/client/IOFailReader.java b/src/test/java/com/ossez/usreio/client/IOFailReader.java similarity index 94% rename from src/test/java/com/ossez/reoc/rets/client/IOFailReader.java rename to src/test/java/com/ossez/usreio/client/IOFailReader.java index d179049..f7dae10 100644 --- a/src/test/java/com/ossez/reoc/rets/client/IOFailReader.java +++ b/src/test/java/com/ossez/usreio/client/IOFailReader.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.FilterReader; import java.io.IOException; diff --git a/src/test/java/com/ossez/reoc/rets/client/LoginRequestTest.java b/src/test/java/com/ossez/usreio/client/LoginRequestTest.java similarity index 95% rename from src/test/java/com/ossez/reoc/rets/client/LoginRequestTest.java rename to src/test/java/com/ossez/usreio/client/LoginRequestTest.java index 64ce4b0..cb37ad4 100644 --- a/src/test/java/com/ossez/reoc/rets/client/LoginRequestTest.java +++ b/src/test/java/com/ossez/usreio/client/LoginRequestTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class LoginRequestTest extends RetsTestCase { public void testGetUrl() { diff --git a/src/test/java/com/ossez/reoc/rets/client/LoginResponseTest.java b/src/test/java/com/ossez/usreio/client/LoginResponseTest.java similarity index 99% rename from src/test/java/com/ossez/reoc/rets/client/LoginResponseTest.java rename to src/test/java/com/ossez/usreio/client/LoginResponseTest.java index 8af31eb..d7dbedb 100644 --- a/src/test/java/com/ossez/reoc/rets/client/LoginResponseTest.java +++ b/src/test/java/com/ossez/usreio/client/LoginResponseTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import org.junit.Test; diff --git a/src/test/java/com/ossez/reoc/rets/client/LogoutResponseTest.java b/src/test/java/com/ossez/usreio/client/LogoutResponseTest.java similarity index 98% rename from src/test/java/com/ossez/reoc/rets/client/LogoutResponseTest.java rename to src/test/java/com/ossez/usreio/client/LogoutResponseTest.java index 861d566..2ce5503 100644 --- a/src/test/java/com/ossez/reoc/rets/client/LogoutResponseTest.java +++ b/src/test/java/com/ossez/usreio/client/LogoutResponseTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class LogoutResponseTest extends RetsTestCase { /* diff --git a/src/test/java/com/ossez/reoc/rets/client/RetsSessionTest.java b/src/test/java/com/ossez/usreio/client/RetsSessionTest.java similarity index 93% rename from src/test/java/com/ossez/reoc/rets/client/RetsSessionTest.java rename to src/test/java/com/ossez/usreio/client/RetsSessionTest.java index 5a37f9c..5487f85 100644 --- a/src/test/java/com/ossez/reoc/rets/client/RetsSessionTest.java +++ b/src/test/java/com/ossez/usreio/client/RetsSessionTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; -import com.ossez.reoc.rets.common.util.SessionUtils; +import com.ossez.usreio.common.util.SessionUtils; import org.junit.Assert; import org.junit.Test; import org.slf4j.Logger; diff --git a/src/test/java/com/ossez/reoc/rets/client/RetsTestCase.java b/src/test/java/com/ossez/usreio/client/RetsTestCase.java similarity index 98% rename from src/test/java/com/ossez/reoc/rets/client/RetsTestCase.java rename to src/test/java/com/ossez/usreio/client/RetsTestCase.java index e59278f..d4efc8d 100644 --- a/src/test/java/com/ossez/reoc/rets/client/RetsTestCase.java +++ b/src/test/java/com/ossez/usreio/client/RetsTestCase.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import junit.framework.TestCase; import org.junit.BeforeClass; diff --git a/src/test/java/com/ossez/reoc/rets/client/RetsVersionTest.java b/src/test/java/com/ossez/usreio/client/RetsVersionTest.java similarity index 97% rename from src/test/java/com/ossez/reoc/rets/client/RetsVersionTest.java rename to src/test/java/com/ossez/usreio/client/RetsVersionTest.java index aa20316..68e49b9 100644 --- a/src/test/java/com/ossez/reoc/rets/client/RetsVersionTest.java +++ b/src/test/java/com/ossez/usreio/client/RetsVersionTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; public class RetsVersionTest extends RetsTestCase { diff --git a/src/test/java/com/ossez/reoc/rets/client/SearchResultHandlerTest.java b/src/test/java/com/ossez/usreio/client/SearchResultHandlerTest.java similarity index 99% rename from src/test/java/com/ossez/reoc/rets/client/SearchResultHandlerTest.java rename to src/test/java/com/ossez/usreio/client/SearchResultHandlerTest.java index e232ce5..ca080d9 100644 --- a/src/test/java/com/ossez/reoc/rets/client/SearchResultHandlerTest.java +++ b/src/test/java/com/ossez/usreio/client/SearchResultHandlerTest.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.StringReader; diff --git a/src/test/java/com/ossez/reoc/rets/client/SearchResultImplTest.java b/src/test/java/com/ossez/usreio/client/SearchResultImplTest.java similarity index 97% rename from src/test/java/com/ossez/reoc/rets/client/SearchResultImplTest.java rename to src/test/java/com/ossez/usreio/client/SearchResultImplTest.java index f601397..d119393 100644 --- a/src/test/java/com/ossez/reoc/rets/client/SearchResultImplTest.java +++ b/src/test/java/com/ossez/usreio/client/SearchResultImplTest.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.NoSuchElementException; diff --git a/src/test/java/com/ossez/reoc/rets/client/SingleObjectResponseTest.java b/src/test/java/com/ossez/usreio/client/SingleObjectResponseTest.java similarity index 95% rename from src/test/java/com/ossez/reoc/rets/client/SingleObjectResponseTest.java rename to src/test/java/com/ossez/usreio/client/SingleObjectResponseTest.java index fe61700..65d13ae 100644 --- a/src/test/java/com/ossez/reoc/rets/client/SingleObjectResponseTest.java +++ b/src/test/java/com/ossez/usreio/client/SingleObjectResponseTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.util.HashMap; import java.util.Map; diff --git a/src/test/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessorTest.java b/src/test/java/com/ossez/usreio/client/StreamingSearchResultProcessorTest.java similarity index 99% rename from src/test/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessorTest.java rename to src/test/java/com/ossez/usreio/client/StreamingSearchResultProcessorTest.java index 805a142..5aef6f4 100644 --- a/src/test/java/com/ossez/reoc/rets/client/StreamingSearchResultProcessorTest.java +++ b/src/test/java/com/ossez/usreio/client/StreamingSearchResultProcessorTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; import java.io.Reader; import java.io.StringReader; diff --git a/src/test/java/com/ossez/reoc/rets/client/TestInvalidReplyCodeHandler.java b/src/test/java/com/ossez/usreio/client/TestInvalidReplyCodeHandler.java similarity index 92% rename from src/test/java/com/ossez/reoc/rets/client/TestInvalidReplyCodeHandler.java rename to src/test/java/com/ossez/usreio/client/TestInvalidReplyCodeHandler.java index dd8c600..9d9efb1 100644 --- a/src/test/java/com/ossez/reoc/rets/client/TestInvalidReplyCodeHandler.java +++ b/src/test/java/com/ossez/usreio/client/TestInvalidReplyCodeHandler.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.client; +package com.ossez.usreio.client; final class TestInvalidReplyCodeHandler implements InvalidReplyCodeHandler { private int replyCode; diff --git a/src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_lookupZero.xml b/src/test/java/com/ossez/usreio/client/getMetadataResponse_lookupZero.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_lookupZero.xml rename to src/test/java/com/ossez/usreio/client/getMetadataResponse_lookupZero.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_noRecords.xml b/src/test/java/com/ossez/usreio/client/getMetadataResponse_noRecords.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_noRecords.xml rename to src/test/java/com/ossez/usreio/client/getMetadataResponse_noRecords.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_system.xml b/src/test/java/com/ossez/usreio/client/getMetadataResponse_system.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_system.xml rename to src/test/java/com/ossez/usreio/client/getMetadataResponse_system.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_updateType.xml b/src/test/java/com/ossez/usreio/client/getMetadataResponse_updateType.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/getMetadataResponse_updateType.xml rename to src/test/java/com/ossez/usreio/client/getMetadataResponse_updateType.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/login_lower_case.xml b/src/test/java/com/ossez/usreio/client/login_lower_case.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/login_lower_case.xml rename to src/test/java/com/ossez/usreio/client/login_lower_case.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/login_valid10.xml b/src/test/java/com/ossez/usreio/client/login_valid10.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/login_valid10.xml rename to src/test/java/com/ossez/usreio/client/login_valid10.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/login_valid15.xml b/src/test/java/com/ossez/usreio/client/login_valid15.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/login_valid15.xml rename to src/test/java/com/ossez/usreio/client/login_valid15.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/logout_lower_case.xml b/src/test/java/com/ossez/usreio/client/logout_lower_case.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/logout_lower_case.xml rename to src/test/java/com/ossez/usreio/client/logout_lower_case.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/logout_no_equals.xml b/src/test/java/com/ossez/usreio/client/logout_no_equals.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/logout_no_equals.xml rename to src/test/java/com/ossez/usreio/client/logout_no_equals.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/logout_valid10.xml b/src/test/java/com/ossez/usreio/client/logout_valid10.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/logout_valid10.xml rename to src/test/java/com/ossez/usreio/client/logout_valid10.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/logout_valid15.xml b/src/test/java/com/ossez/usreio/client/logout_valid15.xml similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/logout_valid15.xml rename to src/test/java/com/ossez/usreio/client/logout_valid15.xml diff --git a/src/test/java/com/ossez/reoc/rets/client/objects-missing.multipart b/src/test/java/com/ossez/usreio/client/objects-missing.multipart similarity index 100% rename from src/test/java/com/ossez/reoc/rets/client/objects-missing.multipart rename to src/test/java/com/ossez/usreio/client/objects-missing.multipart diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/MetaObjectTest.java b/src/test/java/com/ossez/usreio/common/metadata/MetaObjectTest.java similarity index 97% rename from src/test/java/com/ossez/reoc/rets/common/metadata/MetaObjectTest.java rename to src/test/java/com/ossez/usreio/common/metadata/MetaObjectTest.java index 790cbbe..43921ed 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/MetaObjectTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/MetaObjectTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; public class MetaObjectTest extends MetadataTestCase { public void testStrictAttributes() { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/MetadataTestCase.java b/src/test/java/com/ossez/usreio/common/metadata/MetadataTestCase.java similarity index 88% rename from src/test/java/com/ossez/reoc/rets/common/metadata/MetadataTestCase.java rename to src/test/java/com/ossez/usreio/common/metadata/MetadataTestCase.java index f2d7b6d..c6335a4 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/MetadataTestCase.java +++ b/src/test/java/com/ossez/usreio/common/metadata/MetadataTestCase.java @@ -5,7 +5,7 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import junit.framework.TestCase; diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/TestMetaObject.java b/src/test/java/com/ossez/usreio/common/metadata/TestMetaObject.java similarity index 95% rename from src/test/java/com/ossez/reoc/rets/common/metadata/TestMetaObject.java rename to src/test/java/com/ossez/usreio/common/metadata/TestMetaObject.java index 0924e67..a452be9 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/TestMetaObject.java +++ b/src/test/java/com/ossez/usreio/common/metadata/TestMetaObject.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.metadata; +package com.ossez.usreio.common.metadata; import java.util.Map; diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractTextTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractTextTest.java similarity index 84% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractTextTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractTextTest.java index a8bd530..9e77bad 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAbstractTextTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAbstractTextTest.java @@ -1,7 +1,7 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrAbstractTextTest extends AttrTypeTest { @Override diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanumTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanumTest.java similarity index 86% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanumTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanumTest.java index 59d9c0b..33947f5 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrAlphanumTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrAlphanumTest.java @@ -1,7 +1,7 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrAlphanumTest extends AttrTypeTest { @Override diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBooleanTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrBooleanTest.java similarity index 89% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBooleanTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrBooleanTest.java index a461756..60f784c 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrBooleanTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrBooleanTest.java @@ -1,7 +1,7 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrBooleanTest extends AttrTypeTest diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDateTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrDateTest.java similarity index 94% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDateTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrDateTest.java index a62d533..c458062 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrDateTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrDateTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; public class AttrDateTest extends AttrTypeTest { public void testAttrDate() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnumTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrEnumTest.java similarity index 80% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnumTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrEnumTest.java index 3921cd5..90776b4 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrEnumTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrEnumTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.AttrType; public class AttrEnumTest extends AttrTypeTest { public void testEnum() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericTextTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrGenericTextTest.java similarity index 81% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericTextTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrGenericTextTest.java index 22aa026..4cde387 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrGenericTextTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrGenericTextTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.AttrType; public class AttrGenericTextTest extends AttrTypeTest { public void testAttrGeneric() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrNumericTest.java similarity index 85% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrNumericTest.java index 339fef4..b2fc8ca 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrNumericTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrNumericTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.AttrType; public class AttrNumericTest extends AttrTypeTest { public void testNumeric() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintextTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintextTest.java similarity index 86% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintextTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintextTest.java index d6b8274..bba62d8 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrPlaintextTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrPlaintextTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.AttrType; public class AttrPlaintextTest extends AttrTypeTest { public void testPlaintext() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTextTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTextTest.java similarity index 83% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTextTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTextTest.java index 12f3b47..ab2c586 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTextTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTextTest.java @@ -1,6 +1,6 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.AttrType; public class AttrTextTest extends AttrTypeTest { public void testAttrText() throws Exception { diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTypeTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTypeTest.java similarity index 74% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTypeTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTypeTest.java index 2d38d91..6d2178e 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrTypeTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrTypeTest.java @@ -5,11 +5,11 @@ * Copyright (c) 2003, The National Association of REALTORS * Distributed under a BSD-style license. See LICENSE.TXT for details. */ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.MetadataTestCase; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.MetadataTestCase; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; /** * It's rare you can encapsulate the exception expecting tests, but I can, diff --git a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersionTest.java b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrVersionTest.java similarity index 83% rename from src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersionTest.java rename to src/test/java/com/ossez/usreio/common/metadata/attrib/AttrVersionTest.java index c5ba055..6aa7b7f 100644 --- a/src/test/java/com/ossez/reoc/rets/common/metadata/attrib/AttrVersionTest.java +++ b/src/test/java/com/ossez/usreio/common/metadata/attrib/AttrVersionTest.java @@ -1,7 +1,7 @@ -package com.ossez.reoc.rets.common.metadata.attrib; +package com.ossez.usreio.common.metadata.attrib; -import com.ossez.reoc.rets.common.metadata.AttrType; -import com.ossez.reoc.rets.common.metadata.MetaParseException; +import com.ossez.usreio.common.metadata.AttrType; +import com.ossez.usreio.common.metadata.MetaParseException; public class AttrVersionTest extends AttrTypeTest { @Override diff --git a/src/test/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMapTest.java b/src/test/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMapTest.java similarity index 96% rename from src/test/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMapTest.java rename to src/test/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMapTest.java index c1a52b9..b61d021 100644 --- a/src/test/java/com/ossez/reoc/rets/common/util/CaseInsensitiveTreeMapTest.java +++ b/src/test/java/com/ossez/usreio/common/util/CaseInsensitiveTreeMapTest.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.common.util; +package com.ossez.usreio.common.util; import java.util.HashMap; import java.util.Map; diff --git a/src/test/java/com/ossez/reoc/rets/examples/RetsGetMetadataExample.java b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java similarity index 87% rename from src/test/java/com/ossez/reoc/rets/examples/RetsGetMetadataExample.java rename to src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java index 20b32f9..ab48d6b 100644 --- a/src/test/java/com/ossez/reoc/rets/examples/RetsGetMetadataExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java @@ -1,11 +1,12 @@ -package com.ossez.reoc.rets.examples; +package com.ossez.usreio.examples; import java.net.MalformedURLException; import com.ossez.reoc.rets.client.*; -import com.ossez.reoc.rets.common.metadata.types.MClass; -import com.ossez.reoc.rets.common.metadata.types.MResource; -import com.ossez.reoc.rets.common.metadata.types.MSystem; +import com.ossez.usreio.common.metadata.types.MClass; +import com.ossez.usreio.common.metadata.types.MResource; +import com.ossez.usreio.common.metadata.types.MSystem; +import com.ossez.usreio.client.*; /** * Simple Example performing a GetMetadata and iterating of the results @@ -21,7 +22,7 @@ public class RetsGetMetadataExample { String loginUrl = "http://neren.rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login"; //Create a RetesSession with RetsHttpClient - RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); + RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); String username = "prurets1"; String password = "boyd070110"; diff --git a/src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectExample.java b/src/test/java/com/ossez/usreio/examples/RetsGetObjectExample.java similarity index 87% rename from src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectExample.java rename to src/test/java/com/ossez/usreio/examples/RetsGetObjectExample.java index d95d6c6..7e48760 100644 --- a/src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsGetObjectExample.java @@ -1,4 +1,4 @@ -package com.ossez.reoc.rets.examples; +package com.ossez.usreio.examples; import java.io.File; import java.io.FileOutputStream; @@ -10,13 +10,13 @@ import java.util.Arrays; import java.util.Iterator; import java.util.List; -import com.ossez.reoc.rets.client.CommonsHttpClient; -import com.ossez.reoc.rets.client.GetObjectRequest; -import com.ossez.reoc.rets.client.RetsException; -import com.ossez.reoc.rets.client.RetsHttpClient; -import com.ossez.reoc.rets.client.RetsSession; -import com.ossez.reoc.rets.client.RetsVersion; -import com.ossez.reoc.rets.client.SingleObjectResponse; +import com.ossez.usreio.client.CommonsHttpClient; +import com.ossez.usreio.client.GetObjectRequest; +import com.ossez.usreio.client.RetsException; +import com.ossez.usreio.client.RetsHttpClient; +import com.ossez.usreio.client.RetsSession; +import com.ossez.usreio.client.RetsVersion; +import com.ossez.usreio.client.SingleObjectResponse; /** @@ -34,7 +34,7 @@ public class RetsGetObjectExample { String loginUrl = "http://theurloftheretsserver.com"; //Create a RetesSession with RetsHttpClient - RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); + RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); String username = "username"; String password = "password"; diff --git a/src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectURLExample.java b/src/test/java/com/ossez/usreio/examples/RetsGetObjectURLExample.java similarity index 84% rename from src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectURLExample.java rename to src/test/java/com/ossez/usreio/examples/RetsGetObjectURLExample.java index 4e8360e..d15fccf 100644 --- a/src/test/java/com/ossez/reoc/rets/examples/RetsGetObjectURLExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsGetObjectURLExample.java @@ -1,17 +1,17 @@ -package com.ossez.reoc.rets.examples; +package com.ossez.usreio.examples; import java.net.MalformedURLException; import java.util.Arrays; import java.util.Iterator; import java.util.List; -import com.ossez.reoc.rets.client.CommonsHttpClient; -import com.ossez.reoc.rets.client.GetObjectRequest; -import com.ossez.reoc.rets.client.RetsException; -import com.ossez.reoc.rets.client.RetsHttpClient; -import com.ossez.reoc.rets.client.RetsSession; -import com.ossez.reoc.rets.client.RetsVersion; -import com.ossez.reoc.rets.client.SingleObjectResponse; +import com.ossez.usreio.client.CommonsHttpClient; +import com.ossez.usreio.client.GetObjectRequest; +import com.ossez.usreio.client.RetsException; +import com.ossez.usreio.client.RetsHttpClient; +import com.ossez.usreio.client.RetsSession; +import com.ossez.usreio.client.RetsVersion; +import com.ossez.usreio.client.SingleObjectResponse; /** @@ -29,7 +29,7 @@ public class RetsGetObjectURLExample { String loginUrl = "http://theurloftheretsserver.com"; //Create a RetesSession with RetsHttpClient - RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); + RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); String username = "username"; String password = "password"; diff --git a/src/test/java/com/ossez/reoc/rets/examples/RetsSearchExample.java b/src/test/java/com/ossez/usreio/examples/RetsSearchExample.java similarity index 83% rename from src/test/java/com/ossez/reoc/rets/examples/RetsSearchExample.java rename to src/test/java/com/ossez/usreio/examples/RetsSearchExample.java index 5366984..f68d2ab 100644 --- a/src/test/java/com/ossez/reoc/rets/examples/RetsSearchExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsSearchExample.java @@ -1,15 +1,15 @@ -package com.ossez.reoc.rets.examples; +package com.ossez.usreio.examples; import java.net.MalformedURLException; import org.apache.commons.lang3.StringUtils; -import com.ossez.reoc.rets.client.CommonsHttpClient; -import com.ossez.reoc.rets.client.RetsException; -import com.ossez.reoc.rets.client.RetsHttpClient; -import com.ossez.reoc.rets.client.RetsSession; -import com.ossez.reoc.rets.client.RetsVersion; -import com.ossez.reoc.rets.client.SearchRequest; -import com.ossez.reoc.rets.client.SearchResultImpl; +import com.ossez.usreio.client.CommonsHttpClient; +import com.ossez.usreio.client.RetsException; +import com.ossez.usreio.client.RetsHttpClient; +import com.ossez.usreio.client.RetsSession; +import com.ossez.usreio.client.RetsVersion; +import com.ossez.usreio.client.SearchRequest; +import com.ossez.usreio.client.SearchResultImpl; /** * Simple Example performing a search and iterating over the results @@ -25,7 +25,7 @@ public class RetsSearchExample { String loginUrl = "http://neren.rets.paragonrels.com/rets/fnisrets.aspx/NEREN/login"; //Create a RetesSession with RetsHttpClient - RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); + RetsSession session = new RetsSession(loginUrl, httpClient, retsVersion); String username = "prurets1"; String password = "boyd070110"; From 99911d814492e70ecac4fff07b16b5e313844303 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Mon, 29 Nov 2021 16:04:17 -0500 Subject: [PATCH 2/2] USRE-86 Add test for Junit5 and change import for pom.xml --- pom.xml | 44 ++++++++++++++++--- .../usreio/common/util/SessionUtils.java | 1 - .../examples/RetsGetMetadataExample.java | 1 - 3 files changed, 38 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 8ee3f94..29b438f 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,17 @@ ${logback.version} - + + + commons-httpclient + commons-httpclient + 3.1 + + + org.apache.ant + ant + 1.9.4 + org.apache.commons commons-lang3 @@ -71,6 +81,21 @@ dom4j 2.1.1 + + xalan + xalan + 2.7.2 + + + javax.activation + javax.activation-api + 1.2.0 + + + javax.mail + mail + 1.4 + @@ -79,13 +104,20 @@ 4.12 test - - log4j - log4j - 1.2.9 - false + org.junit.jupiter + junit-jupiter-api + 5.7.0 + test + + org.junit.jupiter + junit-jupiter-engine + 5.7.0 + test + + + commons-codec diff --git a/src/main/java/com/ossez/usreio/common/util/SessionUtils.java b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java index c0fa2f3..3da525f 100644 --- a/src/main/java/com/ossez/usreio/common/util/SessionUtils.java +++ b/src/main/java/com/ossez/usreio/common/util/SessionUtils.java @@ -1,6 +1,5 @@ package com.ossez.usreio.common.util; -import com.ossez.reoc.rets.client.*; import com.ossez.usreio.client.*; import org.apache.commons.lang3.ObjectUtils; import org.apache.commons.lang3.StringUtils; diff --git a/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java index ab48d6b..f202fca 100644 --- a/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java +++ b/src/test/java/com/ossez/usreio/examples/RetsGetMetadataExample.java @@ -2,7 +2,6 @@ package com.ossez.usreio.examples; import java.net.MalformedURLException; -import com.ossez.reoc.rets.client.*; import com.ossez.usreio.common.metadata.types.MClass; import com.ossez.usreio.common.metadata.types.MResource; import com.ossez.usreio.common.metadata.types.MSystem;