|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.opengis.ols.v_1_2.AbstractDataType
net.opengis.ols.v_1_2.AbstractLocationType
net.opengis.ols.v_1_2.AbstractAddressType
net.opengis.ols.v_1_2.AddressType
public class AddressType
Defines an address
Java class for AddressType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AddressType">
<complexContent>
<extension base="{http://www.opengis.net/xls}AbstractAddressType">
<choice>
<element name="freeFormAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
<sequence>
<element ref="{http://www.opengis.net/xls}StreetAddress"/>
<element ref="{http://www.opengis.net/xls}Place" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.opengis.net/xls}PostalCode" minOccurs="0"/>
</sequence>
</choice>
</extension>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
freeFormAddress
|
protected List<NamedPlaceType> |
place
|
protected String |
postalCode
|
protected StreetAddressType |
streetAddress
|
| Fields inherited from class net.opengis.ols.v_1_2.AbstractAddressType |
|---|
addressee, countryCode, language |
| Constructor Summary | |
|---|---|
AddressType()
|
|
| Method Summary | |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
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.EqualsStrategy strategy)
|
String |
getFreeFormAddress()
Gets the value of the freeFormAddress property. |
List<NamedPlaceType> |
getPlace()
Gets the value of the place property. |
String |
getPostalCode()
Gets the value of the postalCode property. |
StreetAddressType |
getStreetAddress()
Gets the value of the streetAddress property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
boolean |
isSetFreeFormAddress()
|
boolean |
isSetPlace()
|
boolean |
isSetPostalCode()
|
boolean |
isSetStreetAddress()
|
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.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
void |
setFreeFormAddress(String value)
Sets the value of the freeFormAddress property. |
void |
setPlace(List<NamedPlaceType> value)
|
void |
setPostalCode(String value)
Sets the value of the postalCode property. |
void |
setStreetAddress(StreetAddressType value)
Sets the value of the streetAddress property. |
String |
toString()
|
void |
unsetPlace()
|
AddressType |
withAddressee(String value)
|
AddressType |
withCountryCode(String value)
|
AddressType |
withFreeFormAddress(String value)
|
AddressType |
withLanguage(String value)
|
AddressType |
withPlace(Collection<NamedPlaceType> values)
|
AddressType |
withPlace(List<NamedPlaceType> value)
|
AddressType |
withPlace(NamedPlaceType... values)
|
AddressType |
withPostalCode(String value)
|
AddressType |
withStreetAddress(StreetAddressType value)
|
| Methods inherited from class net.opengis.ols.v_1_2.AbstractAddressType |
|---|
getAddressee, getCountryCode, getLanguage, isSetAddressee, isSetCountryCode, isSetLanguage, setAddressee, setCountryCode, setLanguage |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String freeFormAddress
protected StreetAddressType streetAddress
protected List<NamedPlaceType> place
protected String postalCode
| Constructor Detail |
|---|
public AddressType()
| Method Detail |
|---|
public String getFreeFormAddress()
Stringpublic void setFreeFormAddress(String value)
value - allowed object is
Stringpublic boolean isSetFreeFormAddress()
public StreetAddressType getStreetAddress()
StreetAddressTypepublic void setStreetAddress(StreetAddressType value)
value - allowed object is
StreetAddressTypepublic boolean isSetStreetAddress()
public List<NamedPlaceType> getPlace()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the place property.
For example, to add a new item, do as follows:
getPlace().add(newItem);
Objects of the following type(s) are allowed in the list
NamedPlaceType
public boolean isSetPlace()
public void unsetPlace()
public String getPostalCode()
Stringpublic void setPostalCode(String value)
value - allowed object is
Stringpublic boolean isSetPostalCode()
public String toString()
toString in class AbstractAddressType
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class AbstractAddressType
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class AbstractAddressType
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class AbstractAddressTypepublic boolean equals(Object object)
equals in class AbstractAddressType
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class AbstractAddressTypepublic int hashCode()
hashCode in class AbstractAddressTypepublic Object clone()
clone in class AbstractAddressTypepublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTocopyTo in class AbstractAddressType
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTocopyTo in class AbstractAddressTypepublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFromcreateNewInstance in class AbstractDataType
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrommergeFrom in class AbstractAddressType
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.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrommergeFrom in class AbstractAddressTypepublic void setPlace(List<NamedPlaceType> value)
public AddressType withFreeFormAddress(String value)
public AddressType withStreetAddress(StreetAddressType value)
public AddressType withPlace(NamedPlaceType... values)
public AddressType withPlace(Collection<NamedPlaceType> values)
public AddressType withPostalCode(String value)
public AddressType withPlace(List<NamedPlaceType> value)
public AddressType withAddressee(String value)
withAddressee in class AbstractAddressTypepublic AddressType withCountryCode(String value)
withCountryCode in class AbstractAddressTypepublic AddressType withLanguage(String value)
withLanguage in class AbstractAddressType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||