Class TimeseriesMetadataType
- java.lang.Object
-
- net.opengis.waterml.v_2_0.TimeseriesMetadataType
-
- 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:
MeasurementTimeseriesMetadataType
public class TimeseriesMetadataType 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 TimeseriesMetadataType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TimeseriesMetadataType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="temporalExtent" type="{http://www.opengis.net/gml/3.2}TimePeriodPropertyType"/> <element name="baseTime" type="{http://www.opengis.net/gml/3.2}TimePositionType" minOccurs="0"/> <element name="spacing" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/> <element name="commentBlock" type="{http://www.opengis.net/waterml/2.0}CommentBlockPropertyType" maxOccurs="unbounded" minOccurs="0"/> <element name="parameter" type="{http://www.opengis.net/om/2.0}NamedValuePropertyType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TimePositionTypebaseTimeprotected List<CommentBlockPropertyType>commentBlockprotected List<NamedValuePropertyType>parameterprotected Durationspacingprotected TimePeriodPropertyTypetemporalExtent
-
Constructor Summary
Constructors Constructor Description TimeseriesMetadataType()Default no-arg constructorTimeseriesMetadataType(TimePeriodPropertyType temporalExtent, TimePositionType baseTime, Duration spacing, List<CommentBlockPropertyType> commentBlock, List<NamedValuePropertyType> parameter)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)TimePositionTypegetBaseTime()Gets the value of the baseTime property.List<CommentBlockPropertyType>getCommentBlock()Gets the value of the commentBlock property.List<NamedValuePropertyType>getParameter()Gets the value of the parameter property.DurationgetSpacing()Gets the value of the spacing property.TimePeriodPropertyTypegetTemporalExtent()Gets the value of the temporalExtent property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)booleanisSetBaseTime()booleanisSetCommentBlock()booleanisSetParameter()booleanisSetSpacing()booleanisSetTemporalExtent()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)voidsetBaseTime(TimePositionType value)Sets the value of the baseTime property.voidsetCommentBlock(List<CommentBlockPropertyType> value)voidsetParameter(List<NamedValuePropertyType> value)voidsetSpacing(Duration value)Sets the value of the spacing property.voidsetTemporalExtent(TimePeriodPropertyType value)Sets the value of the temporalExtent property.StringtoString()voidunsetCommentBlock()voidunsetParameter()TimeseriesMetadataTypewithBaseTime(TimePositionType value)TimeseriesMetadataTypewithCommentBlock(Collection<CommentBlockPropertyType> values)TimeseriesMetadataTypewithCommentBlock(List<CommentBlockPropertyType> value)TimeseriesMetadataTypewithCommentBlock(CommentBlockPropertyType... values)TimeseriesMetadataTypewithParameter(Collection<NamedValuePropertyType> values)TimeseriesMetadataTypewithParameter(List<NamedValuePropertyType> value)TimeseriesMetadataTypewithParameter(NamedValuePropertyType... values)TimeseriesMetadataTypewithSpacing(Duration value)TimeseriesMetadataTypewithTemporalExtent(TimePeriodPropertyType value)
-
-
-
Field Detail
-
temporalExtent
protected TimePeriodPropertyType temporalExtent
-
baseTime
protected TimePositionType baseTime
-
spacing
protected Duration spacing
-
commentBlock
protected List<CommentBlockPropertyType> commentBlock
-
parameter
protected List<NamedValuePropertyType> parameter
-
-
Constructor Detail
-
TimeseriesMetadataType
public TimeseriesMetadataType()
Default no-arg constructor
-
TimeseriesMetadataType
public TimeseriesMetadataType(TimePeriodPropertyType temporalExtent, TimePositionType baseTime, Duration spacing, List<CommentBlockPropertyType> commentBlock, List<NamedValuePropertyType> parameter)
Fully-initialising value constructor
-
-
Method Detail
-
getTemporalExtent
public TimePeriodPropertyType getTemporalExtent()
Gets the value of the temporalExtent property.- Returns:
- possible object is
TimePeriodPropertyType
-
setTemporalExtent
public void setTemporalExtent(TimePeriodPropertyType value)
Sets the value of the temporalExtent property.- Parameters:
value- allowed object isTimePeriodPropertyType
-
isSetTemporalExtent
public boolean isSetTemporalExtent()
-
getBaseTime
public TimePositionType getBaseTime()
Gets the value of the baseTime property.- Returns:
- possible object is
TimePositionType
-
setBaseTime
public void setBaseTime(TimePositionType value)
Sets the value of the baseTime property.- Parameters:
value- allowed object isTimePositionType
-
isSetBaseTime
public boolean isSetBaseTime()
-
getSpacing
public Duration getSpacing()
Gets the value of the spacing property.- Returns:
- possible object is
Duration
-
setSpacing
public void setSpacing(Duration value)
Sets the value of the spacing property.- Parameters:
value- allowed object isDuration
-
isSetSpacing
public boolean isSetSpacing()
-
getCommentBlock
public List<CommentBlockPropertyType> getCommentBlock()
Gets the value of the commentBlock 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 commentBlock property.For example, to add a new item, do as follows:
getCommentBlock().add(newItem);Objects of the following type(s) are allowed in the list
CommentBlockPropertyType
-
isSetCommentBlock
public boolean isSetCommentBlock()
-
unsetCommentBlock
public void unsetCommentBlock()
-
getParameter
public List<NamedValuePropertyType> getParameter()
Gets the value of the parameter 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 parameter property.For example, to add a new item, do as follows:
getParameter().add(newItem);Objects of the following type(s) are allowed in the list
NamedValuePropertyType
-
isSetParameter
public boolean isSetParameter()
-
unsetParameter
public void unsetParameter()
-
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
-
setCommentBlock
public void setCommentBlock(List<CommentBlockPropertyType> value)
-
setParameter
public void setParameter(List<NamedValuePropertyType> value)
-
withTemporalExtent
public TimeseriesMetadataType withTemporalExtent(TimePeriodPropertyType value)
-
withBaseTime
public TimeseriesMetadataType withBaseTime(TimePositionType value)
-
withSpacing
public TimeseriesMetadataType withSpacing(Duration value)
-
withCommentBlock
public TimeseriesMetadataType withCommentBlock(CommentBlockPropertyType... values)
-
withCommentBlock
public TimeseriesMetadataType withCommentBlock(Collection<CommentBlockPropertyType> values)
-
withParameter
public TimeseriesMetadataType withParameter(NamedValuePropertyType... values)
-
withParameter
public TimeseriesMetadataType withParameter(Collection<NamedValuePropertyType> values)
-
withCommentBlock
public TimeseriesMetadataType withCommentBlock(List<CommentBlockPropertyType> value)
-
withParameter
public TimeseriesMetadataType withParameter(List<NamedValuePropertyType> value)
-
-