Package org.vast.data
Class DataValue
- All Implemented Interfaces:
 Serializable,HasCopy,AbstractSWE,AbstractSWEIdentifiable,DataComponent,ScalarComponent,SimpleComponent
- Direct Known Subclasses:
 BooleanImpl,CategoryImpl,CountImpl,QuantityImpl,TextImpl,TimeImpl
Atomic (no children) DataContainer usually containing a scalar value 08-2014: Updated to implement new API autogenerated from XML schema
- See Also:
 
- 
Field Summary
Fields inherited from class org.vast.data.AbstractSimpleComponentImpl
axisID, dataType, nilValues, qualityList, referenceFrameFields inherited from class org.vast.data.AbstractDataComponentImpl
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatableFields inherited from class org.vast.data.AbstractSWEIdentifiableImpl
description, identifier, labelFields inherited from class org.vast.data.AbstractSWEImpl
extensionList, id - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract DataValuecopy()Return a structural copy of this component The copy is done recursively, but only the structure is copied (not the data)Create a new datablock for holding data of this componentintReturns number of sub-components in this componentvoidAssign a new datablock to this component.protected voidupdateStartIndex(int startIndex) Update datablock start index (for array support) Needed when data is selected by DataArray getComponent(int) and the DataArray is using a parallel or primitive DataBlockMethods inherited from class org.vast.data.AbstractSimpleComponentImpl
addComponent, addQuality, addQuality, addQuality, addQuality, clearData, copyTo, generateException, getAxisID, getComponent, getComponent, getComponentIndex, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, getValidationException, isSetAxisID, isSetNilValues, isSetReferenceFrame, isSetValue, removeComponent, removeComponent, setAxisID, setDataType, setNilValues, setReferenceFrame, unSetValue, updateAtomCountMethods inherited from class org.vast.data.AbstractDataComponentImpl
assignNewDataBlock, clone, copyTo, getData, getDefinition, getEncodingInfo, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setDefinition, setEncodingInfo, setName, setOptional, setParent, setUpdatable, toString, toString, unSetOptional, unSetUpdatable, validateDataMethods inherited from class org.vast.data.AbstractSWEIdentifiableImpl
copyTo, getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabelMethods inherited from class org.vast.data.AbstractSWEImpl
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setIdMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, getComponent, getComponent, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateDataMethods inherited from interface net.opengis.swe.v20.SimpleComponent
addQuality, addQuality, addQuality, addQuality, getAxisID, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, isSetAxisID, isSetNilValues, isSetReferenceFrame, isSetValue, setAxisID, setDataType, setNilValues, setReferenceFrame, unSetValue 
- 
Constructor Details
- 
DataValue
public DataValue() - 
DataValue
 
 - 
 - 
Method Details
- 
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- Specified by:
 copyin classAbstractDataComponentImpl- Returns:
 - copy of this component, including sub-components
 
 - 
getComponentCount
public int getComponentCount()Description copied from interface:DataComponentReturns number of sub-components in this component- Specified by:
 getComponentCountin interfaceDataComponent- Specified by:
 getComponentCountin classAbstractDataComponentImpl- Returns:
 - number of direct sub-components
 
 - 
updateStartIndex
protected void updateStartIndex(int startIndex) Description copied from class:AbstractDataComponentImplUpdate datablock start index (for array support) Needed when data is selected by DataArray getComponent(int) and the DataArray is using a parallel or primitive DataBlock- Specified by:
 updateStartIndexin classAbstractDataComponentImpl
 - 
setData
Description copied from interface:DataComponentAssign a new datablock to this component. This will recursively assign the right datablocks to sub-components recursively.- Specified by:
 setDatain interfaceDataComponent- Specified by:
 setDatain classAbstractDataComponentImpl
 - 
createDataBlock
Description copied from interface:DataComponentCreate a new datablock for holding data of this component- Specified by:
 createDataBlockin interfaceDataComponent- Specified by:
 createDataBlockin classAbstractDataComponentImpl- Returns:
 - new datablock object
 
 
 -