public abstract class AbstractSimpleComponentImpl extends AbstractDataComponentImpl implements SimpleComponent
Modifier and Type | Field and Description |
---|---|
protected String |
axisID |
protected DataType |
dataType |
protected OgcProperty<NilValues> |
nilValues |
protected OgcPropertyList<SimpleComponent> |
qualityList |
protected String |
referenceFrame |
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatable
description, identifier, label
extensionList, id
Constructor and Description |
---|
AbstractSimpleComponentImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(String name,
DataComponent component)
Add a sub-component and registers a name for it
|
void |
addQuality(Category quality)
Adds a new qualityAsCategory property
|
void |
addQuality(Quantity quality)
Adds a new qualityAsQuantity property
|
void |
addQuality(QuantityRange quality)
Adds a new qualityAsQuantityRange property
|
void |
addQuality(Text quality)
Adds a new qualityAsText property
|
void |
clearData()
Clear the datablock used by this component.
|
protected void |
copyTo(AbstractSimpleComponentImpl other) |
String |
getAxisID()
Gets the axisID property
|
AbstractDataComponentImpl |
getComponent(int index)
Get the sub-component located at the specified index
|
AbstractDataComponentImpl |
getComponent(String name)
Get the sub-component registered with the specified name
|
int |
getComponentIndex(String name)
Get the index of the sub-component registered with this name
|
DataType |
getDataType()
Gets the component data type
|
NilValues |
getNilValues()
Gets the nilValues property
|
OgcProperty<NilValues> |
getNilValuesProperty()
Gets extra info (name, xlink, etc.) carried by the nilValues property
|
int |
getNumQualitys()
Returns number of quality properties
|
OgcPropertyList<SimpleComponent> |
getQualityList()
Gets the list of quality properties
|
String |
getReferenceFrame()
Gets the referenceFrame property
|
boolean |
isSetAxisID()
Checks if axisID is set
|
boolean |
isSetNilValues()
Checks if nilValues is set
|
boolean |
isSetReferenceFrame()
Checks if referenceFrame is set
|
AbstractDataComponentImpl |
removeComponent(int index)
Remove the sub-component at the specified index
|
AbstractDataComponentImpl |
removeComponent(String name)
Remove sub-component with the specified name
|
void |
setAxisID(String axisID)
Sets the axisID property
|
void |
setDataType(DataType type)
Sets the component data type
|
void |
setNilValues(NilValues nilValues)
Sets the nilValues property
|
void |
setReferenceFrame(String referenceFrame)
Sets the referenceFrame property
|
protected void |
updateAtomCount(int childOffsetCount)
Update datablock atomCount (for resizable array support)
Needed to update atom count info in all parents of a
DataArray that has been resized!
|
assignNewDataBlock, clone, copy, copyTo, createDataBlock, getComponentCount, getData, getDefinition, getEncodingInfo, getName, getOptional, getParent, getUpdatable, hasConstraints, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setData, setDefinition, setEncodingInfo, setName, setOptional, setParent, setUpdatable, toString, toString, unSetOptional, unSetUpdatable, updateStartIndex, 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
accept, assignNewDataBlock, clone, copy, createDataBlock, getComponentCount, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateData
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
protected DataType dataType
protected OgcPropertyList<SimpleComponent> qualityList
protected OgcProperty<NilValues> nilValues
protected String referenceFrame
protected String axisID
protected void copyTo(AbstractSimpleComponentImpl other)
public DataType getDataType()
SimpleComponent
getDataType
in interface SimpleComponent
public void setDataType(DataType type)
SimpleComponent
setDataType
in interface SimpleComponent
public OgcPropertyList<SimpleComponent> getQualityList()
getQualityList
in interface SimpleComponent
public int getNumQualitys()
getNumQualitys
in interface SimpleComponent
public void addQuality(Quantity quality)
addQuality
in interface SimpleComponent
public void addQuality(QuantityRange quality)
addQuality
in interface SimpleComponent
public void addQuality(Category quality)
addQuality
in interface SimpleComponent
public void addQuality(Text quality)
addQuality
in interface SimpleComponent
public NilValues getNilValues()
getNilValues
in interface SimpleComponent
public OgcProperty<NilValues> getNilValuesProperty()
getNilValuesProperty
in interface SimpleComponent
public boolean isSetNilValues()
isSetNilValues
in interface SimpleComponent
public void setNilValues(NilValues nilValues)
setNilValues
in interface SimpleComponent
public String getReferenceFrame()
getReferenceFrame
in interface SimpleComponent
public boolean isSetReferenceFrame()
isSetReferenceFrame
in interface SimpleComponent
public void setReferenceFrame(String referenceFrame)
setReferenceFrame
in interface SimpleComponent
public String getAxisID()
getAxisID
in interface SimpleComponent
public boolean isSetAxisID()
isSetAxisID
in interface SimpleComponent
public void setAxisID(String axisID)
setAxisID
in interface SimpleComponent
public void clearData()
DataComponent
clearData
in interface DataComponent
clearData
in class AbstractDataComponentImpl
protected void updateAtomCount(int childOffsetCount)
AbstractDataComponentImpl
updateAtomCount
in class AbstractDataComponentImpl
public void addComponent(String name, DataComponent component)
DataComponent
addComponent
in interface DataComponent
addComponent
in class AbstractDataComponentImpl
name
- name of component to usecomponent
- new sub-component to append to this componentpublic AbstractDataComponentImpl getComponent(String name)
DataComponent
getComponent
in interface DataComponent
getComponent
in class AbstractDataComponentImpl
name
- name of component to lookuppublic int getComponentIndex(String name)
DataComponent
getComponentIndex
in interface DataComponent
getComponentIndex
in class AbstractDataComponentImpl
name
- name of component to lookuppublic AbstractDataComponentImpl getComponent(int index)
DataComponent
getComponent
in interface DataComponent
getComponent
in class AbstractDataComponentImpl
index
- index of component to lookuppublic AbstractDataComponentImpl removeComponent(int index)
DataComponent
removeComponent
in interface DataComponent
public AbstractDataComponentImpl removeComponent(String name)
DataComponent
removeComponent
in interface DataComponent
Copyright © 2016 Sensia Software LLC. All rights reserved.