Class TVPMetadataType
- java.lang.Object
-
- net.opengis.waterml.v_2_0.TVPMetadataType
-
- 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
- Direct Known Subclasses:
DefaultCategoricalTVPMetadataType,TVPMeasurementMetadataType
public class TVPMetadataType extends Object 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 TVPMetadataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TVPMetadataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="quality" type="{http://www.opengis.net/gml/3.2}ReferenceType" minOccurs="0"/> <element name="nilReason" type="{http://www.opengis.net/gml/3.2}ReferenceType" minOccurs="0"/> <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="relatedObservation" type="{http://www.opengis.net/om/2.0}ObservationContextPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="qualifier" type="{http://www.opengis.net/swe/2.0}QualityPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="processing" type="{http://www.opengis.net/gml/3.2}ReferenceType" minOccurs="0"/> <element name="source" type="{http://www.opengis.net/gml/3.2}ReferenceType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected ReferenceTypenilReasonprotected ReferenceTypeprocessingprotected List<QualityPropertyType>qualifierprotected ReferenceTypequalityprotected List<ObservationContextPropertyType>relatedObservationprotected ReferenceTypesource
-
Constructor Summary
Constructors Constructor Description TVPMetadataType()Default no-arg constructorTVPMetadataType(ReferenceType quality, ReferenceType nilReason, String comment, List<ObservationContextPropertyType> relatedObservation, List<QualityPropertyType> qualifier, ReferenceType processing, ReferenceType source)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)StringgetComment()Gets the value of the comment property.ReferenceTypegetNilReason()Gets the value of the nilReason property.ReferenceTypegetProcessing()Gets the value of the processing property.List<QualityPropertyType>getQualifier()Gets the value of the qualifier property.ReferenceTypegetQuality()Gets the value of the quality property.List<ObservationContextPropertyType>getRelatedObservation()Gets the value of the relatedObservation property.ReferenceTypegetSource()Gets the value of the source property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetComment()booleanisSetNilReason()booleanisSetProcessing()booleanisSetQualifier()booleanisSetQuality()booleanisSetRelatedObservation()booleanisSetSource()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)voidsetComment(String value)Sets the value of the comment property.voidsetNilReason(ReferenceType value)Sets the value of the nilReason property.voidsetProcessing(ReferenceType value)Sets the value of the processing property.voidsetQualifier(List<QualityPropertyType> value)voidsetQuality(ReferenceType value)Sets the value of the quality property.voidsetRelatedObservation(List<ObservationContextPropertyType> value)voidsetSource(ReferenceType value)Sets the value of the source property.StringtoString()voidunsetQualifier()voidunsetRelatedObservation()TVPMetadataTypewithComment(String value)TVPMetadataTypewithNilReason(ReferenceType value)TVPMetadataTypewithProcessing(ReferenceType value)TVPMetadataTypewithQualifier(Collection<QualityPropertyType> values)TVPMetadataTypewithQualifier(List<QualityPropertyType> value)TVPMetadataTypewithQualifier(QualityPropertyType... values)TVPMetadataTypewithQuality(ReferenceType value)TVPMetadataTypewithRelatedObservation(Collection<ObservationContextPropertyType> values)TVPMetadataTypewithRelatedObservation(List<ObservationContextPropertyType> value)TVPMetadataTypewithRelatedObservation(ObservationContextPropertyType... values)TVPMetadataTypewithSource(ReferenceType value)
-
-
-
Field Detail
-
quality
protected ReferenceType quality
-
nilReason
protected ReferenceType nilReason
-
comment
protected String comment
-
relatedObservation
protected List<ObservationContextPropertyType> relatedObservation
-
qualifier
protected List<QualityPropertyType> qualifier
-
processing
protected ReferenceType processing
-
source
protected ReferenceType source
-
-
Constructor Detail
-
TVPMetadataType
public TVPMetadataType()
Default no-arg constructor
-
TVPMetadataType
public TVPMetadataType(ReferenceType quality, ReferenceType nilReason, String comment, List<ObservationContextPropertyType> relatedObservation, List<QualityPropertyType> qualifier, ReferenceType processing, ReferenceType source)
Fully-initialising value constructor
-
-
Method Detail
-
getQuality
public ReferenceType getQuality()
Gets the value of the quality property.- Returns:
- possible object is
ReferenceType
-
setQuality
public void setQuality(ReferenceType value)
Sets the value of the quality property.- Parameters:
value- allowed object isReferenceType
-
isSetQuality
public boolean isSetQuality()
-
getNilReason
public ReferenceType getNilReason()
Gets the value of the nilReason property.- Returns:
- possible object is
ReferenceType
-
setNilReason
public void setNilReason(ReferenceType value)
Sets the value of the nilReason property.- Parameters:
value- allowed object isReferenceType
-
isSetNilReason
public boolean isSetNilReason()
-
getComment
public String getComment()
Gets the value of the comment property.- Returns:
- possible object is
String
-
setComment
public void setComment(String value)
Sets the value of the comment property.- Parameters:
value- allowed object isString
-
isSetComment
public boolean isSetComment()
-
getRelatedObservation
public List<ObservationContextPropertyType> getRelatedObservation()
Gets the value of the relatedObservation 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 Jakarta XML Binding object. This is why there is not a
setmethod for the relatedObservation property.For example, to add a new item, do as follows:
getRelatedObservation().add(newItem);Objects of the following type(s) are allowed in the list
ObservationContextPropertyType
-
isSetRelatedObservation
public boolean isSetRelatedObservation()
-
unsetRelatedObservation
public void unsetRelatedObservation()
-
getQualifier
public List<QualityPropertyType> getQualifier()
Gets the value of the qualifier 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 Jakarta XML Binding object. This is why there is not a
setmethod for the qualifier property.For example, to add a new item, do as follows:
getQualifier().add(newItem);Objects of the following type(s) are allowed in the list
QualityPropertyType
-
isSetQualifier
public boolean isSetQualifier()
-
unsetQualifier
public void unsetQualifier()
-
getProcessing
public ReferenceType getProcessing()
Gets the value of the processing property.- Returns:
- possible object is
ReferenceType
-
setProcessing
public void setProcessing(ReferenceType value)
Sets the value of the processing property.- Parameters:
value- allowed object isReferenceType
-
isSetProcessing
public boolean isSetProcessing()
-
getSource
public ReferenceType getSource()
Gets the value of the source property.- Returns:
- possible object is
ReferenceType
-
setSource
public void setSource(ReferenceType value)
Sets the value of the source property.- Parameters:
value- allowed object isReferenceType
-
isSetSource
public boolean isSetSource()
-
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
-
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
-
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
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
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
-
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
-
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
-
setRelatedObservation
public void setRelatedObservation(List<ObservationContextPropertyType> value)
-
setQualifier
public void setQualifier(List<QualityPropertyType> value)
-
withQuality
public TVPMetadataType withQuality(ReferenceType value)
-
withNilReason
public TVPMetadataType withNilReason(ReferenceType value)
-
withComment
public TVPMetadataType withComment(String value)
-
withRelatedObservation
public TVPMetadataType withRelatedObservation(ObservationContextPropertyType... values)
-
withRelatedObservation
public TVPMetadataType withRelatedObservation(Collection<ObservationContextPropertyType> values)
-
withQualifier
public TVPMetadataType withQualifier(QualityPropertyType... values)
-
withQualifier
public TVPMetadataType withQualifier(Collection<QualityPropertyType> values)
-
withProcessing
public TVPMetadataType withProcessing(ReferenceType value)
-
withSource
public TVPMetadataType withSource(ReferenceType value)
-
withRelatedObservation
public TVPMetadataType withRelatedObservation(List<ObservationContextPropertyType> value)
-
withQualifier
public TVPMetadataType withQualifier(List<QualityPropertyType> value)
-
-