org.sbml.jsbml.math
public class ASTPiecewiseFunctionNode extends ASTFunction
Modifier and Type | Field and Description |
---|---|
private boolean |
hasOtherwise
True iff piecewise element contains an otherwise element
|
private static org.apache.log4j.Logger |
logger
A
Logger for this class. |
private java.lang.Integer |
numPiece
The number of piece elements associated with this MathML
piecewise element
|
listOfNodes, parentSBMLObject
strict, type
listOfListeners, parent, UNKNOWN_ATTRIBUTES, UNKNOWN_ELEMENTS
Constructor and Description |
---|
ASTPiecewiseFunctionNode()
Creates a new
ASTPiecewiseFunctionNode . |
ASTPiecewiseFunctionNode(ASTPiecewiseFunctionNode node)
Copy constructor; Creates a deep copy of the given
ASTPiecewiseFunctionNode . |
Modifier and Type | Method and Description |
---|---|
int |
getNumPiece()
Get the number of piece elements in this
ASTPiecewiseFunctionNode |
boolean |
hasOtherwise()
Returns True iff piecewise element contains an otherwise element
|
private boolean |
isSetNumpiece()
Returns true iff numPiece has been set
|
protected void |
setNumPiece(int numPiece)
Set the number of piece elements in this
ASTPiecewiseFunctionNode |
java.lang.String |
toString() |
addChild, clone, getAllowsChildren, getChildAt, getChildCount, getChildren, getListOfNodes, getListOfNodes, insertChild, prependChild, refersTo, replaceChild, setParentSBMLObject, swapChildren
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
private static final org.apache.log4j.Logger logger
Logger
for this class.private java.lang.Integer numPiece
private boolean hasOtherwise
public ASTPiecewiseFunctionNode()
ASTPiecewiseFunctionNode
.public ASTPiecewiseFunctionNode(ASTPiecewiseFunctionNode node)
ASTPiecewiseFunctionNode
.node
- the ASTPiecewiseFunctionNode
to be copied.public int getNumPiece()
ASTPiecewiseFunctionNode
public boolean hasOtherwise()
private boolean isSetNumpiece()
protected void setNumPiece(int numPiece)
ASTPiecewiseFunctionNode
Integer
- numPiecepublic java.lang.String toString()
toString
in interface ASTNode2
toString
in class ASTFunction