net.opengis.swecommon.v_2_0
Class QuantityType

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.AbstractSimpleComponentType
                  extended by net.opengis.swecommon.v_2_0.QuantityType
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 QuantityType
extends AbstractSimpleComponentType
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 QuantityType complex type.

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

 <complexType name="QuantityType">
   <complexContent>
     <extension base="{http://www.opengis.net/swe/2.0}AbstractSimpleComponentType">
       <sequence>
         <element name="uom" type="{http://www.opengis.net/swe/2.0}UnitReference"/>
         <element name="constraint" type="{http://www.opengis.net/swe/2.0}AllowedValuesPropertyType" minOccurs="0"/>
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  AllowedValuesPropertyType constraint
           
protected  UnitReference uom
           
protected  Double value
           
 
Fields inherited from class net.opengis.swecommon.v_2_0.AbstractSimpleComponentType
axisID, nilValues, quality, referenceFrame
 
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
QuantityType()
           
 
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)
           
 AllowedValuesPropertyType getConstraint()
          Gets the value of the constraint property.
 UnitReference getUom()
          Gets the value of the uom property.
 Double getValue()
          Gets the value of the value property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetConstraint()
           
 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.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setConstraint(AllowedValuesPropertyType value)
          Sets the value of the constraint property.
 void setUom(UnitReference value)
          Sets the value of the uom property.
 void setValue(Double value)
          Sets the value of the value property.
 String toString()
           
 QuantityType withAxisID(String value)
           
 QuantityType withConstraint(AllowedValuesPropertyType value)
           
 QuantityType withDefinition(String value)
           
 QuantityType withDescription(String value)
           
 QuantityType withExtension(Collection<Object> values)
           
 QuantityType withExtension(List<Object> value)
           
 QuantityType withExtension(Object... values)
           
 QuantityType withId(String value)
           
 QuantityType withIdentifier(String value)
           
 QuantityType withLabel(String value)
           
 QuantityType withNilValues(NilValuesPropertyType value)
           
 QuantityType withOptional(boolean value)
           
 QuantityType withQuality(Collection<QualityPropertyType> values)
           
 QuantityType withQuality(List<QualityPropertyType> value)
           
 QuantityType withQuality(QualityPropertyType... values)
           
 QuantityType withReferenceFrame(String value)
           
 QuantityType withUom(UnitReference value)
           
 QuantityType withUpdatable(boolean value)
           
 QuantityType withValue(Double value)
           
 
Methods inherited from class net.opengis.swecommon.v_2_0.AbstractSimpleComponentType
getAxisID, getNilValues, getQuality, getReferenceFrame, isSetAxisID, isSetNilValues, isSetQuality, isSetReferenceFrame, setAxisID, setNilValues, setQuality, setReferenceFrame, unsetQuality
 
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

uom

protected UnitReference uom

constraint

protected AllowedValuesPropertyType constraint

value

protected Double value
Constructor Detail

QuantityType

public QuantityType()
Method Detail

getUom

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

Returns:
possible object is UnitReference

setUom

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

Parameters:
value - allowed object is UnitReference

isSetUom

public boolean isSetUom()

getConstraint

public AllowedValuesPropertyType getConstraint()
Gets the value of the constraint property.

Returns:
possible object is AllowedValuesPropertyType

setConstraint

public void setConstraint(AllowedValuesPropertyType value)
Sets the value of the constraint property.

Parameters:
value - allowed object is AllowedValuesPropertyType

isSetConstraint

public boolean isSetConstraint()

getValue

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

Returns:
possible object is Double

setValue

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

Parameters:
value - allowed object is Double

isSetValue

public boolean isSetValue()

toString

public String toString()
Overrides:
toString in class AbstractSimpleComponentType

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 AbstractSimpleComponentType

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 AbstractSimpleComponentType

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 AbstractSimpleComponentType

equals

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

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 AbstractSimpleComponentType

hashCode

public int hashCode()
Overrides:
hashCode in class AbstractSimpleComponentType

clone

public Object clone()
Overrides:
clone in class AbstractSimpleComponentType

copyTo

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

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 AbstractSimpleComponentType

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 AbstractSimpleComponentType

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 AbstractSimpleComponentType

withUom

public QuantityType withUom(UnitReference value)

withConstraint

public QuantityType withConstraint(AllowedValuesPropertyType value)

withValue

public QuantityType withValue(Double value)

withQuality

public QuantityType withQuality(QualityPropertyType... values)
Overrides:
withQuality in class AbstractSimpleComponentType

withQuality

public QuantityType withQuality(Collection<QualityPropertyType> values)
Overrides:
withQuality in class AbstractSimpleComponentType

withNilValues

public QuantityType withNilValues(NilValuesPropertyType value)
Overrides:
withNilValues in class AbstractSimpleComponentType

withReferenceFrame

public QuantityType withReferenceFrame(String value)
Overrides:
withReferenceFrame in class AbstractSimpleComponentType

withAxisID

public QuantityType withAxisID(String value)
Overrides:
withAxisID in class AbstractSimpleComponentType

withQuality

public QuantityType withQuality(List<QualityPropertyType> value)
Overrides:
withQuality in class AbstractSimpleComponentType

withUpdatable

public QuantityType withUpdatable(boolean value)
Overrides:
withUpdatable in class AbstractSimpleComponentType

withOptional

public QuantityType withOptional(boolean value)
Overrides:
withOptional in class AbstractSimpleComponentType

withDefinition

public QuantityType withDefinition(String value)
Overrides:
withDefinition in class AbstractSimpleComponentType

withIdentifier

public QuantityType withIdentifier(String value)
Overrides:
withIdentifier in class AbstractSimpleComponentType

withLabel

public QuantityType withLabel(String value)
Overrides:
withLabel in class AbstractSimpleComponentType

withDescription

public QuantityType withDescription(String value)
Overrides:
withDescription in class AbstractSimpleComponentType

withExtension

public QuantityType withExtension(Object... values)
Overrides:
withExtension in class AbstractSimpleComponentType

withExtension

public QuantityType withExtension(Collection<Object> values)
Overrides:
withExtension in class AbstractSimpleComponentType

withId

public QuantityType withId(String value)
Overrides:
withId in class AbstractSimpleComponentType

withExtension

public QuantityType withExtension(List<Object> value)
Overrides:
withExtension in class AbstractSimpleComponentType


Copyright © 2008-2015. All Rights Reserved.