net.opengis.swecommon.v_2_0
Class QuantityRangeType

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.QuantityRangeType
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 QuantityRangeType
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 QuantityRangeType complex type.

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

 <complexType name="QuantityRangeType">
   <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.opengis.net/swe/2.0}RealPair" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  AllowedValuesPropertyType constraint
           
protected  UnitReference uom
           
protected  List<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
QuantityRangeType()
           
 
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.
 List<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(List<Double> value)
           
 String toString()
           
 void unsetValue()
           
 QuantityRangeType withAxisID(String value)
           
 QuantityRangeType withConstraint(AllowedValuesPropertyType value)
           
 QuantityRangeType withDefinition(String value)
           
 QuantityRangeType withDescription(String value)
           
 QuantityRangeType withExtension(Collection<Object> values)
           
 QuantityRangeType withExtension(List<Object> value)
           
 QuantityRangeType withExtension(Object... values)
           
 QuantityRangeType withId(String value)
           
 QuantityRangeType withIdentifier(String value)
           
 QuantityRangeType withLabel(String value)
           
 QuantityRangeType withNilValues(NilValuesPropertyType value)
           
 QuantityRangeType withOptional(boolean value)
           
 QuantityRangeType withQuality(Collection<QualityPropertyType> values)
           
 QuantityRangeType withQuality(List<QualityPropertyType> value)
           
 QuantityRangeType withQuality(QualityPropertyType... values)
           
 QuantityRangeType withReferenceFrame(String value)
           
 QuantityRangeType withUom(UnitReference value)
           
 QuantityRangeType withUpdatable(boolean value)
           
 QuantityRangeType withValue(Collection<Double> values)
           
 QuantityRangeType withValue(Double... values)
           
 QuantityRangeType withValue(List<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 List<Double> value
Constructor Detail

QuantityRangeType

public QuantityRangeType()
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 List<Double> getValue()
Gets the value of the value 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 value property.

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

    getValue().add(newItem);
 

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


isSetValue

public boolean isSetValue()

unsetValue

public void unsetValue()

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

setValue

public void setValue(List<Double> value)

withUom

public QuantityRangeType withUom(UnitReference value)

withConstraint

public QuantityRangeType withConstraint(AllowedValuesPropertyType value)

withValue

public QuantityRangeType withValue(Double... values)

withValue

public QuantityRangeType withValue(Collection<Double> values)

withValue

public QuantityRangeType withValue(List<Double> value)

withQuality

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

withQuality

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

withNilValues

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

withReferenceFrame

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

withAxisID

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

withQuality

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

withUpdatable

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

withOptional

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

withDefinition

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

withIdentifier

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

withLabel

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

withDescription

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

withExtension

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

withExtension

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

withId

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

withExtension

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


Copyright © 2008-2015. All Rights Reserved.