net.opengis.swecommon.v_2_0
Class DataChoiceType

java.lang.Object
  extended by net.opengis.swecommon.v_2_0.AbstractSWEType
      extended by net.opengis.swecommon.v_2_0.AbstractSWEIdentifiableType
          extended by net.opengis.swecommon.v_2_0.AbstractDataComponentType
              extended by net.opengis.swecommon.v_2_0.DataChoiceType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class DataChoiceType
extends AbstractDataComponentType
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

Java class for DataChoiceType complex type.

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

 <complexType name="DataChoiceType">
   <complexContent>
     <extension base="{http://www.opengis.net/swe/2.0}AbstractDataComponentType">
       <sequence>
         <element name="choiceValue" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element ref="{http://www.opengis.net/swe/2.0}Category"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="item" maxOccurs="unbounded" minOccurs="2">
           <complexType>
             <complexContent>
               <extension base="{http://www.opengis.net/swe/2.0}AbstractDataComponentPropertyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
               </extension>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class DataChoiceType.ChoiceValue
          Java class for anonymous complex type.
static class DataChoiceType.Item
          Java class for anonymous complex type.
 
Field Summary
protected  DataChoiceType.ChoiceValue choiceValue
           
protected  List<DataChoiceType.Item> item
           
 
Fields inherited from class net.opengis.swecommon.v_2_0.AbstractDataComponentType
definition, optional, updatable
 
Fields inherited from class net.opengis.swecommon.v_2_0.AbstractSWEIdentifiableType
description, identifier, label
 
Fields inherited from class net.opengis.swecommon.v_2_0.AbstractSWEType
extension, id
 
Constructor Summary
DataChoiceType()
           
 
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)
           
 DataChoiceType.ChoiceValue getChoiceValue()
          Gets the value of the choiceValue property.
 List<DataChoiceType.Item> getItem()
          Gets the value of the item property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetChoiceValue()
           
 boolean isSetItem()
           
 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 setChoiceValue(DataChoiceType.ChoiceValue value)
          Sets the value of the choiceValue property.
 void setItem(List<DataChoiceType.Item> value)
           
 String toString()
           
 void unsetItem()
           
 DataChoiceType withChoiceValue(DataChoiceType.ChoiceValue value)
           
 DataChoiceType withDefinition(String value)
           
 DataChoiceType withDescription(String value)
           
 DataChoiceType withExtension(Collection<Object> values)
           
 DataChoiceType withExtension(List<Object> value)
           
 DataChoiceType withExtension(Object... values)
           
 DataChoiceType withId(String value)
           
 DataChoiceType withIdentifier(String value)
           
 DataChoiceType withItem(Collection<DataChoiceType.Item> values)
           
 DataChoiceType withItem(DataChoiceType.Item... values)
           
 DataChoiceType withItem(List<DataChoiceType.Item> value)
           
 DataChoiceType withLabel(String value)
           
 DataChoiceType withOptional(boolean value)
           
 DataChoiceType withUpdatable(boolean value)
           
 
Methods inherited from class net.opengis.swecommon.v_2_0.AbstractDataComponentType
getDefinition, isOptional, isSetDefinition, isSetOptional, isSetUpdatable, isUpdatable, setDefinition, setOptional, setUpdatable, unsetOptional, unsetUpdatable
 
Methods inherited from class net.opengis.swecommon.v_2_0.AbstractSWEIdentifiableType
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
 
Methods inherited from class net.opengis.swecommon.v_2_0.AbstractSWEType
getExtension, getId, isSetExtension, isSetId, setExtension, setId, unsetExtension
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

choiceValue

protected DataChoiceType.ChoiceValue choiceValue

item

protected List<DataChoiceType.Item> item
Constructor Detail

DataChoiceType

public DataChoiceType()
Method Detail

getChoiceValue

public DataChoiceType.ChoiceValue getChoiceValue()
Gets the value of the choiceValue property.

Returns:
possible object is DataChoiceType.ChoiceValue

setChoiceValue

public void setChoiceValue(DataChoiceType.ChoiceValue value)
Sets the value of the choiceValue property.

Parameters:
value - allowed object is DataChoiceType.ChoiceValue

isSetChoiceValue

public boolean isSetChoiceValue()

getItem

public List<DataChoiceType.Item> getItem()
Gets the value of the item 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 item property.

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

    getItem().add(newItem);
 

Objects of the following type(s) are allowed in the list DataChoiceType.Item


isSetItem

public boolean isSetItem()

unsetItem

public void unsetItem()

toString

public String toString()
Overrides:
toString in class AbstractDataComponentType

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class AbstractDataComponentType

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class AbstractDataComponentType

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.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class AbstractDataComponentType

equals

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

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class AbstractDataComponentType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractDataComponentType

clone

public Object clone()
Overrides:
clone in class AbstractDataComponentType

copyTo

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

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class AbstractDataComponentType

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
createNewInstance in class AbstractSWEIdentifiableType

mergeFrom

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

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.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
Overrides:
mergeFrom in class AbstractDataComponentType

setItem

public void setItem(List<DataChoiceType.Item> value)

withChoiceValue

public DataChoiceType withChoiceValue(DataChoiceType.ChoiceValue value)

withItem

public DataChoiceType withItem(DataChoiceType.Item... values)

withItem

public DataChoiceType withItem(Collection<DataChoiceType.Item> values)

withItem

public DataChoiceType withItem(List<DataChoiceType.Item> value)

withUpdatable

public DataChoiceType withUpdatable(boolean value)
Overrides:
withUpdatable in class AbstractDataComponentType

withOptional

public DataChoiceType withOptional(boolean value)
Overrides:
withOptional in class AbstractDataComponentType

withDefinition

public DataChoiceType withDefinition(String value)
Overrides:
withDefinition in class AbstractDataComponentType

withIdentifier

public DataChoiceType withIdentifier(String value)
Overrides:
withIdentifier in class AbstractDataComponentType

withLabel

public DataChoiceType withLabel(String value)
Overrides:
withLabel in class AbstractDataComponentType

withDescription

public DataChoiceType withDescription(String value)
Overrides:
withDescription in class AbstractDataComponentType

withExtension

public DataChoiceType withExtension(Object... values)
Overrides:
withExtension in class AbstractDataComponentType

withExtension

public DataChoiceType withExtension(Collection<Object> values)
Overrides:
withExtension in class AbstractDataComponentType

withId

public DataChoiceType withId(String value)
Overrides:
withId in class AbstractDataComponentType

withExtension

public DataChoiceType withExtension(List<Object> value)
Overrides:
withExtension in class AbstractDataComponentType


Copyright © 2008-2015. All Rights Reserved.