|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The parameter set behaviour interface.
Field Summary | |
static String |
DIRECTION_FIXED
Fixed values are not allowed to be changed and are used for matching messages. |
static String |
DIRECTION_IN
In parameters for parameter elements. |
static String |
DIRECTION_INOUT
Inout parameters for parameter elements. |
static String |
DIRECTION_OUT
Out parameters for parameter elements. |
Method Summary | |
IMExpression |
createDefaultValue(String expression)
Create a default values for the parameter. |
IMExpression |
createDefaultValuesExpression(String expression,
String mode)
Create the default values expression for the parameter (returning a collection of default values). |
void |
deleteDefaultValue(IMExpression value)
Delete the default values of the parameter. |
void |
deleteDefaultValuesExpression()
Delete the default values expression of the parameter (returning a collection of default values). |
IMExpression[] |
getDefaultValues()
Get the default values of the parameter. |
IMExpression |
getDefaultValuesExpression()
Get the default values expression of the parameter (returning a collection of default values). |
String |
getDirection()
Get the direction (in/out). |
boolean |
isOptional()
Get the optional flag. |
void |
setDirection(String direction)
Set the direction (in/out). |
void |
setOptional(boolean optional)
Set the optional flag. |
Methods inherited from interface jadex.model.IMTypedElementSet |
getClazz, getUpdateRate, isTransient, setClazz, setTransient, setUpdateRate |
Methods inherited from interface jadex.model.IMReferenceableElement |
createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, isExported, setExported |
Methods inherited from interface jadex.model.IMElement |
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName |
Field Detail |
public static final String DIRECTION_FIXED
public static final String DIRECTION_IN
public static final String DIRECTION_OUT
public static final String DIRECTION_INOUT
Method Detail |
public String getDirection()
public void setDirection(String direction)
direction
- The direction of the parameter set.public boolean isOptional()
public void setOptional(boolean optional)
optional
- True, if values for this parameter set are optional.public IMExpression[] getDefaultValues()
public IMExpression createDefaultValue(String expression)
expression
- The expression string.
public void deleteDefaultValue(IMExpression value)
value
- The value expression.public IMExpression getDefaultValuesExpression()
public IMExpression createDefaultValuesExpression(String expression, String mode)
expression
- The expression string.mode
- The evaluation mode.
public void deleteDefaultValuesExpression()
|
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.