public interface DataChoice extends DataComponent
Modifier and Type | Method and Description |
---|---|
void |
addItem(java.lang.String name,
DataComponent item)
Adds a new item property
|
DataChoice |
copy()
Return a structural copy of this component
The copy is done recursively, but only the structure is copied (not the data)
|
Category |
getChoiceValue()
Gets the choiceValue property
|
DataComponent |
getItem(java.lang.String name)
Gets the item property with the given name
|
OgcPropertyList<DataComponent> |
getItemList()
Gets the list of item properties
|
int |
getNumItems()
Returns number of item properties
|
DataComponent |
getSelectedItem()
Gets the selected item in this choice
|
boolean |
isSetChoiceValue()
Checks if choiceValue is set
|
void |
setChoiceValue(Category choiceValue)
Sets the choiceValue property
|
void |
setSelectedItem(int index)
Sets the choice selection to the item with the given index
|
void |
setSelectedItem(java.lang.String name)
Sets the choice selection to the item with the given name
|
accept, addComponent, assignNewDataBlock, clearData, clone, createDataBlock, getComponent, getComponent, getComponentCount, getComponentIndex, getData, getDefinition, getName, getOptional, getParent, getUpdatable, hasConstraints, hasData, isSetDefinition, isSetOptional, isSetUpdatable, removeComponent, removeComponent, renewDataBlock, setData, setDefinition, setName, setOptional, setUpdatable, unSetOptional, unSetUpdatable, validateData
getDescription, getIdentifier, getLabel, isSetDescription, isSetIdentifier, isSetLabel, setDescription, setIdentifier, setLabel
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
DataChoice copy()
DataComponent
copy
in interface DataComponent
copy
in interface HasCopy
Category getChoiceValue()
boolean isSetChoiceValue()
void setChoiceValue(Category choiceValue)
OgcPropertyList<DataComponent> getItemList()
int getNumItems()
DataComponent getItem(java.lang.String name)
void addItem(java.lang.String name, DataComponent item)
DataComponent getSelectedItem()
void setSelectedItem(java.lang.String name)
name
- void setSelectedItem(int index)
name
-