Package jadex.bpmn.model
Class MProperty
- java.lang.Object
-
- jadex.bpmn.model.MIdElement
-
- jadex.bpmn.model.MAnnotationElement
-
- jadex.bpmn.model.MProperty
-
- Direct Known Subclasses:
MParameter
public class MProperty extends MAnnotationElement
A parameter model element.
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassInfoclazzThe clazz.protected UnparsedExpressioninitialvalThe initial value.protected java.lang.StringnameThe name.-
Fields inherited from class jadex.bpmn.model.MAnnotationElement
annotations
-
Fields inherited from class jadex.bpmn.model.MIdElement
id, ID_GENERATOR
-
-
Constructor Summary
Constructors Constructor Description MProperty()Create a new parameter.MProperty(ClassInfo clazz, java.lang.String name, UnparsedExpression initialval)Create a new parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassInfogetClazz()Get the clazz.UnparsedExpressiongetInitialValue()Get the initialval.java.lang.StringgetInitialValueString()Get the initialval.java.lang.StringgetName()Get the name.voidsetClazz(ClassInfo clazz)Set the clazz.voidsetInitialValue(UnparsedExpression initialval)Set the initial value.voidsetInitialValue(java.lang.String 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.MAnnotationElement
addAnnotation, getAnnotations
-
Methods inherited from class jadex.bpmn.model.MIdElement
equals, getId, hashCode, setId
-
-
-
-
Field Detail
-
clazz
protected ClassInfo clazz
The clazz.
-
name
protected java.lang.String name
The name.
-
initialval
protected UnparsedExpression initialval
The initial value.
-
-
Constructor Detail
-
MProperty
public MProperty()
Create a new parameter.
-
MProperty
public MProperty(ClassInfo clazz, java.lang.String name, UnparsedExpression initialval)
Create a new parameter.
-
-
Method Detail
-
getClazz
public ClassInfo getClazz()
Get the clazz.- Returns:
- The clazz.
-
setClazz
public void setClazz(ClassInfo clazz)
Set the clazz.- Parameters:
clazz- The clazz to set.
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name- The name to set.
-
getInitialValue
public UnparsedExpression getInitialValue()
Get the initialval.- Returns:
- The initialval.
-
getInitialValueString
public java.lang.String getInitialValueString()
Get the initialval.- Returns:
- The initialval.
-
setInitialValue
public void setInitialValue(UnparsedExpression initialval)
Set the initial value.- Parameters:
initialval- The initial value to set.
-
setInitialValue
public void setInitialValue(java.lang.String initialval)
Set the initial value.- Parameters:
initialval- The initial value to set.
-
toString
public java.lang.String toString()
Get the string representation.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string representation.
-
-