Package org.n52.shetland.ogc.om.values
Class TrajectoryValue
- java.lang.Object
-
- org.n52.shetland.ogc.gml.AbstractGML
-
- org.n52.shetland.ogc.gml.AbstractFeature
-
- org.n52.shetland.ogc.om.values.TrajectoryValue
-
- All Implemented Interfaces:
HasDefaultEncoding<AbstractFeature>,Value<List<TrajectoryElement>>
public class TrajectoryValue extends AbstractFeature implements Value<List<TrajectoryElement>>
-
-
Constructor Summary
Constructors Constructor Description TrajectoryValue(String identifier)TrajectoryValue(CodeWithAuthority identifier)TrajectoryValue(CodeWithAuthority identifier, String gmlId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <X,E extends Exception>
Xaccept(ValueVisitor<X,E> visitor)TrajectoryValueaddValue(TrajectoryElement value)TrajectoryValueaddValues(Collection<TrajectoryElement> value)SweDataRecordasDataRecord()org.locationtech.jts.geom.GeometrygetGeometry()TimegetPhenomenonTime()StringgetUnit()Get the unit of measureUoMgetUnitObject()Get the unit of measure objectList<TrajectoryElement>getValue()Get the measurement valuebooleanisSetGeometry()booleanisSetPhenomenonTime()voidsetUnit(String unit)Set the unit of measureValue<List<TrajectoryElement>>setUnit(UoM unit)Set the unit of measure objectTrajectoryValuesetValue(List<TrajectoryElement> value)Set the measurment value-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractFeature
accept, copyTo, getDefaultElementEncoding, getXml, isEncoded, isSetDefaultElementEncoding, isSetXml, setDefaultElementEncoding, setXml, wasEncoded
-
Methods inherited from class org.n52.shetland.ogc.gml.AbstractGML
addMetaDataProperty, addMetaDataProperty, addName, addName, addName, copyTo, equals, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getMetaDataProperty, getName, getOriginalIdentifier, getOriginalIdentifierCodeWithAuthority, hashCode, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetMetaDataProperty, isSetName, isSetOriginalIdentifier, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setMetaDataProperty, setName, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.om.values.Value
isSetUnit, isSetValue
-
-
-
-
Constructor Detail
-
TrajectoryValue
public TrajectoryValue(String identifier)
-
TrajectoryValue
public TrajectoryValue(CodeWithAuthority identifier)
-
TrajectoryValue
public TrajectoryValue(CodeWithAuthority identifier, String gmlId)
-
-
Method Detail
-
setValue
public TrajectoryValue setValue(List<TrajectoryElement> value)
Description copied from interface:ValueSet the measurment value- Specified by:
setValuein interfaceValue<List<TrajectoryElement>>- Parameters:
value- Value to set
-
addValue
public TrajectoryValue addValue(TrajectoryElement value)
-
addValues
public TrajectoryValue addValues(Collection<TrajectoryElement> value)
-
getValue
public List<TrajectoryElement> getValue()
Description copied from interface:ValueGet the measurement value- Specified by:
getValuein interfaceValue<List<TrajectoryElement>>- Returns:
- Measurement value
-
setUnit
public void setUnit(String unit)
Description copied from interface:ValueSet the unit of measure- Specified by:
setUnitin interfaceValue<List<TrajectoryElement>>- Parameters:
unit- Unit of measure
-
setUnit
public Value<List<TrajectoryElement>> setUnit(UoM unit)
Description copied from interface:ValueSet the unit of measure object- Specified by:
setUnitin interfaceValue<List<TrajectoryElement>>- Parameters:
unit- Unit of measure
-
getUnitObject
public UoM getUnitObject()
Description copied from interface:ValueGet the unit of measure object- Specified by:
getUnitObjectin interfaceValue<List<TrajectoryElement>>- Returns:
- Unit of measure
-
getUnit
public String getUnit()
Description copied from interface:ValueGet the unit of measure- Specified by:
getUnitin interfaceValue<List<TrajectoryElement>>- Returns:
- Unit of measure
-
accept
public <X,E extends Exception> X accept(ValueVisitor<X,E> visitor) throws E extends Exception
- Specified by:
acceptin interfaceValue<List<TrajectoryElement>>- Throws:
E extends Exception
-
isSetPhenomenonTime
public boolean isSetPhenomenonTime()
-
getPhenomenonTime
public Time getPhenomenonTime()
-
isSetGeometry
public boolean isSetGeometry()
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
-
asDataRecord
public SweDataRecord asDataRecord()
-
-