public abstract class DataValue extends AbstractSimpleComponentImpl implements ScalarComponent
Atomic (no children) DataContainer usually containing a scalar value 08-2014: Updated to implement new API autogenerated from XML schema
axisID, dataType, nilValues, qualityList, referenceFrame
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatable
description, identifier, label
extensionList, id
Modifier and Type | Method and Description |
---|---|
abstract DataValue |
copy()
Return a structural copy of this component
The copy is done recursively, but only the structure is copied (not the data)
|
AbstractDataBlock |
createDataBlock()
Create a new datablock for holding data of this component
|
int |
getComponentCount()
Returns number of sub-components in this component
|
void |
setData(DataBlock dataBlock)
Assign a new datablock to this component.
|
protected void |
updateStartIndex(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 DataBlock
|
addComponent, addQuality, addQuality, addQuality, addQuality, clearData, copyTo, getAxisID, getComponent, getComponent, getComponentIndex, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, isSetAxisID, isSetNilValues, isSetReferenceFrame, removeComponent, removeComponent, setAxisID, setDataType, setNilValues, setReferenceFrame, updateAtomCount
assignNewDataBlock, clone, copyTo, getData, getDefinition, getEncodingInfo, getName, getOptional, getParent, getUpdatable, hasConstraints, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setDefinition, setEncodingInfo, setName, setOptional, setParent, setUpdatable, toString, toString, unSetOptional, unSetUpdatable, validateData
copyTo, getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addQuality, addQuality, addQuality, addQuality, getAxisID, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, isSetAxisID, isSetNilValues, isSetReferenceFrame, setAxisID, setDataType, setNilValues, setReferenceFrame
accept, addComponent, assignNewDataBlock, clearData, clone, getComponent, getComponent, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateData
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
public DataValue()
public DataValue(DataType type)
public abstract DataValue copy()
DataComponent
copy
in interface HasCopy
copy
in interface DataComponent
copy
in class AbstractDataComponentImpl
public int getComponentCount()
DataComponent
getComponentCount
in interface DataComponent
getComponentCount
in class AbstractDataComponentImpl
protected void updateStartIndex(int startIndex)
AbstractDataComponentImpl
updateStartIndex
in class AbstractDataComponentImpl
public void setData(DataBlock dataBlock)
DataComponent
setData
in interface DataComponent
setData
in class AbstractDataComponentImpl
public AbstractDataBlock createDataBlock()
DataComponent
createDataBlock
in interface DataComponent
createDataBlock
in class AbstractDataComponentImpl
Copyright © 2016 Sensia Software LLC. All rights reserved.