Package org.vast.data
Class AbstractRangeComponentImpl
java.lang.Object
org.vast.data.AbstractSWEImpl
org.vast.data.AbstractSWEIdentifiableImpl
org.vast.data.AbstractDataComponentImpl
org.vast.data.AbstractSimpleComponentImpl
org.vast.data.AbstractRangeComponentImpl
- All Implemented Interfaces:
 Serializable,HasCopy,AbstractSWE,AbstractSWEIdentifiable,DataComponent,SimpleComponent
- Direct Known Subclasses:
 CategoryRangeImpl,CountRangeImpl,QuantityRangeImpl,TimeRangeImpl
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
- See Also:
 
- 
Field Summary
FieldsFields 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 TypeMethodDescriptionCreate a new datablock for holding data of this componentgetComponent(int index) Get the sub-component located at the specified indexintReturns 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, 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, copy, 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, copy, 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 
- 
Field Details
- 
min
 - 
max
 
 - 
 - 
Constructor Details
- 
AbstractRangeComponentImpl
protected AbstractRangeComponentImpl() 
 - 
 - 
Method Details
- 
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
 
 - 
getComponent
Description copied from interface:DataComponentGet the sub-component located at the specified index- Specified by:
 getComponentin interfaceDataComponent- Overrides:
 getComponentin classAbstractSimpleComponentImpl- Parameters:
 index- index of component to lookup- Returns:
 - child component or null if none exists at the specified index
 
 - 
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
 
 
 -