net.opengis.kml.v_2_3
Class LocationType

java.lang.Object
  extended by net.opengis.kml.v_2_3.AbstractObjectType
      extended by net.opengis.kml.v_2_3.LocationType
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 LocationType
extends AbstractObjectType
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

Java class for LocationType complex type.

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

 <complexType name="LocationType">
   <complexContent>
     <extension base="{http://www.opengis.net/kml/2.2}AbstractObjectType">
       <all>
         <element ref="{http://www.opengis.net/kml/2.2}longitude" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}latitude" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}altitude" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}LocationSimpleExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}LocationObjectExtensionGroup" maxOccurs="unbounded" minOccurs="0"/>
       </all>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Double altitude
           
protected  Double latitude
           
protected  List<AbstractObjectType> locationObjectExtensionGroup
           
protected  List<Object> locationSimpleExtensionGroup
           
protected  Double longitude
           
 
Fields inherited from class net.opengis.kml.v_2_3.AbstractObjectType
id, objectSimpleExtensionGroup, targetId
 
Constructor Summary
LocationType()
           
 
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)
           
 Double getAltitude()
          Gets the value of the altitude property.
 Double getLatitude()
          Gets the value of the latitude property.
 List<AbstractObjectType> getLocationObjectExtensionGroup()
          Gets the value of the locationObjectExtensionGroup property.
 List<Object> getLocationSimpleExtensionGroup()
          Gets the value of the locationSimpleExtensionGroup property.
 Double getLongitude()
          Gets the value of the longitude property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetAltitude()
           
 boolean isSetLatitude()
           
 boolean isSetLocationObjectExtensionGroup()
           
 boolean isSetLocationSimpleExtensionGroup()
           
 boolean isSetLongitude()
           
 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 setAltitude(Double value)
          Sets the value of the altitude property.
 void setLatitude(Double value)
          Sets the value of the latitude property.
 void setLocationObjectExtensionGroup(List<AbstractObjectType> value)
           
 void setLocationSimpleExtensionGroup(List<Object> value)
           
 void setLongitude(Double value)
          Sets the value of the longitude property.
 String toString()
           
 void unsetLocationObjectExtensionGroup()
           
 void unsetLocationSimpleExtensionGroup()
           
 LocationType withAltitude(Double value)
           
 LocationType withId(String value)
           
 LocationType withLatitude(Double value)
           
 LocationType withLocationObjectExtensionGroup(AbstractObjectType... values)
           
 LocationType withLocationObjectExtensionGroup(Collection<AbstractObjectType> values)
           
 LocationType withLocationObjectExtensionGroup(List<AbstractObjectType> value)
           
 LocationType withLocationSimpleExtensionGroup(Collection<Object> values)
           
 LocationType withLocationSimpleExtensionGroup(List<Object> value)
           
 LocationType withLocationSimpleExtensionGroup(Object... values)
           
 LocationType withLongitude(Double value)
           
 LocationType withObjectSimpleExtensionGroup(Collection<Object> values)
           
 LocationType withObjectSimpleExtensionGroup(List<Object> value)
           
 LocationType withObjectSimpleExtensionGroup(Object... values)
           
 LocationType withTargetId(String value)
           
 
Methods inherited from class net.opengis.kml.v_2_3.AbstractObjectType
getId, getObjectSimpleExtensionGroup, getOtherAttributes, getTargetId, isSetId, isSetObjectSimpleExtensionGroup, isSetTargetId, setId, setObjectSimpleExtensionGroup, setTargetId, unsetObjectSimpleExtensionGroup
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

longitude

protected Double longitude

latitude

protected Double latitude

altitude

protected Double altitude

locationSimpleExtensionGroup

protected List<Object> locationSimpleExtensionGroup

locationObjectExtensionGroup

protected List<AbstractObjectType> locationObjectExtensionGroup
Constructor Detail

LocationType

public LocationType()
Method Detail

getLongitude

public Double getLongitude()
Gets the value of the longitude property.

Returns:
possible object is Double

