Jadex 0.96-beta1

jadex.model
Interface IMParameterSet

All Superinterfaces:
IMElement, IMReferenceableElement, IMTypedElementSet
All Known Subinterfaces:
IMPlanParameterSet

public interface IMParameterSet
extends IMTypedElementSet

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.
 
Fields inherited from interface jadex.model.IMReferenceableElement
EXPORTED_FALSE, EXPORTED_SHIELDED, EXPORTED_TRUE
 
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, getExported, setExported
 
Methods inherited from interface jadex.model.IMElement
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName
 

Field Detail

DIRECTION_FIXED

static final String DIRECTION_FIXED
Fixed values are not allowed to be changed and are used for matching messages.

See Also:
Constant Field Values

DIRECTION_IN

static final String DIRECTION_IN
In parameters for parameter elements.

See Also:
Constant Field Values

DIRECTION_OUT

static final String DIRECTION_OUT
Out parameters for parameter elements.

See Also:
Constant Field Values

DIRECTION_INOUT

static final String DIRECTION_INOUT
Inout parameters for parameter elements.

See Also:
Constant Field Values
Method Detail

getDirection

String getDirection()
Get the direction (in/out).

Returns:
The direction of the parameter set.

setDirection

void setDirection(String direction)
Set the direction (in/out).

Parameters:
direction - The direction of the parameter set.

isOptional

boolean isOptional()
Get the optional flag.

Returns:
True, if values for this parameter set are optional.

setOptional

void setOptional(boolean optional)
Set the optional flag.

Parameters:
optional - True, if values for this parameter set are optional.

getDefaultValues

IMExpression[] getDefaultValues()
Get the default values of the parameter.

Returns:
The default values.

createDefaultValue

IMExpression createDefaultValue(String expression)
Create a default values for the parameter.

Parameters:
expression - The expression string.
Returns:
The new value expression.

deleteDefaultValue

void deleteDefaultValue(IMExpression value)
Delete the default values of the parameter.

Parameters:
value - The value expression.

getDefaultValuesExpression

IMExpression getDefaultValuesExpression()
Get the default values expression of the parameter (returning a collection of default values).

Returns:
The default values expression expression (if any).

createDefaultValuesExpression

IMExpression createDefaultValuesExpression(String expression,
                                           String mode)
Create the default values expression for the parameter (returning a collection of default values).

Parameters:
expression - The expression string.
mode - The evaluation mode.
Returns:
The new value expression.

deleteDefaultValuesExpression

void deleteDefaultValuesExpression()
Delete the default values expression of the parameter (returning a collection of default values).


Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.