java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, SBasePlugin, TreeNodeWithChangeSupportpublic class MultiSpeciesPlugin extends AbstractSBasePlugin
elementNamespace, extendedSBase, packageVersionlistOfListeners, parent, resourceBundle| Constructor | Description |
|---|---|
MultiSpeciesPlugin(MultiSpeciesPlugin multiSpecies) |
Creates a new
MultiSpeciesPlugin instance copied from the given MultiSpeciesPlugin. |
MultiSpeciesPlugin(Species species) |
Creates a new
MultiSpeciesPlugin instance, connected to the given 'core'
Species. |
fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getElementNamespace, getExtendedSBase, getLevel, getPackageVersion, getParentSBMLObject, getSBMLDocument, getVersion, isSetExtendedSBase, isSetPackageVersion, removeFromParent, setExtendedSBase, setNamespace, setPackageVersionaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isCloningInProgress, isInvalidSBMLAllowed, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, notifyChildChange, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waitaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic MultiSpeciesPlugin(Species species)
MultiSpeciesPlugin instance, connected to the given 'core'
Species.species - the core species that is extendedpublic MultiSpeciesPlugin(MultiSpeciesPlugin multiSpecies)
MultiSpeciesPlugin instance copied from the given MultiSpeciesPlugin.multiSpecies - the element to copy/clone.public java.lang.String getPackageName()
public java.lang.String getPrefix()
public java.lang.String getURI()
public MultiSpeciesPlugin clone()
clone in interface SBasePluginclone in class AbstractSBasePluginpublic boolean isSetListOfOutwardBindingSites()
true if listOfOutwardBindingSites is not null.true if listOfOutwardBindingSites is not null, false otherwise.public ListOf<OutwardBindingSite> getListOfOutwardBindingSites()
listOfOutwardBindingSites.
Creates it if it does not already exist.listOfOutwardBindingSites.public void setListOfOutwardBindingSites(ListOf<OutwardBindingSite> listOfOutwardBindingSites)
ListOf<OutwardBindingSite>.
If listOfOutwardBindingSites was defined before and contains some
elements, they are all unset.listOfOutwardBindingSites - the list of OutwardBindingSite to set.public boolean unsetListOfOutwardBindingSites()
true if listOfOutwardBindingSites contains at least
one element, otherwise false.public boolean addOutwardBindingSite(OutwardBindingSite outwardBindingSite)
OutwardBindingSite to the listOfOutwardBindingSites.
The listOfOutwardBindingSites is initialized if necessary.
outwardBindingSite - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean removeOutwardBindingSite(OutwardBindingSite outwardBindingSite)
listOfOutwardBindingSites.outwardBindingSite - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public OutwardBindingSite removeOutwardBindingSite(int i)
listOfOutwardBindingSites at the given index.i - the index where to remove the OutwardBindingSite.java.lang.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfOutwardBindingSites)).public OutwardBindingSite createOutwardBindingSite()
listOfOutwardBindingSites list.listOfOutwardBindingSitespublic OutwardBindingSite getOutwardBindingSite(int i)
listOfOutwardBindingSites at the given index.i - the index of the OutwardBindingSite element to get.java.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public int getOutwardBindingSiteCount()
OutwardBindingSites in this
MultiSpeciesPlugin.OutwardBindingSites in this
MultiSpeciesPlugin.public int getNumOutwardBindingSites()
OutwardBindingSites in this
MultiSpeciesPlugin.OutwardBindingSites in this
MultiSpeciesPlugin.getOutwardBindingSiteCount()public boolean isSetListOfSpeciesFeatures()
true if listOfSpeciesFeatures is not null.true if listOfSpeciesFeatures is not null, otherwise false.public ListOf<SpeciesFeature> getListOfSpeciesFeatures()
listOfSpeciesFeatures.
Creates it if it does not already exist.listOfSpeciesFeatures.public void setListOfSpeciesFeatures(ListOf<SpeciesFeature> listOfSpeciesFeatures)
ListOf<SpeciesFeature>.
If listOfSpeciesFeatures was defined before and contains some
elements, they are all unset.listOfSpeciesFeatures - the list of SpeciesFeature to set.public boolean unsetListOfSpeciesFeatures()
true if listOfSpeciesFeatures contains at least
one element, otherwise false.public boolean addSpeciesFeature(SpeciesFeature speciesFeature)
SpeciesFeature to the listOfSpeciesFeatures.
The listOfSpeciesFeatures is initialized if necessary.
speciesFeature - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean removeSpeciesFeature(SpeciesFeature speciesFeature)
listOfSpeciesFeatures.speciesFeature - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public SpeciesFeature removeSpeciesFeature(java.lang.String speciesFeatureId)
listOfSpeciesFeatures.speciesFeatureId - the id of the element to be removed from the list.null.public SpeciesFeature removeSpeciesFeature(int i)
listOfSpeciesFeatures at the given index.i - the index where to remove the SpeciesFeature.java.lang.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfSpeciesFeatures)).public SpeciesFeature createSpeciesFeature()
listOfSpeciesFeatures list.listOfSpeciesFeaturespublic SpeciesFeature createSpeciesFeature(java.lang.String id)
SpeciesFeature element and adds it to the
listOfSpeciesFeatures list.id - the identifier that is to be applied to the new element.SpeciesFeature element, which is the last
element in the listOfSpeciesFeatures.public SpeciesFeature getSpeciesFeature(int i)
listOfSpeciesFeatures at the given index.i - the index of the SpeciesFeature element to get.java.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SpeciesFeature getSpeciesFeature(java.lang.String speciesFeatureId)
speciesFeatureId - the id of the SpeciesFeature element to get.null.public int getSpeciesFeatureCount()
SpeciesFeatures in this
MultiSpeciesPlugin.SpeciesFeatures in this
MultiSpeciesPlugin.public int getNumSpeciesFeatures()
SpeciesFeatures in this
MultiSpeciesPlugin.SpeciesFeatures in this
MultiSpeciesPlugin.getSpeciesFeatureCount()public boolean isSetListOfSubListOfSpeciesFeatures()
true if listOfSubListOfSpeciesFeatures contains at least
one element.true if listOfSubListOfSpeciesFeatures contains at least
one element, otherwise false.public ListOf<SubListOfSpeciesFeature> getListOfSubListOfSpeciesFeatures()
listOfSubListOfSpeciesFeatures.
Creates it if it does not already exist.listOfSubListOfSpeciesFeatures.public void setListOfSubListOfSpeciesFeatures(ListOf<SubListOfSpeciesFeature> listOfSubListOfSpeciesFeatures)
ListOf<SubListOfSpeciesFeature>.
If listOfSubListOfSpeciesFeatures was defined before and contains some
elements, they are all unset.listOfSubListOfSpeciesFeatures - the list of SubListOfSpeciesFeaturespublic boolean unsetListOfSubListOfSpeciesFeatures()
true if listOfSubListOfSpeciesFeatures contains at least
one element, otherwise false.public boolean addSubListOfSpeciesFeature(SubListOfSpeciesFeature SubListOfSpeciesFeature)
SubListOfSpeciesFeature to the listOfSubListOfSpeciesFeatures.
The listOfSubListOfSpeciesFeatures is initialized if necessary.
SubListOfSpeciesFeature - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public boolean removeSubListOfSpeciesFeature(SubListOfSpeciesFeature SubListOfSpeciesFeature)
listOfSubListOfSpeciesFeatures.SubListOfSpeciesFeature - the element to be removed from the list.true if the list contained the specified element and it was
removed.List.remove(Object)public SubListOfSpeciesFeature removeSubListOfSpeciesFeature(java.lang.String SubListOfSpeciesFeatureId)
listOfSubListOfSpeciesFeatures.SubListOfSpeciesFeatureId - the id of the element to be removed from the list.null.public SubListOfSpeciesFeature removeSubListOfSpeciesFeature(int i)
listOfSubListOfSpeciesFeatures at the given index.i - the index where to remove the SubListOfSpeciesFeature.java.lang.IndexOutOfBoundsException - if the listOf is not set or if the index is
out of bound ((i < 0) || (i > listOfSubListOfSpeciesFeatures)).public SubListOfSpeciesFeature createSubListOfSpeciesFeature()
listOfSubListOfSpeciesFeatures list.listOfSubListOfSpeciesFeaturespublic SubListOfSpeciesFeature createSubListOfSpeciesFeature(java.lang.String id)
SubListOfSpeciesFeature element and adds it to the
listOfSubListOfSpeciesFeatures list.id - the identifier that is to be applied to the new element.SubListOfSpeciesFeature element, which is the last
element in the listOfSubListOfSpeciesFeatures.public SubListOfSpeciesFeature getSubListOfSpeciesFeature(int i)
listOfSubListOfSpeciesFeatures at the given index.i - the index of the SubListOfSpeciesFeature element to get.java.lang.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public SubListOfSpeciesFeature getSubListOfSpeciesFeature(java.lang.String SubListOfSpeciesFeatureId)
SubListOfSpeciesFeatureId - the id of the SubListOfSpeciesFeature element to get.null.public int getSubListOfSpeciesFeatureCount()
SubListOfSpeciesFeatures in this
MultiSpeciesPlugin.SubListOfSpeciesFeatures in this
MultiSpeciesPlugin.public int getNumSubListOfSpeciesFeatures()
SubListOfSpeciesFeatures in this
MultiSpeciesPlugin.SubListOfSpeciesFeatures in this
MultiSpeciesPlugin.getSubListOfSpeciesFeatureCount()public java.lang.String getSpeciesType()
speciesType.speciesType.public boolean isSetSpeciesType()
speciesType is set.speciesType is set.public void setSpeciesType(java.lang.String speciesType)
speciesType - the value of speciesType to be set.public boolean unsetSpeciesType()
true if speciesType was set before, otherwise false.public boolean getAllowsChildren()
public SBase getChildAt(int childIndex)
public int getChildCount()
public java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in interface SBasePluginwriteXMLAttributes in class AbstractSBasePluginpublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
public int hashCode()
hashCode in interface SBasePluginhashCode in class AbstractSBasePluginpublic boolean equals(java.lang.Object obj)
equals in interface SBasePluginequals in class AbstractSBasePluginCopyright © 2009–2022. All rights reserved.