USRE-86 change the name of package

This commit is contained in:
YuCheng Hu 2021-11-29 16:00:22 -05:00
parent 68ff600b10
commit 986a1dc0fa
143 changed files with 328 additions and 329 deletions

View File

@ -1,7 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ossez.rets-io</groupId>
<groupId>com.ossez.usreio</groupId>
<artifactId>rets-io-client</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.security.GeneralSecurityException;
import java.security.MessageDigest;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.dom4j.Document;
import org.dom4j.Element;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.util.Collection;
import java.util.Iterator;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.apache.commons.logging.LogFactory;

View File

@ -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...

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.apache.commons.lang3.StringUtils;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.Closeable;
import java.util.Iterator;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.util.HashMap;
import java.util.HashSet;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.BufferedInputStream;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public class InvalidArgumentException extends RetsException {
public InvalidArgumentException(String message) {

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.apache.http.StatusLine;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import org.apache.commons.lang3.SystemUtils;
/**

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public interface InvalidReplyCodeHandler {
InvalidReplyCodeHandler FAIL = new InvalidReplyCodeHandler() {

View File

@ -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

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public class LoginRequest extends VersionInsensitiveRequest {

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public class LogoutRequest extends VersionInsensitiveRequest {

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
* A client can register a monitor for network events

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public class NullNetworkEventMonitor implements NetworkEventMonitor {

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.util.Map;
import java.util.HashMap;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
* @author jrayburn

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
* @author YuCheng Hu

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public abstract class RetsHttpClient {

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.InputStream;
import java.util.Map;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.Serializable;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
*

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.util.NoSuchElementException;
import java.util.Iterator;

View File

@ -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)

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.IOException;
import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.util.ArrayList;
import java.util.Iterator;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
* Interface that describes high level information

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.InputStream;
import java.io.Reader;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
/**
* Iterator style interface for processing the results

View File

@ -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

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.FilterInputStream;
import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.InputStream;
import java.io.Reader;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
public abstract class VersionInsensitiveRequest extends RetsHttpRequest {
/**

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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() {

View File

@ -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 {

View File

@ -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() {

View File

@ -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

View File

@ -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 {

View File

@ -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,

View File

@ -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<String> {
protected int min;

View File

@ -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 {

View File

@ -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<Boolean> {
public Boolean parse(String value, boolean strict) throws MetaParseException {

View File

@ -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

View File

@ -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) {

View File

@ -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;

View File

@ -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<Integer> {
public Integer parse(String value, boolean strict) throws MetaParseException {

View File

@ -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<Integer> {

View File

@ -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) {

View File

@ -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) {

View File

@ -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

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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 };

View File

@ -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";

View File

@ -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 {

View File

@ -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 MResource extends MetaObject {
private static final MetadataType[] CHILDREN = {

View File

@ -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";

View File

@ -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";

View File

@ -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 {

View File

@ -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";

View File

@ -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";

View File

@ -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";

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {

View File

@ -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";

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import junit.framework.Test;
import junit.framework.TestSuite;

View File

@ -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 {

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
//import java.util.List;
//import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package com.ossez.reoc.rets.client;
package com.ossez.usreio.client;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;

Some files were not shown because too many files have changed in this diff Show More