public abstract class LogicalOperator extends org.sbml.jsbml.AbstractSBase implements Association
| Constructor and Description |
|---|
LogicalOperator() |
LogicalOperator(int level,
int version) |
LogicalOperator(LogicalOperator association) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllAssociations(List<Association> listOfAssociations)
Sets the given
ListOf<Association>. |
boolean |
addAssociation(Association association)
Adds a new
Association to the listOfAssociations. |
void |
addChild(Association child)
Identical to calling
addAssociation(Association). |
abstract LogicalOperator |
clone() |
And |
createAnd()
Creates a new
Association element and adds it to the
listOfAssociations list. |
GeneProductRef |
createGeneProductRef()
Creates a new Association element and adds it to the
listOfAssociations list. |
GeneProductRef |
createGeneProductRef(String id)
Creates a new
Association element and adds it to the
listOfAssociations list. |
Or |
createOr()
Creates a new
Association element and adds it to the
listOfAssociations list. |
boolean |
getAllowsChildren() |
Association |
getAssociation(int i)
Gets an element from the
listOfAssociations at the given index. |
int |
getAssociationCount()
Returns the number of
Associations in this LogicalOperator. |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
List<Association> |
getListOfAssociations()
Returns the
listOfAssociations. |
int |
getNumAssociations()
Returns the number of
Associations in this LogicalOperator. |
boolean |
isSetListOfAssociations()
Returns
true if listOfAssociations contains at least one element. |
boolean |
removeAllAssociations()
|
boolean |
removeAssociation(Association association)
Removes an element from the
listOfAssociations. |
Association |
removeAssociation(int i)
Removes an element from the listOfAssociations at the given index.
|
String |
toString() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, equals, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, isValidLevelAndVersionCombination, isValidMetaId, notifyChildChange, readAttribute, registerChild, removeCVTerm, removeCVTerm, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNamespace, setNotes, setNotes, setPackageVersion, setParentSBML, setParentSBMLObject, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNamespace, unsetNotes, unsetPlugin, unsetSBOTerm, writeXMLAttributesaddAllChangeListeners, 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, waitaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, 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, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, readAttribute, 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, unsetSBOTerm, writeXMLAttributesaddAllChangeListeners, 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 LogicalOperator()
public LogicalOperator(int level,
int version)
level - version - public LogicalOperator(LogicalOperator association)
association - public void addAllAssociations(List<Association> listOfAssociations)
ListOf<Association>. If listOfAssociations
was defined before and contains some elements, they are all unset.listOfAssociations - public boolean addAssociation(Association association)
Association to the listOfAssociations.
The listOfAssociations is initialized if necessary.
association - the element to add to the listtrue (as specified by Collection.add(E))Collection.add(Object)public void addChild(Association child)
addAssociation(Association).child - addAssociation(Association)public abstract LogicalOperator clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic And createAnd()
Association element and adds it to the
listOfAssociations list.Association element, which is the last
element in the listOfAssociations.public GeneProductRef createGeneProductRef()
listOfAssociations list.listOfAssociationspublic GeneProductRef createGeneProductRef(String id)
Association element and adds it to the
listOfAssociations list.id - the identifier that is to be applied to the new element.Association element, which is the last
element in the listOfAssociations.public Or createOr()
Association element and adds it to the
listOfAssociations list.Association element, which is the last
element in the listOfAssociations.public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class org.sbml.jsbml.AbstractSBasepublic Association getAssociation(int i)
listOfAssociations at the given index.i - the index of the Association element to get.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public int getAssociationCount()
Associations in this LogicalOperator.Associations in this LogicalOperator.public TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class org.sbml.jsbml.AbstractSBasepublic int getChildCount()
getChildCount in interface TreeNodegetChildCount in class org.sbml.jsbml.AbstractSBasepublic List<Association> getListOfAssociations()
listOfAssociations. Creates it if it does not already exist.listOfAssociations.public int getNumAssociations()
Associations in this LogicalOperator.Associations in this LogicalOperator.getAssociationCount()public boolean isSetListOfAssociations()
true if listOfAssociations contains at least one element.true if listOfAssociations contains at least one element,
otherwise false.public boolean removeAllAssociations()
true if listOfAssociations contains at least one
element,
otherwise false.public boolean removeAssociation(Association association)
listOfAssociations.association - the element to be removed from the list.true if the list contained the specified element and it was removed.List.remove(Object)public Association removeAssociation(int i)
i - the index where to remove the Association.IndexOutOfBoundsException - if the listOf is not set or
if the index is out of bound (index < 0 || index > list.size).public String toString()
toString in class org.sbml.jsbml.AbstractSBaseCopyright © 2009–2016. All rights reserved.