| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 | |
|  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 get created from 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. | 
| Methods inherited from interface jadex.runtime.IElement | 
| getModelElement, getName | 
| Method Detail | 
public IExpression getExpression(String name)
name - The name of an expression defined in the ADF.
public IExpression createExpression(String expression)
expression - The expression string.
public IExpression createExpression(String expression,
                                    String[] paramnames,
                                    Class[] paramtypes)
expression - The expression string.paramnames - The parameter names.paramtypes - The parameter types.
public ICondition getCondition(String name)
name - The condition name.
public ICondition createCondition(String expression)
expression - The condition expression.
public ICondition createCondition(String expression,
                                  String trigger,
                                  String[] paramnames,
                                  Class[] paramtypes)
expression - The condition expression.trigger - The condition trigger.
public void registerExpression(IMExpression mexpression)
mexpression - The expression model.public void registerExpressionReference(IMExpressionReference mexpression)
mexpression - The expression reference model.public void registerCondition(IMCondition mcondition)
mcondition - The condition model.public void registerConditionReference(IMConditionReference mcondition)
mcondition - The condition reference model.public void deregisterExpression(IMExpression mexpression)
mexpression - The expression model.public void deregisterExpressionReference(IMExpressionReference mexpression)
mexpression - The expression reference model.public void deregisterCondition(IMCondition mcondition)
mcondition - The condition model.public void deregisterConditionReference(IMConditionReference mcondition)
mcondition - The condition reference model.| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.