|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.util.workflow.BinaryExpression
public final class BinaryExpression
Represents binary expression. Each binary expression consists from left and right expressions combined with binary operator.
Constructor Summary | |
---|---|
BinaryExpression()
Creates a new expression instance. |
|
BinaryExpression(Expression leftExpression,
BinaryOperator operator,
Expression rightExpression)
Creates a new expression instance. |
Method Summary | |
---|---|
java.lang.Object |
compute(Context context)
Computes expression value. |
Expression |
getLeftExpression()
Returns left expression. |
BinaryOperator |
getOperator()
Returns operator. |
Expression |
getRightExpression()
Returns right expression. |
void |
setLeftExpression(Expression value)
Sets left expression. |
void |
setOperator(BinaryOperator value)
Sets operator. |
void |
setRightExpression(Expression value)
Sets right expression. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BinaryExpression(Expression leftExpression, BinaryOperator operator, Expression rightExpression)
leftExpression
- the left expressionoperator
- the operatorrightExpression
- the right expresionpublic BinaryExpression()
Method Detail |
---|
public Expression getLeftExpression()
public void setLeftExpression(Expression value)
value
- the left expressionpublic Expression getRightExpression()
public void setRightExpression(Expression value)
value
- the right expressionpublic BinaryOperator getOperator()
public void setOperator(BinaryOperator value)
value
- the operatorpublic java.lang.Object compute(Context context)
compute
in interface Expression
context
- the workflow context
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |