Class SmlPosition
java.lang.Object
org.n52.shetland.ogc.swe.SweAbstractDataComponent
org.n52.shetland.ogc.sensorML.elements.SmlPosition
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
SOS internal representation of SensorML position
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorSmlPosition(String name, boolean fixed, String referenceFrame, List<SweCoordinate<? extends Number>> position) constructorSmlPosition(CodeType name, boolean fixed, String referenceFrame, List<SweCoordinate<? extends Number>> position) constructor -
Method Summary
Modifier and TypeMethodDescription<T,X extends Throwable>
Taccept(SweDataComponentVisitor<T, X> visitor) <X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor) copy()Copies all values from thisSweAbstractDataComponentto the passedList<? extends SweCoordinate<? extends Number>> booleanisFixed()booleanbooleanbooleanbooleansetAbstractDataComponent(SweAbstractDataComponent dataComponent) setFixed(boolean fixed) setPosition(List<? extends SweCoordinate<? extends Number>> position) setReferenceFrame(String referenceFrame) Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, equals, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, hashCode, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXmlMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
Constructor Details
-
SmlPosition
public SmlPosition()default constructor -
SmlPosition
public SmlPosition(String name, boolean fixed, String referenceFrame, List<SweCoordinate<? extends Number>> position) constructor- Parameters:
name- Position namefixed- is fixedreferenceFrame- Position reference frameposition- Position coordinates
-
SmlPosition
public SmlPosition(CodeType name, boolean fixed, String referenceFrame, List<SweCoordinate<? extends Number>> position) constructor- Parameters:
name- Position namefixed- is fixedreferenceFrame- Position reference frameposition- Position coordinates
-
-
Method Details
-
isFixed
public boolean isFixed()- Returns:
- the fixed
-
setFixed
- Parameters:
fixed- the fixed to set- Returns:
- This object
-
getReferenceFrame
- Returns:
- the referenceFrame
-
setReferenceFrame
- Parameters:
referenceFrame- the referenceFrame to set- Returns:
- This object
-
isSetReferenceFrame
public boolean isSetReferenceFrame() -
getPosition
- Returns:
- the position
-
setPosition
- Parameters:
position- the position to set- Returns:
- This object
-
isSetPosition
public boolean isSetPosition() -
getVector
-
setVector
-
isSetVector
public boolean isSetVector() -
getAbstractDataComponent
-
setAbstractDataComponent
-
isSetAbstractDataComponent
public boolean isSetAbstractDataComponent() -
getDataComponentType
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
accept
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X
-
copy
-
copyValueTo
Description copied from class:SweAbstractDataComponentCopies all values from thisSweAbstractDataComponentto the passed- Overrides:
copyValueToin classSweAbstractDataComponent- Parameters:
copy-SweAbstractDataComponentto copy values to- Returns:
- Copy of this
-