Package org.vast.data
Class MatrixImpl
- All Implemented Interfaces:
Serializable
,HasCopy
,AbstractSWE
,AbstractSWEIdentifiable
,BlockComponent
,DataArray
,DataComponent
,HasRefFrames
,Matrix
POJO class for XML type MatrixType(@http://www.opengis.net/swe/2.0).
This is a complex type.
- See Also:
-
Field Summary
FieldsFields inherited from class org.vast.data.DataArrayImpl
ARRAY_SIZE_FIELD, currentSize, MIXED_BLOCK_ERROR_MSG
Fields inherited from class org.vast.data.AbstractArrayImpl
elementCount, elementType, ELT_COUNT_NAME, encoding, implicitElementCount, values
Fields inherited from class org.vast.data.AbstractDataComponentImpl
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatable
Fields inherited from class org.vast.data.AbstractSWEIdentifiableImpl
description, identifier, label
Fields inherited from class org.vast.data.AbstractSWEImpl
extensionList, id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Return a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)Gets the localFrame propertyGets the referenceFrame propertyboolean
Checks if localFrame is setboolean
Checks if referenceFrame is setvoid
setElementType
(String name, DataComponent component) Sets the elementType propertyvoid
setLocalFrame
(String localFrame) Sets the localFrame propertyvoid
setReferenceFrame
(String referenceFrame) Sets the referenceFrame propertyMethods inherited from class org.vast.data.DataArrayImpl
accept, checkIndex, clearData, copyTo, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, resizeDataBlock, setData, setFixedSize, toString, updateAtomCount, updateSize, updateSize, updateSizeComponent, updateStartIndex, validateData
Methods inherited from class org.vast.data.AbstractArrayImpl
addComponent, copyTo, getArraySizeComponent, getElementCount, getElementCountProperty, getElementType, getElementTypeProperty, getEncoding, getValues, hasConstraints, isImplicitSize, isSetEncoding, isSetValues, isVariableSize, removeComponent, removeComponent, setElementCount, setEncoding, setValues, setVariableSizeComponent
Methods inherited from class org.vast.data.AbstractDataComponentImpl
assignNewDataBlock, clone, copyTo, getData, getDefinition, getEncodingInfo, getName, getOptional, getParent, getUpdatable, hasData, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setDefinition, setEncodingInfo, setName, setOptional, setParent, setUpdatable, toString, unSetOptional, unSetUpdatable
Methods inherited from class org.vast.data.AbstractSWEIdentifiableImpl
copyTo, getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
Methods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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.BlockComponent
getElementCount, getElementCountProperty, getElementType, getElementTypeProperty, getEncoding, getValues, isSetEncoding, isSetValues, setEncoding, setValues
Methods inherited from interface net.opengis.swe.v20.DataArray
getArraySizeComponent, isImplicitSize, isVariableSize, setElementCount, updateSize, updateSize
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
-
Field Details
-
referenceFrame
-
localFrame
-
-
Constructor Details
-
MatrixImpl
public MatrixImpl() -
MatrixImpl
public MatrixImpl(int arraySize)
-
-
Method Details
-
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 interfaceDataArray
- Specified by:
copy
in interfaceDataComponent
- Specified by:
copy
in interfaceHasCopy
- Specified by:
copy
in interfaceMatrix
- Overrides:
copy
in classDataArrayImpl
- Returns:
- copy of this component, including sub-components
-
setElementType
Sets the elementType property- Specified by:
setElementType
in interfaceBlockComponent
- Overrides:
setElementType
in classAbstractArrayImpl
-
getReferenceFrame
Gets the referenceFrame property- Specified by:
getReferenceFrame
in interfaceHasRefFrames
-
isSetReferenceFrame
public boolean isSetReferenceFrame()Checks if referenceFrame is set- Specified by:
isSetReferenceFrame
in interfaceHasRefFrames
-
setReferenceFrame
Sets the referenceFrame property- Specified by:
setReferenceFrame
in interfaceHasRefFrames
-
getLocalFrame
Gets the localFrame property- Specified by:
getLocalFrame
in interfaceHasRefFrames
-
isSetLocalFrame
public boolean isSetLocalFrame()Checks if localFrame is set- Specified by:
isSetLocalFrame
in interfaceHasRefFrames
-
setLocalFrame
Sets the localFrame property- Specified by:
setLocalFrame
in interfaceHasRefFrames
-