Package jadex.bpmn.model
Class MParameter
java.lang.Object
jadex.bpmn.model.MIdElement
jadex.bpmn.model.MAnnotationElement
jadex.bpmn.model.MProperty
jadex.bpmn.model.MParameter
A parameter model element.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
The direction.static final String
The constant for direction in.static final String
The constant for direction inout.static final String
The constant for direction out.Fields inherited from class jadex.bpmn.model.MProperty
clazz, initialval, name
Fields inherited from class jadex.bpmn.model.MAnnotationElement
annotations
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new parameter.MParameter
(String direction, jadex.common.ClassInfo clazz, String name, jadex.common.UnparsedExpression initialval) Create a new parameter. -
Method Summary
Modifier and TypeMethodDescriptionjadex.common.ClassInfo
getClazz()
Get the clazz.Get the direction.jadex.common.UnparsedExpression
Get the initialval.getName()
Get the name.boolean
isIn()
Test if parameter is in (i.e.boolean
isOut()
Test if parameter is out (i.e.void
setClazz
(jadex.common.ClassInfo clazz) Set the clazz.void
setDirection
(String direction) Set the direction.void
setInitialValue
(jadex.common.UnparsedExpression initialval) Set the initial value.void
Set the name.toString()
Get the string representation.Methods inherited from class jadex.bpmn.model.MProperty
getInitialValueString, setInitialValue
Methods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotations
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
Field Details
-
DIRECTION_IN
The constant for direction in.- See Also:
-
DIRECTION_OUT
The constant for direction out.- See Also:
-
DIRECTION_INOUT
The constant for direction inout.- See Also:
-
direction
The direction.
-
-
Constructor Details
-
Method Details
-
getDirection
Get the direction.- Returns:
- The direction.
-
setDirection
Set the direction.- Parameters:
direction
- The direction to set.
-
isOut
public boolean isOut()Test if parameter is out (i.e. out or inout).- Returns:
- True, if is a out parameter.
-
isIn
public boolean isIn()Test if parameter is in (i.e. in or inout).- Returns:
- True, if is a in parameter.
-
getClazz
public jadex.common.ClassInfo getClazz()Get the clazz. -
setClazz
public void setClazz(jadex.common.ClassInfo clazz) Set the clazz. -
getName
Get the name. -
setName
Set the name. -
getInitialValue
public jadex.common.UnparsedExpression getInitialValue()Get the initialval.- Overrides:
getInitialValue
in classMProperty
- Returns:
- The initialval.
-
setInitialValue
public void setInitialValue(jadex.common.UnparsedExpression initialval) Set the initial value.- Overrides:
setInitialValue
in classMProperty
- Parameters:
initialval
- The initial value to set.
-
toString
Get the string representation.
-