org.sbml.jsbml.math
public class ASTCnRealNode extends ASTCnNumberNode
Modifier and Type | Field and Description |
---|---|
private java.lang.Double |
value
The value of this node
|
parentSBMLObject, strict, type
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
ASTCnRealNode()
Creates a new
ASTCnRealNode that lacks a pointer
to its containing MathContainer . |
ASTCnRealNode(ASTCnRealNode node)
Copy constructor; Creates a deep copy of the given
ASTCnRealNode . |
Modifier and Type | Method and Description |
---|---|
double |
getValue()
Return the value of this node
|
boolean |
isSetValue()
Returns true iff a value has been set
|
void |
setValue(double value)
Set the value of this node
|
java.lang.String |
toString() |
getBase, getUnits, setBase, setUnits
clone, getAllowsChildren, getChildAt, getChildCount
compile, getParentSBMLObject, getType, isStrict, setParent, setParentSBMLObject, setType, toFormula, toLaTeX, toMathML, unsetParentSBMLObject
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, equals, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, getRoot, getTreeNodeChangeListenerCount, getUserObject, hashCode, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, notifyChildChange, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySet
public ASTCnRealNode()
ASTCnRealNode
that lacks a pointer
to its containing MathContainer
.public ASTCnRealNode(ASTCnRealNode node)
ASTCnRealNode
.node
- the ASTCnRealNode
to be copied.public double getValue()
public boolean isSetValue()
null
- public void setValue(double value)
double
- valuepublic java.lang.String toString()
toString
in interface ASTNode2
toString
in class ASTCnNumberNode