net.opengis.ols.v_1_2
Class AbstractAddressType

java.lang.Object
  extended by net.opengis.ols.v_1_2.AbstractDataType
      extended by net.opengis.ols.v_1_2.AbstractLocationType
          extended by net.opengis.ols.v_1_2.AbstractAddressType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2
Direct Known Subclasses:
AddressType

public abstract class AbstractAddressType
extends AbstractLocationType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

The AddressType is the Address_ADT for OpenLS and it supports the concepts of the OGC Geocoder document 01-026r1 with some modifications which resulted in both simplifications and improved handling capability. The definition is also broad enough to handle some of the more obscure occurrences of street addressing as well as handling the case of when all you have is an un-parsed string representing the complete address. We could generalize this even further to handle non-street addressing schemes found in other industries, such as the Municipal Survey Addressing schemes that are used by Municipalities to address the lots on which a building may be placed but that is probably a future requirement outside the scope of OLS1.

Java class for AbstractAddressType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="AbstractAddressType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractLocationType">
       <attribute name="addressee" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="countryCode" use="required" type="{http://www.opengis.net/xls}CountryCodeType" />
       <attribute name="language" type="{http://www.w3.org/2001/XMLSchema}language" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String addressee
           
protected  String countryCode
           
protected  String language
           
 
Constructor Summary
AbstractAddressType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
           
 String getAddressee()
          Gets the value of the addressee property.
 String getCountryCode()
          Gets the value of the countryCode property.
 String getLanguage()
          Gets the value of the language property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetAddressee()
           
 boolean isSetCountryCode()
           
 boolean isSetLanguage()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setAddressee(String value)
          Sets the value of the addressee property.
 void setCountryCode(String value)
          Sets the value of the countryCode property.
 void setLanguage(String value)
          Sets the value of the language property.
 String toString()
           
 AbstractAddressType withAddressee(String value)
           
 AbstractAddressType withCountryCode(String value)
           
 AbstractAddressType withLanguage(String value)
           
 
Methods inherited from class net.opengis.ols.v_1_2.AbstractDataType
createNewInstance
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.CopyTo2
createNewInstance
 
Methods inherited from interface org.jvnet.jaxb2_commons.lang.MergeFrom2
createNewInstance
 

Field Detail

addressee

protected String addressee

countryCode

protected String countryCode

language

protected String language
Constructor Detail

AbstractAddressType

public AbstractAddressType()
Method Detail

getAddressee

public String getAddressee()
Gets the value of the addressee property.

Returns:
possible object is String

setAddressee

public void setAddressee(String value)
Sets the value of the addressee property.

Parameters:
value - allowed object is String

isSetAddressee

public boolean isSetAddressee()

getCountryCode

public String getCountryCode()
Gets the value of the countryCode property.

Returns:
possible object is String

setCountryCode

public void setCountryCode(String value)
Sets the value of the countryCode property.

Parameters:
value - allowed object is String

isSetCountryCode

public boolean isSetCountryCode()

getLanguage

public String getLanguage()
Gets the value of the language property.

Returns:
possible object is String

setLanguage

public void setLanguage(String value)
Sets the value of the language property.

Parameters:
value - allowed object is String

isSetLanguage

public boolean isSetLanguage()

toString

public String toString()
Overrides:
toString in class AbstractLocationType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
append in class AbstractLocationType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2
Overrides:
appendFields in class AbstractLocationType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2
Overrides:
equals in class AbstractLocationType

equals

public boolean equals(Object object)
Overrides:
equals in class AbstractLocationType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
Overrides:
hashCode in class AbstractLocationType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractLocationType

clone

public Object clone()
Overrides:
clone in class AbstractLocationType

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class AbstractLocationType

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Overrides:
copyTo in class AbstractLocationType

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class AbstractLocationType

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy2 strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2
Overrides:
mergeFrom in class AbstractLocationType

withAddressee

public AbstractAddressType withAddressee(String value)

withCountryCode

public AbstractAddressType withCountryCode(String value)

withLanguage

public AbstractAddressType withLanguage(String value)


Copyright © 2008-2016. All Rights Reserved.