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 TypeMethodDescriptionvoid
addCoordinateAsCount
(String name, Count coordinate) Adds a new coordinateAsCount propertyvoid
addCoordinateAsQuantity
(String name, Quantity coordinate) Adds a new coordinateAsQuantity propertyvoid
addCoordinateAsTime
(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 typeint
Returns number of coordinate propertiesvoid
setDataType
(DataType type) Sets the component data typeMethods inherited from interface net.opengis.swe.v20.AbstractSWE
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
Methods inherited from interface net.opengis.swe.v20.AbstractSWEIdentifiable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
Methods 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, validateData
Methods inherited from interface net.opengis.swe.v20.HasRefFrames
getLocalFrame, getReferenceFrame, isSetLocalFrame, isSetReferenceFrame, setLocalFrame, setReferenceFrame
-
Method Details
-
copy
Vector copy()Description copied from interface:DataComponent
Return a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)- Specified by:
copy
in interfaceDataComponent
- Specified by:
copy
in 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
-