net.opengis.swecommon.v_2_0
Class TimeRangeType

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

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

 <complexType name="TimeRangeType">
   <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}AllowedTimesPropertyType" minOccurs="0"/>
         <element name="value" type="{http://www.opengis.net/swe/2.0}TimePair" minOccurs="0"/>
       </sequence>
       <attribute name="referenceTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="localFrame" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  AllowedTimesPropertyType constraint
           
protected  String localFrame
           
protected  XMLGregorianCalendar referenceTime
           
protected  UnitReference uom
           
protected  List<String> 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
TimeRangeType()
           
 
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)
           
 AllowedTimesPropertyType getConstraint()
          Gets the value of the constraint property.
 String getLocalFrame()
          Gets the value of the localFrame property.
 XMLGregorianCalendar getReferenceTime()
          Gets the value of the referenceTime property.
 UnitReference getUom()
          Gets the value of the uom property.
 List<String> 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 isSetLocalFrame()
           
 boolean isSetReferenceTime()
           
 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(AllowedTimesPropertyType value)
          Sets the value of the constraint property.
 void setLocalFrame(String value)
          Sets the value of the localFrame property.
 void setReferenceTime(XMLGregorianCalendar value)
          Sets the value of the referenceTime property.
 void setUom(UnitReference value)
          Sets the value of the uom property.
 void setValue(List<String> value)
           
 String toString()
           
 void unsetValue()
           
 TimeRangeType withAxisID(String value)
           
 TimeRangeType withConstraint(AllowedTimesPropertyType value)
           
 TimeRangeType withDefinition(String value)
           
 TimeRangeType withDescription(String value)
           
 TimeRangeType withExtension(Collection<Object> values)
           
 TimeRangeType withExtension(List<Object> value)
           
 TimeRangeType withExtension(Object... values)
           
 TimeRangeType withId(String value)
           
 TimeRangeType withIdentifier(String value)
           
 TimeRangeType withLabel(String value)
           
 TimeRangeType withLocalFrame(String value)
           
 TimeRangeType withNilValues(NilValuesPropertyType value)
           
 TimeRangeType withOptional(boolean value)
           
 TimeRangeType withQuality(Collection<QualityPropertyType> values)
           
 TimeRangeType withQuality(List<QualityPropertyType> value)
           
 TimeRangeType withQuality(QualityPropertyType... values)
           
 TimeRangeType withReferenceFrame(String value)
           
 TimeRangeType withReferenceTime(XMLGregorianCalendar value)
           
 TimeRangeType withUom(UnitReference value)
           
 TimeRangeType withUpdatable(boolean value)
           
 TimeRangeType withValue(Collection<String> values)
           
 TimeRangeType withValue(List<String> value)
           
 TimeRangeType withValue(String... values)
           
 
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 AllowedTimesPropertyType constraint

value

protected List<String> value

referenceTime

protected XMLGregorianCalendar referenceTime

localFrame

protected String localFrame
Constructor Detail

TimeRangeType

public TimeRangeType()
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 AllowedTimesPropertyType getConstraint()
Gets the value of the constraint property.

Returns:
possible object is AllowedTimesPropertyType

setConstraint

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

Parameters:
value - allowed object is AllowedTimesPropertyType

isSetConstraint

public boolean isSetConstraint()

getValue

public List<String> 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 String


isSetValue

public boolean isSetValue()

unsetValue

public void unsetValue()

getReferenceTime

public XMLGregorianCalendar getReferenceTime()
Gets the value of the referenceTime property.

Returns:
possible object is XMLGregorianCalendar

setReferenceTime

public void setReferenceTime(XMLGregorianCalendar value)
Sets the value of the referenceTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetReferenceTime

public boolean isSetReferenceTime()

getLocalFrame

public String getLocalFrame()
Gets the value of the localFrame property.

Returns:
possible object is String

setLocalFrame

public void setLocalFrame(String value)
Sets the value of the localFrame property.

Parameters:
value - allowed object is String

isSetLocalFrame

public boolean isSetLocalFrame()

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<String> value)

withUom

public TimeRangeType withUom(UnitReference value)

withConstraint

public TimeRangeType withConstraint(AllowedTimesPropertyType value)

withValue

public TimeRangeType withValue(String... values)

withValue

public TimeRangeType withValue(Collection<String> values)

withReferenceTime

public TimeRangeType withReferenceTime(XMLGregorianCalendar value)

withLocalFrame

public TimeRangeType withLocalFrame(String value)

withValue

public TimeRangeType withValue(List<String> value)

withQuality

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

withQuality

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

withNilValues

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

withReferenceFrame

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

withAxisID

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

withQuality

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

withUpdatable

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

withOptional

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

withDefinition

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

withIdentifier

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

withLabel

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

withDescription

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

withExtension

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

withExtension

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

withId

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

withExtension

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


Copyright © 2008-2015. All Rights Reserved.