public class StateFeature extends AbstractNamedSBase implements UniqueNamedSBase
SpeciesType) can carry any number of state features
(StateFeature), which are characteristic properties specific
for this type of species (Species). The element StateFeature
of SBML Level 3 Version 1 multi Version 1
corresponds to the "state variable" of the SBGN Entity Relationship language.
A StateFeature is identified by an id and an optional name. A
StateFeature is linked to a list of PossibleValues.ignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
StateFeature() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPossibleValue(PossibleValue possibleValue)
Adds a PossibleValue.
|
AbstractSBase |
clone() |
PossibleValue |
createPossibleValue()
Creates a new
PossibleValue inside this StateFeature and returns it. |
PossibleValue |
createPossibleValue(String id)
Creates a new
PossibleValue inside this StateFeature and returns it. |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
ListOf<PossibleValue> |
getListOfPossibleValues()
Returns the listOfPossibleValues
|
PossibleValue |
getPossibleValue(int i)
Gets the ith
PossibleValue. |
PossibleValue |
getPossibleValue(String id)
Gets the
PossibleValue that has the given id. |
void |
initDefaults() |
boolean |
isIdMandatory() |
boolean |
isSetListOfPossibleValues()
Returns
true if the listOfPossibleValue is set. |
boolean |
unsetListOfPossibleValues()
Sets the listOfPossibleValues to null
|
Map<String,String> |
writeXMLAttributes() |
equals, getId, getName, hashCode, isSetId, isSetName, isValidId, readAttribute, setId, setName, toString, unsetId, unsetNameaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitgetId, getName, isSetId, isSetName, setId, setName, unsetId, unsetNameaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, readAttribute, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic boolean isIdMandatory()
isIdMandatory in interface NamedSBasepublic AbstractSBase clone()
clone in interface SBaseclone in class AbstractSBasepublic ListOf<PossibleValue> getListOfPossibleValues()
public void addPossibleValue(PossibleValue possibleValue)
possibleValue - the PossibleValue to addpublic PossibleValue createPossibleValue()
PossibleValue inside this StateFeature and returns it.
PossibleValue object created
addPossibleValue(PossibleValue r)public PossibleValue createPossibleValue(String id)
PossibleValue inside this StateFeature and returns it.id - the id of the new element to createPossibleValue object createdpublic PossibleValue getPossibleValue(int i)
PossibleValue.i - PossibleValueIndexOutOfBoundsException - if the index is invalid.public PossibleValue getPossibleValue(String id)
PossibleValue that has the given id.id - PossibleValue that has the given id or null if
no PossibleValue are found that match id.public boolean isSetListOfPossibleValues()
true if the listOfPossibleValue is set.true if the listOfPossibleValue is set.public boolean unsetListOfPossibleValues()
true is successfulpublic void initDefaults()
public TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractNamedSBaseCopyright © 2009–2016. All rights reserved.