java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, org.sbml.jsbml.CallableSBase, org.sbml.jsbml.NamedSBase, org.sbml.jsbml.NamedSBaseWithDerivedUnit, org.sbml.jsbml.SBase, org.sbml.jsbml.SBaseWithDerivedUnit, org.sbml.jsbml.util.TreeNodeWithChangeSupportpublic class Dimension
extends org.sbml.jsbml.AbstractNamedSBase
implements org.sbml.jsbml.CallableSBase
Dimension is used to indicate the parent SBase
is arrayed.| Constructor | Description |
|---|---|
Dimension() |
Creates an Dimension instance
|
Dimension(int level,
int version) |
Creates a Dimension instance with a level and version.
|
Dimension(java.lang.String id) |
Creates a Dimension instance with an id.
|
Dimension(java.lang.String id,
int level,
int version) |
Creates a Dimension instance with an id, level, and version.
|
Dimension(java.lang.String id,
java.lang.String name,
int level,
int version) |
Creates a Dimension instance with an id, name, level, and version.
|
Dimension(Dimension obj) |
Clone constructor
|
| Modifier and Type | Method | Description |
|---|---|---|
Dimension |
clone() |
clones this class
|
boolean |
containsUndeclaredUnits() |
|
boolean |
equals(java.lang.Object obj) |
|
int |
getArrayDimension() |
Returns the value of arrayDimension
|
org.sbml.jsbml.UnitDefinition |
getDerivedUnitDefinition() |
|
java.lang.String |
getDerivedUnits() |
|
java.lang.String |
getSize() |
Returns the value of size
|
int |
hashCode() |
|
void |
initDefaults() |
Initializes the default values using the namespace.
|
boolean |
isIdMandatory() |
|
boolean |
isSetArrayDimension() |
Returns whether arrayDimension is set
|
boolean |
isSetSize() |
Returns whether size is set
|
boolean |
readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value) |
|
void |
setArrayDimension(int arrayDimension) |
Sets the value of arrayDimension
|
void |
setSize(java.lang.String size) |
Sets the value of size
|
boolean |
unsetArrayDimension() |
Unsets the variable arrayDimension
|
boolean |
unsetSize() |
Unsets the variable size
|
java.util.Map<java.lang.String,java.lang.String> |
writeXMLAttributes() |
addCVTerm, addDeclaredNamespace, addExtension, addPlugin, addResources, appendAnnotation, appendAnnotation, appendNotes, appendNotes, checkAndSetPackageNamespaceAndVersion, checkAndSetPackageNamespaceAndVersion, checkAttribute, checkIdentifier, checkLevelAndVersionCompatibility, createHistory, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, fireNodeRemovedEvent, firePropertyChange, getAllDeclaredNamespaces, getAllowsChildren, getAnnotation, getAnnotationString, getChildAt, getChildCount, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, 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, hasExtension, 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, 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, userObjectKeySetgetId, getName, isSetId, isSetName, setId, setName, unsetId, unsetNamefinalize, getClass, notify, notifyAll, wait, wait, waitaddCVTerm, addDeclaredNamespace, addExtension, addPlugin, appendAnnotation, appendAnnotation, appendNotes, appendNotes, createPlugin, disablePackage, enablePackage, enablePackage, filterCVTerms, filterCVTerms, filterCVTerms, filterCVTerms, getAnnotation, getAnnotationString, getCVTerm, getCVTermCount, getCVTerms, getDeclaredNamespaces, getElementByMetaId, getElementBySId, getElementName, getExtension, getExtensionCount, getExtensionPackages, getHistory, getLevel, getLevelAndVersion, getMetaId, getModel, getNamespace, getNotes, getNotesString, getNumCVTerms, getNumPlugins, getPackageName, getPackageVersion, getParentSBMLObject, getPlugin, getSBMLDocument, getSBOTerm, getSBOTermID, getURI, getVersion, hasExtension, hasValidAnnotation, hasValidLevelVersionNamespaceCombination, isExtendedByOtherPackages, isPackageEnabled, isPackageURIEnabled, isPkgEnabled, isPkgURIEnabled, isSetAnnotation, isSetHistory, isSetLevel, isSetLevelAndVersion, isSetMetaId, isSetNotes, isSetPackageVErsion, isSetParentSBMLObject, isSetPlugin, isSetSBOTerm, isSetVersion, registerChild, removeCVTerm, removeCVTerm, removeDeclaredNamespaceByNamespace, removeDeclaredNamespaceByPrefix, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTopLevelAnnotationElement, removeTreeNodeChangeListener, replaceTopLevelAnnotationElement, replaceTopLevelAnnotationElement, setAnnotation, setAnnotation, setAnnotation, setHistory, setLevel, setMetaId, setNotes, setNotes, setPackageVersion, setSBOTerm, setSBOTerm, setThisAsParentSBMLObject, setVersion, unregisterChild, unsetAnnotation, unsetCVTerms, unsetExtension, unsetHistory, unsetMetaId, unsetNotes, unsetPlugin, unsetSBOTermchildren, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeafaddAllChangeListeners, 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 Dimension()
public Dimension(java.lang.String id)
id - the idpublic Dimension(int level,
int version)
level - the SBML levelversion - the SBML versionpublic Dimension(java.lang.String id,
int level,
int version)
id - the idlevel - the SBML levelversion - the SBML versionpublic Dimension(java.lang.String id,
java.lang.String name,
int level,
int version)
id - the idname - the namelevel - the SBML levelversion - the SBML versionpublic Dimension(Dimension obj)
obj - the instance to clonepublic Dimension clone()
clone in interface org.sbml.jsbml.SBaseclone in class org.sbml.jsbml.AbstractSBasepublic void initDefaults()
public boolean isIdMandatory()
isIdMandatory in interface org.sbml.jsbml.NamedSBaseisIdMandatory in interface org.sbml.jsbml.SBaseisIdMandatory in class org.sbml.jsbml.AbstractSBasepublic java.lang.String getSize()
public boolean isSetSize()
public void setSize(java.lang.String size)
size - the value of sizepublic boolean unsetSize()
true, if size was set before,
otherwise falsepublic int getArrayDimension()
public boolean isSetArrayDimension()
public void setArrayDimension(int arrayDimension)
arrayDimension - the value of arrayDimensionpublic boolean unsetArrayDimension()
true, if arrayDimension was set before,
otherwise falsepublic boolean readAttribute(java.lang.String attributeName,
java.lang.String prefix,
java.lang.String value)
readAttribute in interface org.sbml.jsbml.SBasereadAttribute in class org.sbml.jsbml.AbstractSBasepublic java.util.Map<java.lang.String,java.lang.String> writeXMLAttributes()
writeXMLAttributes in interface org.sbml.jsbml.SBasewriteXMLAttributes in class org.sbml.jsbml.AbstractSBasepublic int hashCode()
hashCode in interface org.sbml.jsbml.SBasehashCode in class org.sbml.jsbml.AbstractSBasepublic boolean equals(java.lang.Object obj)
equals in interface org.sbml.jsbml.SBaseequals in class org.sbml.jsbml.AbstractSBasepublic boolean containsUndeclaredUnits()
containsUndeclaredUnits in interface org.sbml.jsbml.SBaseWithDerivedUnitpublic org.sbml.jsbml.UnitDefinition getDerivedUnitDefinition()
getDerivedUnitDefinition in interface org.sbml.jsbml.SBaseWithDerivedUnitpublic java.lang.String getDerivedUnits()
getDerivedUnits in interface org.sbml.jsbml.SBaseWithDerivedUnitCopyright © 2009–2022. All rights reserved.