public class ListOfObjectives extends ListOf<Objective>
ListOf classes, ListOfObjectives adds an additional
required attribute activeObjective.ListOf.TypeignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
ListOfObjectives() |
ListOfObjectives(int level,
int version) |
ListOfObjectives(ListOf<Objective> listOf) |
ListOfObjectives(ListOfObjectives listOf) |
| Modifier and Type | Method and Description |
|---|---|
ListOf<Objective> |
clone() |
String |
getActiveObjective()
Returns the value of activeObjective
|
Objective |
getActiveObjectiveInstance()
Iterates through this list until it finds
|
String |
getElementName() |
boolean |
isSetActiveObjective()
Returns whether activeObjective is set
|
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setActiveObjective(Objective activeObjective)
Sets the value of
activeObjective to the id of the given Objective. |
void |
setActiveObjective(String activeObjective)
This attribute refers to an id of an existing
Objective. |
boolean |
unsetActiveObjective()
Unsets the variable activeObjective
|
Map<String,String> |
writeXMLAttributes() |
add, add, addAll, addAll, append, clear, contains, containsAll, equals, filterList, firstHit, get, get, getAllowsChildren, getChildAt, getChildCount, getFirst, getLast, getSBaseListType, indexOf, initListOf, isDebugMode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, newInstance, remove, remove, remove, remove, removeAll, removeAll, removeFirst, retainAll, set, setDebugMode, setListOf, setPackageName, setSBaseListType, setSBaseListType, size, subList, toArray, toArray, unsetSBaseListTypeaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, 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, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hashCode, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isIdMandatory, 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, 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, isLeaf, isReadingInProgress, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, setParent, toString, userObjectKeySetfinalize, getClass, notify, notifyAll, wait, wait, waithashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamremoveTreeNodeChangeListeneraddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic ListOfObjectives()
public ListOfObjectives(int level,
int version)
level - version - public ListOfObjectives(ListOfObjectives listOf)
listOf - public String getActiveObjective()
public Objective getActiveObjectiveInstance()
public String getElementName()
getElementName in interface SBasegetElementName in class ListOf<Objective>public boolean isSetActiveObjective()
public boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class ListOf<Objective>public void setActiveObjective(String activeObjective)
Objective. This attribute
exists so that multiple objectives are defined in a single model, the model will
always be well-defined, i.e., there is a single objective function which defines
a single optimum.
Sets the value of activeObjectiveactiveObjective - public void setActiveObjective(Objective activeObjective)
activeObjective to the id of the given Objective.activeObjective - setActiveObjective(String)public boolean unsetActiveObjective()
true, if activeObjective was set before,
otherwise falsepublic Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBaseCopyright © 2009–2016. All rights reserved.