public class CategoryRangeImpl extends AbstractRangeComponentImpl implements CategoryRange
Extended SWE CategoryRange implementation adapted to old VAST framework
Modifier and Type | Field and Description |
---|---|
protected String |
codeSpace |
protected OgcProperty<AllowedTokens> |
constraint |
protected String[] |
tmpValue |
max, min
axisID, dataType, nilValues, qualityList, referenceFrame
dataBlock, definition, encodingInfo, INDENT, MAX_ARRAY_ERRORS, optional, parent, scalarCount, updatable
description, identifier, label
extensionList, id
Constructor and Description |
---|
CategoryRangeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
accept(DataComponentVisitor visitor) |
CategoryRangeImpl |
copy()
Return a structural copy of this component
The copy is done recursively, but only the structure is copied (not the data)
|
String |
getCodeSpace()
Gets the codeSpace property
|
AllowedTokens |
getConstraint()
Gets the constraint property
|
OgcProperty<AllowedTokens> |
getConstraintProperty()
Gets extra info (name, xlink, etc.) carried by the constraint property
|
String[] |
getValue()
Gets the value property
|
boolean |
hasConstraints()
Recursively checks if constraints are specified in this component or
any of its sub-components
|
boolean |
isSetCodeSpace()
Checks if codeSpace is set
|
boolean |
isSetConstraint()
Checks if constraint is set
|
boolean |
isSetValue()
Checks if value is set
|
void |
setCodeSpace(String codeSpace)
Sets the codeSpace property
|
void |
setConstraint(AllowedTokens constraint)
Sets the constraint property
|
void |
setValue(String[] value)
Sets the value property
|
String |
toString(String indent)
Returns String representation of this DataContainer
|
void |
validateData(List<ValidationException> errorList)
Validates dataBlock against constraints if any.
|
createDataBlock, getComponent, getComponentCount, setData, updateStartIndex
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, copyTo, getData, getDefinition, getEncodingInfo, getName, getOptional, getParent, getUpdatable, isSetDefinition, isSetOptional, isSetUpdatable, renewDataBlock, setDefinition, setEncodingInfo, setName, setOptional, setParent, setUpdatable, toString, unSetOptional, unSetUpdatable
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
addComponent, assignNewDataBlock, clearData, clone, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
protected String codeSpace
protected OgcProperty<AllowedTokens> constraint
protected String[] tmpValue
public CategoryRangeImpl copy()
DataComponent
copy
in interface HasCopy
copy
in interface CategoryRange
copy
in interface DataComponent
copy
in class AbstractDataComponentImpl
public String getCodeSpace()
HasCodeSpace
getCodeSpace
in interface HasCodeSpace
public boolean isSetCodeSpace()
HasCodeSpace
isSetCodeSpace
in interface HasCodeSpace
public void setCodeSpace(String codeSpace)
HasCodeSpace
setCodeSpace
in interface HasCodeSpace
public AllowedTokens getConstraint()
HasConstraints
getConstraint
in interface HasConstraints<AllowedTokens>
public OgcProperty<AllowedTokens> getConstraintProperty()
HasConstraints
getConstraintProperty
in interface HasConstraints<AllowedTokens>
public boolean isSetConstraint()
HasConstraints
isSetConstraint
in interface HasConstraints<AllowedTokens>
public void setConstraint(AllowedTokens constraint)
HasConstraints
setConstraint
in interface HasConstraints<AllowedTokens>
public String[] getValue()
CategoryRange
getValue
in interface CategoryRange
public boolean isSetValue()
isSetValue
in interface CategoryRange
public void setValue(String[] value)
setValue
in interface CategoryRange
public boolean hasConstraints()
DataComponent
hasConstraints
in interface DataComponent
hasConstraints
in class AbstractDataComponentImpl
public void validateData(List<ValidationException> errorList)
DataComponent
validateData
in interface DataComponent
validateData
in class AbstractDataComponentImpl
errorList
- list to which validation exceptions will be appendedpublic String toString(String indent)
AbstractDataComponentImpl
toString
in class AbstractDataComponentImpl
indent
- intpublic void accept(DataComponentVisitor visitor)
accept
in interface DataComponent
Copyright © 2016 Sensia Software LLC. All rights reserved.