public class SpeciesTypeState extends AbstractNamedSBase implements UniqueNamedSBase
ignoredExtensions, ignoredXMLElementslistOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS| Constructor and Description |
|---|
SpeciesTypeState() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContainedSpeciesType(ContainedSpeciesType containedSpeciesType)
Adds a ContainedSpeciesType.
|
void |
addStateFeatureInstance(StateFeatureInstance stateFeatureInstance)
Adds a StateFeatureInstance.
|
AbstractSBase |
clone() |
ContainedSpeciesType |
createContainedSpeciesType()
Creates a new
ContainedSpeciesType inside this StateFeature and returns it. |
StateFeatureInstance |
createStateFeatureInstance()
Creates a new
StateFeatureInstance inside this SpeciesTypeState and returns it. |
StateFeatureInstance |
createStateFeatureInstance(String id)
Creates a new
StateFeatureInstance inside this SpeciesTypeState and returns it. |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
boolean |
getConnex()
Returns if this
SpeciesTypeState is connex or not. |
ContainedSpeciesType |
getContainedSpeciesType(int i)
Gets the ith
ContainedSpeciesType. |
ContainedSpeciesType |
getContainedSpeciesType(String id)
Gets the
ContainedSpeciesType that has the given speciesTypeState id. |
ListOf<ContainedSpeciesType> |
getListOfContainedSpeciesTypes()
Returns the listOfContainedSpeciesTypes
|
ListOf<StateFeatureInstance> |
getListOfStateFeatureInstances()
Returns the listOfStateFeatureInstances
|
int |
getMaxOccur()
Returns the maxOccur.
|
int |
getMinOccur()
Returns the minOccur.
|
boolean |
getSaturated()
Returns if this
SpeciesTypeState is saturated or not. |
String |
getSpeciesType()
Returns the speciesType.
|
StateFeatureInstance |
getStateFeatureInstance(int i)
Gets the ith
StateFeatureInstance. |
StateFeatureInstance |
getStateFeatureInstance(String id)
Gets the
StateFeatureInstance that has the given id. |
void |
initDefaults() |
boolean |
isConnex()
Returns if this
SpeciesTypeState is connex or not. |
boolean |
isIdMandatory() |
boolean |
isSaturated()
Returns if this
SpeciesTypeState is saturated or not. |
boolean |
isSetConnex()
Returns
true if connex is not null. |
boolean |
isSetListOfContainedSpeciesTypes()
Returns
true if the listOfContainedSpeciesType is set. |
boolean |
isSetListOfStateFeatureInstances()
Returns
true if the listOfStateFeatureInstance is set. |
boolean |
isSetMaxOccur()
Returns
true if maxOccur is not null. |
boolean |
isSetMinOccur()
Returns
true if minOccur is not null. |
boolean |
isSetSaturated()
Returns
true if saturated is not null. |
boolean |
isSetSpeciesType()
Returns
true if the speciesType is defined. |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setConnex(boolean connex)
Sets the connex
|
void |
setMaxOccur(int maxOccur)
Sets the maxOccur.
|
void |
setMinOccur(int minOccur)
Sets the minOccur.
|
void |
setSaturated(boolean saturated)
Sets the saturated.
|
void |
setSpeciesType(String speciesType)
Sets the speciesType.
|
boolean |
unsetListOfContainedSpeciesTypes()
Sets the listOfContainedSpeciesTypes to null
|
boolean |
unsetListOfStateFeatureInstances()
Sets the listOfStateFeatureInstances to null
|
Map<String,String> |
writeXMLAttributes() |
equals, getId, getName, hashCode, isSetId, isSetName, isValidId, 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, 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 String getSpeciesType()
public void setSpeciesType(String speciesType)
speciesType - the speciesType to setpublic boolean isSetSpeciesType()
true if the speciesType is defined.true if the speciesType is defined, false otherwise.public int getMinOccur()
public void setMinOccur(int minOccur)
minOccur - the minOccur to setpublic boolean isSetMinOccur()
true if minOccur is not null.true if minOccur is not null.public int getMaxOccur()
public void setMaxOccur(int maxOccur)
maxOccur - the maxOccur to setpublic boolean isSetMaxOccur()
true if maxOccur is not null.true if maxOccur is not null.public boolean isConnex()
SpeciesTypeState is connex or not.public boolean getConnex()
SpeciesTypeState is connex or not.public void setConnex(boolean connex)
connex - the connex to setpublic boolean isSetConnex()
true if connex is not null.true if connex is not null.public boolean isSaturated()
SpeciesTypeState is saturated or not.public boolean getSaturated()
SpeciesTypeState is saturated or not.public void setSaturated(boolean saturated)
saturated - the saturated to setpublic boolean isSetSaturated()
true if saturated is not null.true if saturated is not null.public ListOf<StateFeatureInstance> getListOfStateFeatureInstances()
public void addStateFeatureInstance(StateFeatureInstance stateFeatureInstance)
stateFeatureInstance - the StateFeatureInstance to addpublic StateFeatureInstance createStateFeatureInstance()
StateFeatureInstance inside this SpeciesTypeState and returns it.
StateFeatureInstance object created
addStateFeatureInstance(StateFeatureInstance r)public StateFeatureInstance createStateFeatureInstance(String id)
StateFeatureInstance inside this SpeciesTypeState and returns it.id - the id of the new element to createStateFeatureInstance object createdpublic StateFeatureInstance getStateFeatureInstance(int i)
StateFeatureInstance.i - StateFeatureInstanceIndexOutOfBoundsException - if the index is invalid.public StateFeatureInstance getStateFeatureInstance(String id)
StateFeatureInstance that has the given id.id - StateFeatureInstance that has the given id or null if
no StateFeatureInstance are found that match id.public boolean isSetListOfStateFeatureInstances()
true if the listOfStateFeatureInstance is set.true if the listOfStateFeatureInstance is set.public boolean unsetListOfStateFeatureInstances()
true is successfulpublic ListOf<ContainedSpeciesType> getListOfContainedSpeciesTypes()
public void addContainedSpeciesType(ContainedSpeciesType containedSpeciesType)
containedSpeciesType - the ContainedSpeciesType to addpublic ContainedSpeciesType createContainedSpeciesType()
ContainedSpeciesType inside this StateFeature and returns it.ContainedSpeciesType object createdpublic ContainedSpeciesType getContainedSpeciesType(int i)
ContainedSpeciesType.i - ContainedSpeciesTypeIndexOutOfBoundsException - if the index is invalid.public ContainedSpeciesType getContainedSpeciesType(String id)
ContainedSpeciesType that has the given speciesTypeState id.id - ContainedSpeciesType that has the given speciesTypeState id or null if
no ContainedSpeciesType are found that match id.public boolean isSetListOfContainedSpeciesTypes()
true if the listOfContainedSpeciesType is set.true if the listOfContainedSpeciesType is set.public boolean unsetListOfContainedSpeciesTypes()
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 boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractNamedSBasepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractNamedSBaseCopyright © 2009–2016. All rights reserved.