setLongitude

public void setLongitude(Double value)
Sets the value of the longitude property.

Parameters:
value - allowed object is Double

isSetLongitude

public boolean isSetLongitude()

getLatitude

public Double getLatitude()
Gets the value of the latitude property.

Returns:
possible object is Double

setLatitude

public void setLatitude(Double value)
Sets the value of the latitude property.

Parameters:
value - allowed object is Double

isSetLatitude

public boolean isSetLatitude()

getAltitude

public Double getAltitude()
Gets the value of the altitude property.

Returns:
possible object is Double

setAltitude

public void setAltitude(Double value)
Sets the value of the altitude property.

Parameters:
value - allowed object is Double

isSetAltitude

public boolean isSetAltitude()

getLocationSimpleExtensionGroup

public List<Object> getLocationSimpleExtensionGroup()
Gets the value of the locationSimpleExtensionGroup 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 locationSimpleExtensionGroup property.

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

    getLocationSimpleExtensionGroup().add(newItem);
 

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


isSetLocationSimpleExtensionGroup

public boolean isSetLocationSimpleExtensionGroup()

unsetLocationSimpleExtensionGroup

public void unsetLocationSimpleExtensionGroup()

getLocationObjectExtensionGroup

public List<AbstractObjectType> getLocationObjectExtensionGroup()
Gets the value of the locationObjectExtensionGroup 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 locationObjectExtensionGroup property.

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

    getLocationObjectExtensionGroup().add(newItem);
 

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


isSetLocationObjectExtensionGroup

public boolean isSetLocationObjectExtensionGroup()

unsetLocationObjectExtensionGroup

public void unsetLocationObjectExtensionGroup()

toString

public String toString()
Overrides:
toString in class AbstractObjectType

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 AbstractObjectType

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 AbstractObjectType

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 AbstractObjectType

equals

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

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 AbstractObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractObjectType

clone

public Object clone()
Overrides:
clone in class AbstractObjectType

copyTo

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

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 AbstractObjectType

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
Overrides:
mergeFrom in class AbstractObjectType

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 AbstractObjectType

setLocationSimpleExtensionGroup

public void setLocationSimpleExtensionGroup(List<Object> value)

setLocationObjectExtensionGroup

public void setLocationObjectExtensionGroup(List<AbstractObjectType> value)

withLongitude

public LocationType withLongitude(Double value)

withLatitude

public LocationType withLatitude(Double value)

withAltitude

public LocationType withAltitude(Double value)

withLocationSimpleExtensionGroup

public LocationType withLocationSimpleExtensionGroup(Object... values)

withLocationSimpleExtensionGroup

public LocationType withLocationSimpleExtensionGroup(Collection<Object> values)

withLocationObjectExtensionGroup

public LocationType withLocationObjectExtensionGroup(AbstractObjectType... values)

withLocationObjectExtensionGroup

public LocationType withLocationObjectExtensionGroup(Collection<AbstractObjectType> values)

withLocationSimpleExtensionGroup

public LocationType withLocationSimpleExtensionGroup(List<Object> value)

withLocationObjectExtensionGroup

public LocationType withLocationObjectExtensionGroup(List<AbstractObjectType> value)

withObjectSimpleExtensionGroup

public LocationType withObjectSimpleExtensionGroup(Object... values)
Overrides:
withObjectSimpleExtensionGroup in class AbstractObjectType

withObjectSimpleExtensionGroup

public LocationType withObjectSimpleExtensionGroup(Collection<Object> values)
Overrides:
withObjectSimpleExtensionGroup in class AbstractObjectType

withId

public LocationType withId(String value)
Overrides:
withId in class AbstractObjectType

withTargetId

public LocationType withTargetId(String value)
Overrides:
withTargetId in class AbstractObjectType

withObjectSimpleExtensionGroup

public LocationType withObjectSimpleExtensionGroup(List<Object> value)
Overrides:
withObjectSimpleExtensionGroup in class AbstractObjectType


Copyright © 2008-2015. All Rights Reserved.