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 StringThe direction.static final StringThe constant for direction in.static final StringThe constant for direction inout.static final StringThe constant for direction out.Fields inherited from class jadex.bpmn.model.MProperty
clazz, initialval, nameFields inherited from class jadex.bpmn.model.MAnnotationElement
annotationsFields 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.ClassInfogetClazz()Get the clazz.Get the direction.jadex.common.UnparsedExpressionGet the initialval.getName()Get the name.booleanisIn()Test if parameter is in (i.e.booleanisOut()Test if parameter is out (i.e.voidsetClazz(jadex.common.ClassInfo clazz) Set the clazz.voidsetDirection(String direction) Set the direction.voidsetInitialValue(jadex.common.UnparsedExpression initialval) Set the initial value.voidSet the name.toString()Get the string representation.Methods inherited from class jadex.bpmn.model.MProperty
getInitialValueString, setInitialValueMethods inherited from class jadex.bpmn.model.MAnnotationElement
addAnnotation, getAnnotationsMethods 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:
getInitialValuein classMProperty- Returns:
- The initialval.
-
setInitialValue
public void setInitialValue(jadex.common.UnparsedExpression initialval) Set the initial value.- Overrides:
setInitialValuein classMProperty- Parameters:
initialval- The initial value to set.
-
toString
Get the string representation.
-