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
 
 
 
 
- 
 public class MParameter extends MProperty A parameter model element.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringdirectionThe direction.static java.lang.StringDIRECTION_INThe constant for direction in.static java.lang.StringDIRECTION_INOUTThe constant for direction inout.static java.lang.StringDIRECTION_OUTThe constant for direction out.- 
Fields inherited from class jadex.bpmn.model.MPropertyclazz, initialval, name
 - 
Fields inherited from class jadex.bpmn.model.MAnnotationElementannotations
 - 
Fields inherited from class jadex.bpmn.model.MIdElementid, ID_GENERATOR
 
- 
 - 
Constructor SummaryConstructors Constructor Description MParameter()Create a new parameter.MParameter(java.lang.String direction, ClassInfo clazz, java.lang.String name, UnparsedExpression initialval)Create a new parameter.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassInfogetClazz()Get the clazz.java.lang.StringgetDirection()Get the direction.UnparsedExpressiongetInitialValue()Get the initialval.java.lang.StringgetName()Get the name.booleanisIn()Test if parameter is in (i.e.booleanisOut()Test if parameter is out (i.e.voidsetClazz(ClassInfo clazz)Set the clazz.voidsetDirection(java.lang.String direction)Set the direction.voidsetInitialValue(UnparsedExpression initialval)Set the initial value.voidsetName(java.lang.String name)Set the name.java.lang.StringtoString()Get the string representation.- 
Methods inherited from class jadex.bpmn.model.MPropertygetInitialValueString, setInitialValue
 - 
Methods inherited from class jadex.bpmn.model.MAnnotationElementaddAnnotation, getAnnotations
 - 
Methods inherited from class jadex.bpmn.model.MIdElementequals, getId, hashCode, setId
 
- 
 
- 
- 
- 
Field Detail- 
DIRECTION_INpublic static final java.lang.String DIRECTION_IN The constant for direction in.- See Also:
- Constant Field Values
 
 - 
DIRECTION_OUTpublic static final java.lang.String DIRECTION_OUT The constant for direction out.- See Also:
- Constant Field Values
 
 - 
DIRECTION_INOUTpublic static final java.lang.String DIRECTION_INOUT The constant for direction inout.- See Also:
- Constant Field Values
 
 - 
directionprotected java.lang.String direction The direction.
 
- 
 - 
Constructor Detail- 
MParameterpublic MParameter() Create a new parameter.
 - 
MParameterpublic MParameter(java.lang.String direction, ClassInfo clazz, java.lang.String name, UnparsedExpression initialval)Create a new parameter.
 
- 
 - 
Method Detail- 
getDirectionpublic java.lang.String getDirection() Get the direction.- Returns:
- The direction.
 
 - 
setDirectionpublic void setDirection(java.lang.String direction) Set the direction.- Parameters:
- direction- The direction to set.
 
 - 
isOutpublic boolean isOut() Test if parameter is out (i.e. out or inout).- Returns:
- True, if is a out parameter.
 
 - 
isInpublic boolean isIn() Test if parameter is in (i.e. in or inout).- Returns:
- True, if is a in parameter.
 
 - 
getClazzpublic ClassInfo getClazz() Get the clazz.
 - 
setClazzpublic void setClazz(ClassInfo clazz) Set the clazz.
 - 
getNamepublic java.lang.String getName() Get the name.
 - 
setNamepublic void setName(java.lang.String name) Set the name.
 - 
getInitialValuepublic UnparsedExpression getInitialValue() Get the initialval.- Overrides:
- getInitialValuein class- MProperty
- Returns:
- The initialval.
 
 - 
setInitialValuepublic void setInitialValue(UnparsedExpression initialval) Set the initial value.- Overrides:
- setInitialValuein class- MProperty
- Parameters:
- initialval- The initial value to set.
 
 
- 
 
-