public class NumberValueNode extends ValueNode
Modifier and Type | Field and Description |
---|---|
static int |
DIV
Div operator
|
static int |
MIN
Min operator
|
static int |
MULT
Mult operator
|
static int |
PLUS
Plus operator
|
static int |
UNMIN
unary Min operator
|
static int |
VALUE
It is an attribute of this ate.
|
Constructor and Description |
---|
NumberValueNode(int type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asParseableDefaultValue() |
void |
setLeftChild(NumberValueNode child)
Set the left child.
|
void |
setRightChild(NumberValueNode child)
Set the right hild.
|
void |
setValue(NumberAttribute val)
Set the Value.
|
java.lang.String |
toString() |
float |
value(org.deckfour.xes.model.XTrace pi,
java.util.LinkedList ates,
int ateNr)
Compute the value of this node, either getting the string representation
fo the attribute or giving the literal.
|
public static final int VALUE
public static final int PLUS
public static final int UNMIN
public static final int MIN
public static final int MULT
public static final int DIV
public void setLeftChild(NumberValueNode child)
child
- The left child.public void setRightChild(NumberValueNode child)
child
- The right child.public void setValue(NumberAttribute val)
val
- The value to set.public float value(org.deckfour.xes.model.XTrace pi, java.util.LinkedList ates, int ateNr) throws AttributeNoValueException, ParseAttributeException
pi
- The current process instance.ate
- The current audit trail entry of this pi.AttributeNoValueException
ParseAttributeException
public java.lang.String asParseableDefaultValue()
asParseableDefaultValue
in class ValueNode