Package net.opengis.swe.v20
Interface Vector
- All Superinterfaces:
AbstractSWE,AbstractSWEIdentifiable,DataComponent,HasCopy,HasRefFrames,Serializable
- All Known Implementing Classes:
VectorImpl
POJO class for XML type VectorType(@http://www.opengis.net/swe/2.0).
This is a complex type.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCoordinateAsCount(String name, Count coordinate) Adds a new coordinateAsCount propertyvoidaddCoordinateAsQuantity(String name, Quantity coordinate) Adds a new coordinateAsQuantity propertyvoidaddCoordinateAsTime(String name, Time coordinate) Adds a new coordinateAsTime propertycopy()Return a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)getCoordinate(String name) Gets the coordinate property with the given nameGets the list of coordinate propertiesGets the component data typeintReturns number of coordinate propertiesvoidsetDataType(DataType type) Sets the component data typeMethods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from interface net.opengis.swe.v20.AbstractSWEIdentifiable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabelMethods inherited from interface net.opengis.swe.v20.DataComponent
accept, addComponent, assignNewDataBlock, clearData, clone, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateDataMethods inherited from interface net.opengis.swe.v20.HasRefFrames
getLocalFrame, getReferenceFrame, isSetLocalFrame, isSetReferenceFrame, setLocalFrame, setReferenceFrame
-
Method Details
-
copy
Vector copy()Description copied from interface:DataComponentReturn a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)- Specified by:
copyin interfaceDataComponent- Specified by:
copyin interfaceHasCopy- Returns:
- copy of this component, including sub-components
-
getCoordinateList
OgcPropertyList<ScalarComponent> getCoordinateList()Gets the list of coordinate properties -
getNumCoordinates
int getNumCoordinates()Returns number of coordinate properties -
getCoordinate
Gets the coordinate property with the given name -
addCoordinateAsCount
Adds a new coordinateAsCount property -
addCoordinateAsQuantity
Adds a new coordinateAsQuantity property -
addCoordinateAsTime
Adds a new coordinateAsTime property -
getDataType
DataType getDataType()Gets the component data type -
setDataType
Sets the component data type
-