|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The expression base interface.
Field Summary | |
static String |
STANDARD_EXPRESSION_REFERENCE
The standard model element for internal expression references (e.g. for initial values). |
Method Summary | |
IMCondition |
createCondition(String name,
String expression,
String trigger,
boolean exported,
String[] paramnames,
Class[] paramtypes)
Create a new condition. |
IMConditionReference |
createConditionReference(String name,
boolean exported,
String ref)
Create a new condition reference. |
IMExpression |
createExpression(String name,
String expression,
Class clazz,
boolean exported,
String[] paramnames,
Class[] paramtypes)
Create a new expression. |
IMExpressionReference |
createExpressionReference(String name,
boolean exported,
String ref)
Create a new expression reference. |
void |
deleteCondition(IMCondition condition)
Delete a condition. |
void |
deleteConditionReference(IMConditionReference reference)
Delete an condition reference. |
void |
deleteExpression(IMExpression expression)
Delete an expression. |
void |
deleteExpressionReference(IMExpressionReference reference)
Delete an expression reference. |
IMCondition |
getCondition(String name)
Get a condition by name. |
IMConditionReference |
getConditionReference(String name)
Get a condition reference. |
IMConditionReference[] |
getConditionReferences()
Get all condition references. |
IMCondition[] |
getConditions()
Get all defined conditions. |
IMExpression |
getExpression(String name)
Get a expression by name. |
IMExpressionReference |
getExpressionReference(String name)
Get an expression reference. |
IMExpressionReference[] |
getExpressionReferences()
Get all expression references. |
IMExpression[] |
getExpressions()
Get all defined expressions. |
Methods inherited from interface jadex.model.IMBase |
deleteReferenceableElement, getCorrespondingBase, getElementReferences, getReferenceableElement, getReferenceableElements |
Methods inherited from interface jadex.model.IMElement |
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName |
Field Detail |
public static final String STANDARD_EXPRESSION_REFERENCE
Method Detail |
public IMExpression[] getExpressions()
public IMExpression getExpression(String name)
name
- The expression name.
public IMExpression createExpression(String name, String expression, Class clazz, boolean exported, String[] paramnames, Class[] paramtypes)
name
- The expression name.expression
- The expression string.clazz
- The expected type for values.exported
- Flag indicating if this expression may be referenced from outside capabilities.paramnames
- The names of the parameters.paramtypes
- The types of the parameters.
public void deleteExpression(IMExpression expression)
expression
- The expression.public IMExpressionReference[] getExpressionReferences()
public IMExpressionReference getExpressionReference(String name)
name
- The name.
public IMExpressionReference createExpressionReference(String name, boolean exported, String ref)
name
- The name.exported
- Flag indicating if this element may be referenced from outside capabilities.ref
- The referenced expression (or null for abstract).
public void deleteExpressionReference(IMExpressionReference reference)
reference
- The expression reference.public IMCondition[] getConditions()
public IMCondition getCondition(String name)
name
- The condition name.
public IMCondition createCondition(String name, String expression, String trigger, boolean exported, String[] paramnames, Class[] paramtypes)
name
- The name.expression
- The expression string.trigger
- The trigger type (or null for default).exported
- Flag indicating if this event reference may be referenced from outside capabilities.
public void deleteCondition(IMCondition condition)
condition
- The condition.public IMConditionReference[] getConditionReferences()
public IMConditionReference getConditionReference(String name)
name
- The name.
public IMConditionReference createConditionReference(String name, boolean exported, String ref)
name
- The name.exported
- Flag indicating if this element may be referenced from outside capabilities.ref
- The referenced condition (or null for abstract).
public void deleteConditionReference(IMConditionReference reference)
reference
- The condition reference.
|
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.