Package org.n52.shetland.ogc.swe
Class SweVector
- java.lang.Object
-
- org.n52.shetland.ogc.swe.SweAbstractDataComponent
-
- org.n52.shetland.ogc.swe.SweVector
-
- All Implemented Interfaces:
Copyable<SweAbstractDataComponent>,HasDefaultEncoding<SweAbstractDataComponent>
public class SweVector extends SweAbstractDataComponent
- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description SweVector()SweVector(List<? extends SweCoordinate<? extends Number>> coordinates)SweVector(SweCoordinate<? extends Number>... coordinates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,X extends Throwable>
Taccept(SweDataComponentVisitor<T,X> visitor)<X extends Throwable>
voidaccept(VoidSweDataComponentVisitor<X> visitor)SweVectorcopy()SweAbstractDataComponentcopyValueTo(SweAbstractDataComponent copy)Copies all values from thisSweAbstractDataComponentto the passedbooleanequals(Object obj)List<? extends SweCoordinate<? extends Number>>getCoordinates()SweConstants.SweDataComponentTypegetDataComponentType()StringgetLocalFrame()StringgetReferenceFrame()inthashCode()booleanisSetCoordinates()booleanisSetLocalFrame()booleanisSetReferenceFrame()SweVectorsetCoordinates(List<? extends SweCoordinate<? extends Number>> coordinates)voidsetLocalFrame(String localFrame)voidsetReferenceFrame(String referenceFrame)StringtoString()-
Methods inherited from class org.n52.shetland.ogc.swe.SweAbstractDataComponent
addName, addName, addName, getDefaultElementEncoding, getDefinition, getDescription, getIdentifier, getLabel, getName, getNames, getXml, isSetDefinition, isSetDescription, isSetIdentifier, isSetLabel, isSetName, isSetNames, isSetXml, setDefaultElementEncoding, setDefinition, setDescription, setIdentifier, setLabel, setName, setName, setName, setXml
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.n52.shetland.ogc.HasDefaultEncoding
isSetDefaultElementEncoding
-
-
-
-
Constructor Detail
-
SweVector
public SweVector(List<? extends SweCoordinate<? extends Number>> coordinates)
-
SweVector
@SafeVarargs public SweVector(SweCoordinate<? extends Number>... coordinates)
-
SweVector
public SweVector()
-
-
Method Detail
-
getCoordinates
public List<? extends SweCoordinate<? extends Number>> getCoordinates()
-
setCoordinates
public SweVector setCoordinates(List<? extends SweCoordinate<? extends Number>> coordinates)
-
isSetCoordinates
public boolean isSetCoordinates()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSweAbstractDataComponent
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classSweAbstractDataComponent
-
getDataComponentType
public SweConstants.SweDataComponentType getDataComponentType()
- Specified by:
getDataComponentTypein classSweAbstractDataComponent
-
setReferenceFrame
public void setReferenceFrame(String referenceFrame)
-
getReferenceFrame
public String getReferenceFrame()
-
isSetReferenceFrame
public boolean isSetReferenceFrame()
-
setLocalFrame
public void setLocalFrame(String localFrame)
-
getLocalFrame
public String getLocalFrame()
-
isSetLocalFrame
public boolean isSetLocalFrame()
-
accept
public <T,X extends Throwable> T accept(SweDataComponentVisitor<T,X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
accept
public <X extends Throwable> void accept(VoidSweDataComponentVisitor<X> visitor) throws X extends Throwable
- Specified by:
acceptin classSweAbstractDataComponent- Throws:
X extends Throwable
-
copy
public SweVector copy()
-
copyValueTo
public SweAbstractDataComponent copyValueTo(SweAbstractDataComponent copy)
Description copied from class:SweAbstractDataComponentCopies all values from thisSweAbstractDataComponentto the passed- Overrides:
copyValueToin classSweAbstractDataComponent- Parameters:
copy-SweAbstractDataComponentto copy values to- Returns:
- Copy of this
-
-