public class MultiSpeciesType extends SpeciesType implements CompartmentalizedSBase, UniqueNamedSBase
The element MultiSpeciesType, which is part of SBML Level 2 Version 4 specification, is not part of SBML Level 3 Version 1 Core any more. Instead, it will be defined in the multi package. The MultiSpeciesType element carries not only the basic attributes which it had in SBML Level 2 Version 4 (metaid, id, name), but is also extended for the needs of describing multi-component entities with the attribute bindingSite and for the needs of multistate entities by linking it to a list of StateFeatures
A species type can be used to describe a component of a supra-macromolecular assembly, but also a domain of a macromolecule. Such a domain can be a portion of the macromolecule, a non-connex set of atoms forming a functional domain, or just a conceptual construct suiting the needs of the modeler. The type of component can be specified by referring terms from the subbranch functional entity of the Systems Biology Ontology through the optional sboTerm attribute. The following table provides typical examples of component or domains (the list is absolutely not complete).
| SBO identifier | Definition |
|---|---|
| SBO:0000242 | channel |
| SBO:0000244 | receptor |
| SBO:0000284 | transporter |
| SBO:0000280 | ligand |
| SBO:0000493 | functional domain |
| SBO:0000494 | binding site |
| SBO:0000495 | catalytic site |
| SBO:0000496 | transmembrane domain |
ignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
MultiSpeciesType()
Creates an MultiSpeciesType instance
|
MultiSpeciesType(int level,
int version)
Creates a MultiSpeciesType instance with a level and version.
|
MultiSpeciesType(MultiSpeciesType obj)
Creates a new
MultiSpeciesType instance cloned from the given MultiSpeciesType. |
MultiSpeciesType(String id)
Creates a MultiSpeciesType instance with an id.
|
MultiSpeciesType(String id,
int level,
int version)
Creates a MultiSpeciesType instance with an id, level, and version.
|
MultiSpeciesType(String id,
String name,
int level,
int version)
Creates a MultiSpeciesType instance with an id, name, level, and version.
|
getParentisValidIdaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllowsChildren, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getExtension, getExtensionCount, getExtensionPackages, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetId, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetName, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setId, setLevel, setMetaId, setName, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, toString, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetId, unsetMetaId, unsetName, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTermaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, 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, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeTreeNodeChangeListener, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, 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 MultiSpeciesType()
public MultiSpeciesType(int level,
int version)
level - SBML Levelversion - SBML Versionpublic MultiSpeciesType(MultiSpeciesType obj)
MultiSpeciesType instance cloned from the given MultiSpeciesType.obj - the MultiSpeciesType to clonepublic MultiSpeciesType(String id)
id - the identifier for the new element.public MultiSpeciesType(String id, int level, int version)
id - the identifier for this element.level - the SBML Levelversion - the SBML Versionpublic MultiSpeciesType(String id, String name, int level, int version)
id - the identifier for this element.name - a human-readable name for this element that can be used for display purposes.level - the SBML Levelversion - the SBML Versionpublic boolean addInSpeciesTypeBond(InSpeciesTypeBond inSpeciesTypeBond)
InSpeciesTypeBond to the listOfInSpeciesTypeBonds.
The listOfInSpeciesTypeBonds is initialized if necessary.
inSpeciesTypeBond - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean addSpeciesFeatureType(SpeciesFeatureType speciesFeatureType)
SpeciesFeatureType to the listOfSpeciesFeatureTypes.
The listOfSpeciesFeatureTypes is initialized if necessary.
speciesFeatureType - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean addSpeciesTypeComponentIndex(SpeciesTypeComponentIndex speciesTypeComponentIndex)
SpeciesTypeComponentIndex to the listOfSpeciesTypeComponentIndexes.
The listOfSpeciesTypeComponentIndexes is initialized if necessary.
speciesTypeComponentIndex - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean addSpeciesTypeInstance(SpeciesTypeInstance speciesTypeInstance)
SpeciesTypeInstance to the listOfSpeciesTypeInstances.
The listOfSpeciesTypeInstances is initialized if necessary.
speciesTypeInstance - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public MultiSpeciesType clone()
clone in interface SBaseclone in class SpeciesTypepublic InSpeciesTypeBond createInSpeciesTypeBond()
listOfInSpeciesTypeBonds list.listOfInSpeciesTypeBondspublic InSpeciesTypeBond createInSpeciesTypeBond(String id)
InSpeciesTypeBond element and adds it to the
listOfInSpeciesTypeBonds list.id - the identifier that is to be applied to the new element.InSpeciesTypeBond element, which is the last
element in the listOfInSpeciesTypeBonds.public SpeciesFeatureType createSpeciesFeatureType()
listOfSpeciesFeatureTypes list.listOfSpeciesFeatureTypespublic SpeciesFeatureType createSpeciesFeatureType(String id)
SpeciesFeatureType element and adds it to the
listOfSpeciesFeatureTypes list.id - the identifier that is to be applied to the new element.SpeciesFeatureType element, which is the last
element in the listOfSpeciesFeatureTypes.public SpeciesTypeComponentIndex createSpeciesTypeComponentIndex()
listOfSpeciesTypeComponentIndexes list.listOfSpeciesTypeComponentIndexespublic SpeciesTypeComponentIndex createSpeciesTypeComponentIndex(String id)
SpeciesTypeComponentIndex element and adds it to the
listOfSpeciesTypeComponentIndexes list.id - the identifier that is to be applied to the new element.SpeciesTypeComponentIndex element, which is the last
element in the listOfSpeciesTypeComponentIndexes.public SpeciesTypeInstance createSpeciesTypeInstance()
listOfSpeciesTypeInstances list.listOfSpeciesTypeInstancespublic SpeciesTypeInstance createSpeciesTypeInstance(String id)
SpeciesTypeInstance element and adds it to the
listOfSpeciesTypeInstances list.id - the identifier that is to be applied to the new element.SpeciesTypeInstance element, which is the last
element in the listOfSpeciesTypeInstances.public boolean equals(Object obj)
equals in interface SBaseequals in class AbstractSBasepublic TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class AbstractSBasepublic String getCompartment()
getCompartment in interface CompartmentalizedSBasepublic Compartment getCompartmentInstance()
getCompartmentInstance in interface CompartmentalizedSBasepublic String getElementName()
getElementName in interface SBasegetElementName in class AbstractSBasepublic InSpeciesTypeBond getInSpeciesTypeBond(int i)
listOfInSpeciesTypeBonds at the given index.i - the index of the InSpeciesTypeBond element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public InSpeciesTypeBond getInSpeciesTypeBond(String inSpeciesTypeBondId)
inSpeciesTypeBondId - the id of the InSpeciesTypeBond element to get.null.public int getInSpeciesTypeBondCount()
InSpeciesTypeBonds in this
MultiSpeciesType.InSpeciesTypeBonds in this
MultiSpeciesType.public ListOf<InSpeciesTypeBond> getListOfInSpeciesTypeBonds()
listOfInSpeciesTypeBonds.
Creates it if it does not already exist.listOfInSpeciesTypeBonds.public ListOf<SpeciesFeatureType> getListOfSpeciesFeatureTypes()
listOfSpeciesFeatureTypes.
Creates it if it does not already exist.listOfSpeciesFeatureTypes.public ListOf<SpeciesTypeComponentIndex> getListOfSpeciesTypeComponentIndexes()
listOfSpeciesTypeComponentIndexes.
Creates it if it does not already exist.listOfSpeciesTypeComponentIndexes.public ListOf<SpeciesTypeInstance> getListOfSpeciesTypeInstances()
listOfSpeciesTypeInstances.
Creates it if it does not already exist.listOfSpeciesTypeInstances.public int getNumInSpeciesTypeBonds()
InSpeciesTypeBonds in this
MultiSpeciesType.InSpeciesTypeBonds in this
MultiSpeciesType.getInSpeciesTypeBondCount()public int getNumSpeciesFeatureTypes()
SpeciesFeatureTypes in this
MultiSpeciesType.SpeciesFeatureTypes in this
MultiSpeciesType.getSpeciesFeatureTypeCount()public int getNumSpeciesTypeComponentIndexes()
SpeciesTypeComponentIndexs in this
MultiSpeciesType.SpeciesTypeComponentIndexs in this
MultiSpeciesType.getSpeciesTypeComponentIndexCount()public int getNumSpeciesTypeInstances()
SpeciesTypeInstances in this
MultiSpeciesType.SpeciesTypeInstances in this
MultiSpeciesType.getSpeciesTypeInstanceCount()public SpeciesFeatureType getSpeciesFeatureType(int i)
listOfSpeciesFeatureTypes at the given index.i - the index of the SpeciesFeatureType element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SpeciesFeatureType getSpeciesFeatureType(String speciesFeatureTypeId)
speciesFeatureTypeId - the id of the SpeciesFeatureType element to get.null.public int getSpeciesFeatureTypeCount()
SpeciesFeatureTypes in this
MultiSpeciesType.SpeciesFeatureTypes in this
MultiSpeciesType.public SpeciesTypeComponentIndex getSpeciesTypeComponentIndex(int i)
listOfSpeciesTypeComponentIndexes at the given index.i - the index of the SpeciesTypeComponentIndex element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SpeciesTypeComponentIndex getSpeciesTypeComponentIndex(String speciesTypeComponentIndexId)
speciesTypeComponentIndexId - the id of the SpeciesTypeComponentIndex element to get.null.public int getSpeciesTypeComponentIndexCount()
SpeciesTypeComponentIndexs in this
MultiSpeciesType.SpeciesTypeComponentIndexs in this
MultiSpeciesType.public SpeciesTypeInstance getSpeciesTypeInstance(int i)
listOfSpeciesTypeInstances at the given index.i - the index of the SpeciesTypeInstance element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SpeciesTypeInstance getSpeciesTypeInstance(String speciesTypeInstanceId)
speciesTypeInstanceId - the id of the SpeciesTypeInstance element to get.null.public int getSpeciesTypeInstanceCount()
SpeciesTypeInstances in this
MultiSpeciesType.SpeciesTypeInstances in this
MultiSpeciesType.public int hashCode()
hashCode in interface SBasehashCode in class AbstractSBasepublic void initDefaults()
public boolean isCompartmentMandatory()
isCompartmentMandatory in interface CompartmentalizedSBasepublic boolean isIdMandatory()
isIdMandatory in interface NamedSBaseisIdMandatory in interface SBaseisIdMandatory in class SpeciesTypepublic boolean isSetCompartment()
isSetCompartment in interface CompartmentalizedSBasepublic boolean isSetCompartmentInstance()
isSetCompartmentInstance in interface CompartmentalizedSBasepublic boolean isSetListOfInSpeciesTypeBonds()
true if listOfInSpeciesTypeBonds contains at least
one element.true if listOfInSpeciesTypeBonds contains at least
one element, otherwise false.public boolean isSetListOfSpeciesFeatureTypes()
true if listOfSpeciesFeatureTypes contains at least
one element.true if listOfSpeciesFeatureTypes contains at least
one element, otherwise false.public boolean isSetListOfSpeciesTypeComponentIndexes()
true if listOfSpeciesTypeComponentIndexes contains at least
one element.true if listOfSpeciesTypeComponentIndexes contains at least
one element, otherwise false.public boolean isSetListOfSpeciesTypeInstances()
true if listOfSpeciesTypeInstances contains at least
one element.true if listOfSpeciesTypeInstances contains at least
one element, otherwise false.public boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractSBasepublic boolean removeInSpeciesTypeBond(InSpeciesTypeBond inSpeciesTypeBond)
listOfInSpeciesTypeBonds.inSpeciesTypeBond - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public InSpeciesTypeBond removeInSpeciesTypeBond(int i)
listOfInSpeciesTypeBonds at the given index.i - the index where to remove the InSpeciesTypeBond.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfInSpeciesTypeBonds)).public InSpeciesTypeBond removeInSpeciesTypeBond(String inSpeciesTypeBondId)
listOfInSpeciesTypeBonds.inSpeciesTypeBondId - the id of the element to be removed from the list.null.public SpeciesFeatureType removeSpeciesFeatureType(int i)
listOfSpeciesFeatureTypes at the given index.i - the index where to remove the SpeciesFeatureType.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfSpeciesFeatureTypes)).public boolean removeSpeciesFeatureType(SpeciesFeatureType speciesFeatureType)
listOfSpeciesFeatureTypes.speciesFeatureType - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public SpeciesFeatureType removeSpeciesFeatureType(String speciesFeatureTypeId)
listOfSpeciesFeatureTypes.speciesFeatureTypeId - the id of the element to be removed from the list.null.public SpeciesTypeComponentIndex removeSpeciesTypeComponentIndex(int i)
listOfSpeciesTypeComponentIndexes at the given index.i - the index where to remove the SpeciesTypeComponentIndex.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfSpeciesTypeComponentIndexes)).public boolean removeSpeciesTypeComponentIndex(SpeciesTypeComponentIndex speciesTypeComponentIndex)
listOfSpeciesTypeComponentIndexes.speciesTypeComponentIndex - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public SpeciesTypeComponentIndex removeSpeciesTypeComponentIndex(String speciesTypeComponentIndexId)
listOfSpeciesTypeComponentIndexes.speciesTypeComponentIndexId - the id of the element to be removed from the list.null.public SpeciesTypeInstance removeSpeciesTypeInstance(int i)
listOfSpeciesTypeInstances at the given index.i - the index where to remove the SpeciesTypeInstance.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfSpeciesTypeInstances)).public boolean removeSpeciesTypeInstance(SpeciesTypeInstance speciesTypeInstance)
listOfSpeciesTypeInstances.speciesTypeInstance - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public SpeciesTypeInstance removeSpeciesTypeInstance(String speciesTypeInstanceId)
listOfSpeciesTypeInstances.speciesTypeInstanceId - the id of the element to be removed from the list.null.public boolean setCompartment(Compartment compartment)
setCompartment in interface CompartmentalizedSBasepublic boolean setCompartment(String compartment)
setCompartment in interface CompartmentalizedSBasepublic void setListOfInSpeciesTypeBonds(ListOf<InSpeciesTypeBond> listOfInSpeciesTypeBonds)
ListOf<InSpeciesTypeBond>.
If listOfInSpeciesTypeBonds was defined before and contains some
elements, they are all unset.listOfInSpeciesTypeBonds - the list of InSpeciesTypeBondpublic void setListOfSpeciesFeatureTypes(ListOf<SpeciesFeatureType> listOfSpeciesFeatureTypes)
ListOf<SpeciesFeatureType>.
If listOfSpeciesFeatureTypes was defined before and contains some
elements, they are all unset.listOfSpeciesFeatureTypes - the list of SpeciesFeatureTypepublic void setListOfSpeciesTypeComponentIndexes(ListOf<SpeciesTypeComponentIndex> listOfSpeciesTypeComponentIndexes)
ListOf<SpeciesTypeComponentIndex>.
If listOfSpeciesTypeComponentIndexes was defined before and contains some
elements, they are all unset.listOfSpeciesTypeComponentIndexes - the list of SpeciesTypeComponentIndexpublic void setListOfSpeciesTypeInstances(ListOf<SpeciesTypeInstance> listOfSpeciesTypeInstances)
ListOf<SpeciesTypeInstance>.
If listOfSpeciesTypeInstances was defined before and contains some
elements, they are all unset.listOfSpeciesTypeInstances - the list of SpeciesTypeInstancepublic boolean unsetCompartment()
unsetCompartment in interface CompartmentalizedSBasepublic boolean unsetListOfInSpeciesTypeBonds()
true if listOfInSpeciesTypeBonds contains at least
one element, otherwise false.public boolean unsetListOfSpeciesFeatureTypes()
true if listOfSpeciesFeatureTypes contains at least
one element, otherwise false.public boolean unsetListOfSpeciesTypeComponentIndexes()
true if listOfSpeciesTypeComponentIndexes contains at least
one element, otherwise false.public boolean unsetListOfSpeciesTypeInstances()
true if listOfSpeciesTypeInstances contains at least
one element, otherwise false.public Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBaseCopyright © 2009–2017. All rights reserved.