Package net.opengis.waterml.v_2_0
Class MeasureTVPType
- java.lang.Object
-
- net.opengis.waterml.v_2_0.TimeValuePairType
-
- net.opengis.waterml.v_2_0.MeasureTVPType
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
public class MeasureTVPType extends TimeValuePairType implements Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Java class for MeasureTVPType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MeasureTVPType"> <complexContent> <extension base="{http://www.opengis.net/waterml/2.0}TimeValuePairType"> <sequence> <element name="value" type="{http://www.opengis.net/waterml/2.0}MeasureType" minOccurs="0"/> <element name="metadata" type="{http://www.opengis.net/waterml/2.0}TVPMeasurementMetadataPropertyType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TVPMeasurementMetadataPropertyTypemetadataprotected jakarta.xml.bind.JAXBElement<MeasureType>value-
Fields inherited from class net.opengis.waterml.v_2_0.TimeValuePairType
time
-
-
Constructor Summary
Constructors Constructor Description MeasureTVPType()Default no-arg constructorMeasureTVPType(TimePositionType time, jakarta.xml.bind.JAXBElement<MeasureType> value, TVPMeasurementMetadataPropertyType metadata)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)StringBuilderappendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)TVPMeasurementMetadataPropertyTypegetMetadata()Gets the value of the metadata property.jakarta.xml.bind.JAXBElement<MeasureType>getValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetMetadata()booleanisSetValue()voidmergeFrom(Object left, Object right)voidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)voidsetMetadata(TVPMeasurementMetadataPropertyType value)Sets the value of the metadata property.voidsetValue(jakarta.xml.bind.JAXBElement<MeasureType> value)Sets the value of the value property.StringtoString()MeasureTVPTypewithMetadata(TVPMeasurementMetadataPropertyType value)MeasureTVPTypewithTime(TimePositionType value)MeasureTVPTypewithValue(jakarta.xml.bind.JAXBElement<MeasureType> value)-
Methods inherited from class net.opengis.waterml.v_2_0.TimeValuePairType
getTime, isSetTime, setTime
-
-
-
-
Field Detail
-
value
protected jakarta.xml.bind.JAXBElement<MeasureType> value
-
metadata
protected TVPMeasurementMetadataPropertyType metadata
-
-
Constructor Detail
-
MeasureTVPType
public MeasureTVPType()
Default no-arg constructor
-
MeasureTVPType
public MeasureTVPType(TimePositionType time, jakarta.xml.bind.JAXBElement<MeasureType> value, TVPMeasurementMetadataPropertyType metadata)
Fully-initialising value constructor
-
-
Method Detail
-
getValue
public jakarta.xml.bind.JAXBElement<MeasureType> getValue()
Gets the value of the value property.- Returns:
- possible object is
JAXBElement<MeasureType>
-
setValue
public void setValue(jakarta.xml.bind.JAXBElement<MeasureType> value)
Sets the value of the value property.- Parameters:
value- allowed object isJAXBElement<MeasureType>
-
isSetValue
public boolean isSetValue()
-
getMetadata
public TVPMeasurementMetadataPropertyType getMetadata()
Gets the value of the metadata property.- Returns:
- possible object is
TVPMeasurementMetadataPropertyType
-
setMetadata
public void setMetadata(TVPMeasurementMetadataPropertyType value)
Sets the value of the metadata property.- Parameters:
value- allowed object isTVPMeasurementMetadataPropertyType
-
isSetMetadata
public boolean isSetMetadata()
-
toString
public String toString()
- Overrides:
toStringin classTimeValuePairType
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendin classTimeValuePairType
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString- Overrides:
appendFieldsin classTimeValuePairType
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals- Overrides:
equalsin classTimeValuePairType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classTimeValuePairType
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode- Overrides:
hashCodein classTimeValuePairType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTimeValuePairType
-
clone
public Object clone()
- Overrides:
clonein classTimeValuePairType
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classTimeValuePairType
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo- Overrides:
copyToin classTimeValuePairType
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
public void mergeFrom(Object left, Object right)
- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classTimeValuePairType
-
mergeFrom
public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy)- Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classTimeValuePairType
-
withValue
public MeasureTVPType withValue(jakarta.xml.bind.JAXBElement<MeasureType> value)
-
withMetadata
public MeasureTVPType withMetadata(TVPMeasurementMetadataPropertyType value)
-
withTime
public MeasureTVPType withTime(TimePositionType value)
- Overrides:
withTimein classTimeValuePairType
-
-