public abstract class AbstractExpression extends java.lang.Object implements Expression
Modifier and Type | Field and Description |
---|---|
protected Expression[] |
children |
protected CommonContext |
context |
protected InteractionListener |
updateListener |
Constructor and Description |
---|
AbstractExpression() |
Modifier and Type | Method and Description |
---|---|
void |
connect(CommonContext context,
InteractionListener updateListener)
Gives the expression a chance to connect itself to things, if necessary.
|
void |
disconnect()
Tells the expression to disconnect from anything it was connected to.
|
Expression[] |
getChildren()
The children (if any) that this expression is dependent on for its execution
|
void |
setChildren(Expression[] expressions) |
void |
shutdown()
Tells the expression to shutdown any polling operations.
|
void |
startup()
Tells the expression to startup any polling operations.
|
protected void |
typeMismatch(Expression offendingExpression,
java.lang.Class<?> desiredType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getOpName, getType
protected Expression[] children
protected transient CommonContext context
protected InteractionListener updateListener
protected void typeMismatch(Expression offendingExpression, java.lang.Class<?> desiredType)
public Expression[] getChildren()
Expression
getChildren
in interface Expression
public void setChildren(Expression[] expressions)
public void connect(CommonContext context, InteractionListener updateListener)
Expression
connect
in interface Expression
public void disconnect()
Expression
disconnect
in interface Expression
public void shutdown()
Expression
shutdown
in interface Expression
public void startup()
Expression
startup
in interface Expression