| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IExpressionbase
The expressionbase provides access to the expressions and conditions defined in the ADF and allows to define new expressions and conditions at runtime.
| Method Summary | |
|---|---|
|  void | addConditionListener(String type,
                     IConditionListener listener,
                     boolean async)Add a condition listener. | 
|  ICondition | createCondition(String expression)Create a condition, that is triggered whenever the expression value changes to true. | 
|  ICondition | createCondition(String expression,
                String trigger,
                String[] paramnames,
                Class[] paramtypes)Create a condition. | 
|  IExpression | createExpression(String expression)Create a precompiled expression. | 
|  IExpression | createExpression(String expression,
                 String[] paramnames,
                 Class[] paramtypes)Create a precompiled expression. | 
|  void | deregisterCondition(IMCondition mcondition)Deregister an condition model. | 
|  void | deregisterConditionReference(IMConditionReference mcondition)Deregister an condition reference model. | 
|  void | deregisterExpression(IMExpression mexpression)Deregister an expression model. | 
|  void | deregisterExpressionReference(IMExpressionReference mexpression)Deregister an expression reference model. | 
|  ICondition | getCondition(String name)Get a condition, that is triggered whenever the expression value changes to true. | 
|  IExpression | getExpression(String name)Get a predefined expression. | 
|  void | registerCondition(IMCondition mcondition)Register a new condition model. | 
|  void | registerConditionReference(IMConditionReference mcondition)Register a new condition reference model. | 
|  void | registerExpression(IMExpression mexpression)Register a new expression model. | 
|  void | registerExpressionReference(IMExpressionReference mexpression)Register a new expression reference model. | 
|  void | removeConditionListener(String type,
                        IConditionListener listener)Remove a condition listener. | 
| Methods inherited from interface jadex.runtime.IElement | 
|---|
| getModelElement, getName | 
| Method Detail | 
|---|
IExpression getExpression(String name)
name - The name of an expression defined in the ADF.
IExpression createExpression(String expression)
expression - The expression string.
IExpression createExpression(String expression,
                             String[] paramnames,
                             Class[] paramtypes)
expression - The expression string.paramnames - The parameter names.paramtypes - The parameter types.
ICondition getCondition(String name)
name - The condition name.
ICondition createCondition(String expression)
expression - The condition expression.
ICondition createCondition(String expression,
                           String trigger,
                           String[] paramnames,
                           Class[] paramtypes)
expression - The condition expression.trigger - The condition trigger.
void registerExpression(IMExpression mexpression)
mexpression - The expression model.void registerExpressionReference(IMExpressionReference mexpression)
mexpression - The expression reference model.void registerCondition(IMCondition mcondition)
mcondition - The condition model.void registerConditionReference(IMConditionReference mcondition)
mcondition - The condition reference model.void deregisterExpression(IMExpression mexpression)
mexpression - The expression model.void deregisterExpressionReference(IMExpressionReference mexpression)
mexpression - The expression reference model.void deregisterCondition(IMCondition mcondition)
mcondition - The condition model.void deregisterConditionReference(IMConditionReference mcondition)
mcondition - The condition reference model.
void addConditionListener(String type,
                          IConditionListener listener,
                          boolean async)
type - The condition type.listener - The condition listener.async - True, if the notification should be done on a separate thread.
void removeConditionListener(String type,
                             IConditionListener listener)
type - The condition type.listener - The condition listener.| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.