net.opengis.ols.v_1_2
Class StreetAddressType

java.lang.Object
  extended by net.opengis.ols.v_1_2.StreetAddressType
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

public class StreetAddressType
extends Object
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

A set of precise and complete data elements that cannot be subdivided and that describe the physical location of a place.

Java class for StreetAddressType complex type.

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

 <complexType name="StreetAddressType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}_StreetLocation" minOccurs="0"/>
         <element ref="{http://www.opengis.net/xls}Street" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="locator" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String locator
           
protected  List<StreetNameType> street
           
protected  JAXBElement<? extends AbstractStreetLocatorType> streetLocation
           
 
Constructor Summary
StreetAddressType()
           
 
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)
           
 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.EqualsStrategy2 strategy)
           
 String getLocator()
          Gets the value of the locator property.
 List<StreetNameType> getStreet()
          Gets the value of the street property.
 JAXBElement<? extends AbstractStreetLocatorType> getStreetLocation()
          Gets the value of the streetLocation property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetLocator()
           
 boolean isSetStreet()
           
 boolean isSetStreetLocation()
           
 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 setLocator(String value)
          Sets the value of the locator property.
 void setStreet(List<StreetNameType> value)
           
 void setStreetLocation(JAXBElement<? extends AbstractStreetLocatorType> value)
          Sets the value of the streetLocation property.
 String toString()
           
 void unsetStreet()
           
 StreetAddressType withLocator(String value)
           
 StreetAddressType withStreet(Collection<StreetNameType> values)
           
 StreetAddressType withStreet(List<StreetNameType> value)
           
 StreetAddressType withStreet(StreetNameType... values)
           
 StreetAddressType withStreetLocation(JAXBElement<? extends AbstractStreetLocatorType> value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

streetLocation

protected JAXBElement<? extends AbstractStreetLocatorType> streetLocation

street

protected List<StreetNameType> street

locator

protected String locator
Constructor Detail

StreetAddressType

public StreetAddressType()
Method Detail

getStreetLocation

public JAXBElement<? extends AbstractStreetLocatorType> getStreetLocation()
Gets the value of the streetLocation property.

Returns:
possible object is JAXBElement<AbstractStreetLocatorType> JAXBElement<BuildingLocatorType>

setStreetLocation

public void setStreetLocation(JAXBElement<? extends AbstractStreetLocatorType> value)
Sets the value of the streetLocation property.

Parameters:
value - allowed object is JAXBElement<AbstractStreetLocatorType> JAXBElement<BuildingLocatorType>

isSetStreetLocation

public boolean isSetStreetLocation()

getStreet

public List<StreetNameType> getStreet()
Gets the value of the street property.

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 street property.

For example, to add a new item, do as follows:

    getStreet().add(newItem);
 

Objects of the following type(s) are allowed in the list StreetNameType


isSetStreet

public boolean isSetStreet()

unsetStreet

public void unsetStreet()

getLocator

public String getLocator()
Gets the value of the locator property.

Returns:
possible object is String

setLocator

public void setLocator(String value)
Sets the value of the locator property.

Parameters:
value - allowed object is String

isSetLocator

public boolean isSetLocator()

toString

public String toString()
Overrides:
toString in class Object

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

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

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

equals

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

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

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

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

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

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

setStreet

public void setStreet(List<StreetNameType> value)

withStreetLocation

public StreetAddressType withStreetLocation(JAXBElement<? extends AbstractStreetLocatorType> value)

withStreet

public StreetAddressType withStreet(StreetNameType... values)

withStreet

public StreetAddressType withStreet(Collection<StreetNameType> values)

withLocator

public StreetAddressType withLocator(String value)

withStreet

public StreetAddressType withStreet(List<StreetNameType> value)


Copyright © 2008-2016. All Rights Reserved.