|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMExpressionbase
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,
String exported,
String[] paramnames,
Class[] paramtypes)
Create a new condition. |
IMConditionReference |
createConditionReference(String name,
String exported,
String ref)
Create a new condition reference. |
IMExpression |
createExpression(String name,
String expression,
Class clazz,
String exported,
String[] paramnames,
Class[] paramtypes)
Create a new expression. |
IMExpressionReference |
createExpressionReference(String name,
String 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, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName |
Field Detail |
---|
static final String STANDARD_EXPRESSION_REFERENCE
Method Detail |
---|
IMExpression[] getExpressions()
IMExpression getExpression(String name)
name
- The expression name.
IMExpression createExpression(String name, String expression, Class clazz, String 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.
void deleteExpression(IMExpression expression)
expression
- The expression.IMExpressionReference[] getExpressionReferences()
IMExpressionReference getExpressionReference(String name)
name
- The name.
IMExpressionReference createExpressionReference(String name, String 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).
void deleteExpressionReference(IMExpressionReference reference)
reference
- The expression reference.IMCondition[] getConditions()
IMCondition getCondition(String name)
name
- The condition name.
IMCondition createCondition(String name, String expression, String trigger, String 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.
void deleteCondition(IMCondition condition)
condition
- The condition.IMConditionReference[] getConditionReferences()
IMConditionReference getConditionReference(String name)
name
- The name.
IMConditionReference createConditionReference(String name, String 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).
void deleteConditionReference(IMConditionReference reference)
reference
- The condition reference.
|
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.