public abstract class ListOfRenderInformation<T extends RenderInformationBase> extends ListOf<T>
ListOf class and contains one or more objects of type RenderInformationBase.
In addition the ListOfRenderInformation object has the optional attributes versionMajor and versionMinor
as well as an optional DefaultValues element that provides the default values for the RenderInformationBase
objects contained in the list.
ListOf.TypelistOf, listType, otherListNameignoredExtensions, ignoredXMLElements, JSBML_WRONG_SBO_TERM, packageNamelistOfListeners, parent, resourceBundle| Constructor and Description |
|---|
ListOfRenderInformation()
Creates a new
ListOfRenderInformation instance |
ListOfRenderInformation(int level,
int version)
Creates a new
ListOfRenderInformation instance with a level and version. |
ListOfRenderInformation(ListOfRenderInformation<?> obj)
Clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAllowsChildren() |
TreeNode |
getChildAt(int index) |
int |
getChildCount() |
DefaultValues |
getDefaultValues()
Returns the value of
defaultValues. |
short |
getVersionMajor()
Returns the value of versionMajor
|
short |
getVersionMinor()
Returns the value of versionMinor
|
int |
hashCode() |
void |
initDefaults()
Initializes the default values using the namespace.
|
boolean |
isSetDefaultValues()
Returns whether
defaultValues is set. |
boolean |
isSetVersionMajor()
Returns
true if versionMajor is set. |
boolean |
isSetVersionMinor()
Returns
true if versionMinor is set. |
boolean |
readAttribute(String attributeName,
String prefix,
String value) |
void |
setDefaultValues(DefaultValues defaultValues)
Sets the value of defaultValues
|
void |
setVersionMajor(int versionMajor) |
void |
setVersionMajor(short versionMajor)
Sets the value of versionMajor
|
void |
setVersionMinor(int versionMinor) |
void |
setVersionMinor(short versionMinor)
Sets the value of versionMinor
|
boolean |
unsetDefaultValues()
Unsets the variable defaultValues.
|
boolean |
unsetVersionMajor()
Unsets the variable versionMajor
|
boolean |
unsetVersionMinor()
Unsets the variable versionMinor
|
Map<String,String> |
writeXMLAttributes() |
add, add, addAll, addAll, append, clear, clone, contains, containsAll, filterList, firstHit, get, get, getElementName, getFirst, getLast, getOtherListName, getSBaseListType, indexOf, initListOf, isDebugMode, isEmpty, iterator, lastIndexOf, listIterator, listIterator, newInstance, remove, remove, remove, remove, removeAll, removeAll, removeFirst, retainAll, set, setDebugMode, setListOf, setOtherListName, setPackageName, setSBaseListType, setSBaseListType, size, subList, toArray, toArray, unsetSBaseListTypeaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getExtension, getExtensionCount, getExtensionPackages, getFirstElementIndex, getHistory, getId, getIdManager, getLevel, getLevelAndVersion, getMetaId, getModel, getName, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParent, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, 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, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, 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, waitreplaceAll, 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 ListOfRenderInformation()
ListOfRenderInformation instancepublic ListOfRenderInformation(int level,
int version)
ListOfRenderInformation instance with a level and version.level - SBML Levelversion - SBML Versionpublic ListOfRenderInformation(ListOfRenderInformation<?> obj)
public int hashCode()
hashCode in interface Collection<T extends RenderInformationBase>hashCode in interface List<T extends RenderInformationBase>hashCode in interface SBasehashCode in class AbstractSBasepublic boolean equals(Object obj)
equals in interface Collection<T extends RenderInformationBase>equals in interface List<T extends RenderInformationBase>equals in interface SBaseequals in class ListOf<T extends RenderInformationBase>public void initDefaults()
public short getVersionMinor()
public boolean isSetVersionMinor()
true if versionMinor is set.public void setVersionMinor(short versionMinor)
versionMinor - the value of versionMinorpublic boolean unsetVersionMinor()
true, if versionMinor was set before,
otherwise falsepublic short getVersionMajor()
public boolean isSetVersionMajor()
true if versionMajor is set.public void setVersionMajor(short versionMajor)
versionMajor - the value of versionMajorpublic void setVersionMajor(int versionMajor)
versionMajor - setVersionMajor(short)public void setVersionMinor(int versionMinor)
versionMinor - setVersionMinor(short)public boolean unsetVersionMajor()
true, if versionMajor was set before,
otherwise falsepublic DefaultValues getDefaultValues()
defaultValues.defaultValues.public boolean isSetDefaultValues()
defaultValues is set.defaultValues is set.public void setDefaultValues(DefaultValues defaultValues)
defaultValues - the value of defaultValues to be set.public boolean unsetDefaultValues()
true if defaultValues was set before, otherwise false.public boolean getAllowsChildren()
getAllowsChildren in interface TreeNodegetAllowsChildren in class ListOf<T extends RenderInformationBase>public int getChildCount()
getChildCount in interface TreeNodegetChildCount in class ListOf<T extends RenderInformationBase>public TreeNode getChildAt(int index)
getChildAt in interface TreeNodegetChildAt in class ListOf<T extends RenderInformationBase>public Map<String,String> writeXMLAttributes()
writeXMLAttributes in interface SBasewriteXMLAttributes in class AbstractSBasepublic boolean readAttribute(String attributeName, String prefix, String value)
readAttribute in interface SBasereadAttribute in class AbstractSBaseCopyright © 2009–2020. All rights reserved.