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, waitexecute, getOpName, getTypeprotected Expression[] children
protected transient CommonContext context
protected InteractionListener updateListener
protected void typeMismatch(Expression offendingExpression, java.lang.Class<?> desiredType)
public Expression[] getChildren()
ExpressiongetChildren in interface Expressionpublic void setChildren(Expression[] expressions)
public void connect(CommonContext context, InteractionListener updateListener)
Expressionconnect in interface Expressionpublic void disconnect()
Expressiondisconnect in interface Expressionpublic void shutdown()
Expressionshutdown in interface Expressionpublic void startup()
Expressionstartup in interface Expression