net.opengis.kml.v_2_3
Class DataType

java.lang.Object
  extended by net.opengis.kml.v_2_3.AbstractObjectType
      extended by net.opengis.kml.v_2_3.DataType
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 DataType
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 DataType complex type.

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

 <complexType name="DataType">
   <complexContent>
     <extension base="{http://www.opengis.net/kml/2.2}AbstractObjectType">
       <all>
         <element ref="{http://www.opengis.net/kml/2.2}displayName" minOccurs="0"/>
         <element ref="{http://www.opengis.net/kml/2.2}value"/>
         <element ref="{http://www.opengis.net/kml/2.2}DataExtension" maxOccurs="unbounded" minOccurs="0"/>
       </all>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="uom" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> dataExtension
           
protected  String displayName
           
protected  String name
           
protected  String uom
           
protected  Object value
           
 
Fields inherited from class net.opengis.kml.v_2_3.AbstractObjectType
id, objectSimpleExtensionGroup, targetId
 
Constructor Summary
DataType()
           
 
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)
           
 List<Object> getDataExtension()
          Gets the value of the dataExtension property.
 String getDisplayName()
          Gets the value of the displayName property.
 String getName()
          Gets the value of the name property.
 String getUom()
          Gets the value of the uom property.
 Object getValue()
          Gets the value of the value property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetDataExtension()
           
 boolean isSetDisplayName()
           
 boolean isSetName()
           
 boolean isSetUom()
           
 boolean isSetValue()
           
 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 setDataExtension(List<Object> value)
           
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setName(String value)
          Sets the value of the name property.
 void setUom(String value)
          Sets the value of the uom property.
 void setValue(Object value)
          Sets the value of the value property.
 String toString()
           
 void unsetDataExtension()
           
 DataType withDataExtension(Collection<Object> values)
           
 DataType withDataExtension(List<Object> value)
           
 DataType withDataExtension(Object... values)
           
 DataType withDisplayName(String value)
           
 DataType withId(String value)
           
 DataType withName(String value)
           
 DataType withObjectSimpleExtensionGroup(Collection<Object> values)
           
 DataType withObjectSimpleExtensionGroup(List<Object> value)
           
 DataType withObjectSimpleExtensionGroup(Object... values)
           
 DataType withTargetId(String value)
           
 DataType withUom(String value)
           
 DataType withValue(Object 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

displayName

protected String displayName

value

protected Object value

dataExtension

protected List<Object> dataExtension

name

protected String name

uom

protected String uom
Constructor Detail

DataType

public DataType()
Method Detail

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

isSetDisplayName

public boolean isSetDisplayName()

getValue

public Object getValue()
Gets the value of the value property.

Returns:
possible object is Object

setValue

public void setValue(Object value)
Sets the value of the value property.

Parameters:
value - allowed object is Object

isSetValue

public boolean isSetValue()

getDataExtension

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

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

    getDataExtension().add(newItem);
 

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


isSetDataExtension

public boolean isSetDataExtension()

unsetDataExtension

public void unsetDataExtension()

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getUom

public String getUom()
Gets the value of the uom property.

Returns:
possible object is String

setUom

public void setUom(String value)
Sets the value of the uom property.

Parameters:
value - allowed object is String

isSetUom

public boolean isSetUom()

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

setDataExtension

public void setDataExtension(List<Object> value)

withDisplayName

public DataType withDisplayName(String value)

withValue

public DataType withValue(Object value)

withDataExtension

public DataType withDataExtension(Object... values)

withDataExtension

public DataType withDataExtension(Collection<Object> values)

withName

public DataType withName(String value)

withUom

public DataType withUom(String value)

withDataExtension

public DataType withDataExtension(List<Object> value)

withObjectSimpleExtensionGroup

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

withObjectSimpleExtensionGroup

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

withId

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

withTargetId

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

withObjectSimpleExtensionGroup

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


Copyright © 2008-2016. All Rights Reserved.