public abstract class AbstractRangeComponentImpl extends AbstractSimpleComponentImpl implements SimpleComponent
Base implementation for all range data components with min/max values 11-2014: Updated to implement new API autogenerated from XML schema
Modifier and Type | Field and Description |
---|---|
protected DataValue |
max |
protected DataValue |
min |
axisID, dataType, nilValues, qualityList, referenceFrame
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatable
description, identifier, label
extensionList, id
Modifier | Constructor and Description |
---|---|
protected |
AbstractRangeComponentImpl() |
Modifier and Type | Method and Description |
---|---|
AbstractDataBlock |
createDataBlock()
Create a new datablock for holding data of this component
|
DataValue |
getComponent(int index)
Get the sub-component located at the specified index
|
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, getComponentIndex, getDataType, getNilValues, getNilValuesProperty, getNumQualitys, getQualityList, getReferenceFrame, isSetAxisID, isSetNilValues, isSetReferenceFrame, removeComponent, removeComponent, setAxisID, setDataType, setNilValues, setReferenceFrame, updateAtomCount
assignNewDataBlock, clone, copy, 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, copy, 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 int getComponentCount()
DataComponent
getComponentCount
in interface DataComponent
getComponentCount
in class AbstractDataComponentImpl
public DataValue getComponent(int index)
DataComponent
getComponent
in interface DataComponent
getComponent
in class AbstractSimpleComponentImpl
index
- index of component to lookupprotected 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.