public class SubstitutionParameterExpression extends ExpressionBase
Constructor and Description |
---|
SubstitutionParameterExpression(int index)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getConstant()
Returns the constant value that the expression represents.
|
int |
getIndex()
Returns the index of the parameter.
|
ExpressionPrecedenceEnum |
getPrecedence()
Returns precedence.
|
boolean |
isSatisfied()
Returns true if the parameter is satisfied, or false if not.
|
void |
setConstant(java.lang.Object constant)
Sets the constant value that the expression represents.
|
void |
toPrecedenceFreeEPL(java.io.StringWriter writer)
Renders the expressions and all it's child expression, in full tree depth, as a string in
language syntax.
|
addChild, getChildren, getTreeObjectName, setChildren, setTreeObjectName, toEPL
public SubstitutionParameterExpression(int index)
index
- is the index of the substitution parameterpublic ExpressionPrecedenceEnum getPrecedence()
Expression
public void toPrecedenceFreeEPL(java.io.StringWriter writer)
ExpressionBase
toPrecedenceFreeEPL
in class ExpressionBase
writer
- is the output to usepublic java.lang.Object getConstant()
public boolean isSatisfied()
public int getIndex()
public void setConstant(java.lang.Object constant)
constant
- is the value, or null to indicate the null value