|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMParameter
Interface for parameters.
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. |
Fields inherited from interface jadex.model.IMReferenceableElement |
---|
EXPORTED_FALSE, EXPORTED_SHIELDED, EXPORTED_TRUE |
Method Summary | |
---|---|
IMExpression |
createBindingOptions(String expression,
String mode)
Create the binding options for the parameter (i.e. a collection of possible values). |
IMExpression |
createDefaultValue(String expression,
String mode)
Create the default value for the parameter. |
void |
deleteBindingOptions()
Delete the binding options of the parameter (i.e. a collection of possible values). |
void |
deleteDefaultValue()
Delete the default value of the parameter. |
IMExpression |
getBindingOptions()
Get the binding options of the parameter (i.e. a collection of possible values). |
IMExpression |
getDefaultValue()
Get the default value of the parameter. |
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.IMTypedElement |
---|
getClazz, getUpdateRate, isTransient, setClazz, setTransient, setUpdateRate |
Methods inherited from interface jadex.model.IMReferenceableElement |
---|
createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, getExported, setExported |
Methods inherited from interface jadex.model.IMElement |
---|
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName |
Field Detail |
---|
static final String DIRECTION_FIXED
static final String DIRECTION_IN
static final String DIRECTION_OUT
static final String DIRECTION_INOUT
Method Detail |
---|
String getDirection()
void setDirection(String direction)
direction
- The direction of the parameter.boolean isOptional()
void setOptional(boolean optional)
optional
- True, if a value for this parameter is optional.IMExpression getDefaultValue()
IMExpression createDefaultValue(String expression, String mode)
expression
- The expression string.mode
- The evaluation mode.
void deleteDefaultValue()
IMExpression getBindingOptions()
IMExpression createBindingOptions(String expression, String mode)
expression
- The expression string.mode
- The evaluation mode.
void deleteBindingOptions()
|
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.