Class BPMN2Profile.StandardLoopCharacteristicsStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.StandardLoopCharacteristicsStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.StandardLoopCharacteristicsStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private BPMN2Profile
_p
private Property
loopCondition
static java.lang.String
LOOPCONDITION
A Boolean expression that controls the loop.private Property
loopCounter
static java.lang.String
LOOPCOUNTER
The LoopCounter attribute is used at runtime to count the number of loops and is automatically updated by the process engine.private Property
loopMaximum
static java.lang.String
LOOPMAXIMUM
Serves as a cap on the number of iterations.static java.lang.String
STEREOTYPE_NAME
private Property
testBefore
static java.lang.String
TESTBEFORE
Flag that controls whether the loop condition is evaluated at the beginning (testBefore = true) or at the end (testBefore = false) of the loop iteration.
-
Constructor Summary
Constructors Modifier Constructor Description protected
StandardLoopCharacteristicsStereotype(BPMN2Profile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearLoopCondition(Element element)
void
clearLoopCounter(Element element)
void
clearLoopMaximum(Element element)
void
clearTestBefore(Element element)
java.lang.String
getLoopCondition(Element element)
Property
getLoopConditionProperty()
java.lang.Integer
getLoopCounter(Element element)
Property
getLoopCounterProperty()
java.lang.String
getLoopMaximum(Element element)
Property
getLoopMaximumProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.Property
getTestBeforeProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isTestBefore(Element element)
void
setLoopCondition(Element element, java.lang.String value)
void
setLoopCounter(Element element, java.lang.Integer value)
void
setLoopMaximum(Element element, java.lang.String value)
void
setTestBefore(Element element, java.lang.Boolean value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
LOOPCONDITION
public static final java.lang.String LOOPCONDITION
A Boolean expression that controls the loop. The Activity will only loop as long as this condition is true. The looping behavior may be underspecified, meaning that the modeler may simply document the condition, in which case the loop cannot be formally executed.- See Also:
- Constant Field Values
-
LOOPCOUNTER
public static final java.lang.String LOOPCOUNTER
The LoopCounter attribute is used at runtime to count the number of loops and is automatically updated by the process engine.- See Also:
- Constant Field Values
-
LOOPMAXIMUM
public static final java.lang.String LOOPMAXIMUM
Serves as a cap on the number of iterations.- See Also:
- Constant Field Values
-
TESTBEFORE
public static final java.lang.String TESTBEFORE
Flag that controls whether the loop condition is evaluated at the beginning (testBefore = true) or at the end (testBefore = false) of the loop iteration.- See Also:
- Constant Field Values
-
_p
private final BPMN2Profile _p
-
loopCondition
@CheckForNull private Property loopCondition
-
loopCounter
@CheckForNull private Property loopCounter
-
loopMaximum
@CheckForNull private Property loopMaximum
-
testBefore
@CheckForNull private Property testBefore
-
-
Constructor Detail
-
StandardLoopCharacteristicsStereotype
protected StandardLoopCharacteristicsStereotype(BPMN2Profile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getLoopConditionProperty
@CheckForNull public Property getLoopConditionProperty()
-
getLoopCounterProperty
@CheckForNull public Property getLoopCounterProperty()
-
getLoopMaximumProperty
@CheckForNull public Property getLoopMaximumProperty()
-
getTestBeforeProperty
@CheckForNull public Property getTestBeforeProperty()
-
setLoopCondition
public void setLoopCondition(Element element, @CheckForNull java.lang.String value)
-
clearLoopCondition
public void clearLoopCondition(Element element)
-
getLoopCondition
@CheckForNull public java.lang.String getLoopCondition(Element element)
-
setLoopCounter
public void setLoopCounter(Element element, @CheckForNull java.lang.Integer value)
-
clearLoopCounter
public void clearLoopCounter(Element element)
-
getLoopCounter
@CheckForNull public java.lang.Integer getLoopCounter(Element element)
-
setLoopMaximum
public void setLoopMaximum(Element element, @CheckForNull java.lang.String value)
-
clearLoopMaximum
public void clearLoopMaximum(Element element)
-
getLoopMaximum
@CheckForNull public java.lang.String getLoopMaximum(Element element)
-
setTestBefore
public void setTestBefore(Element element, @CheckForNull java.lang.Boolean value)
-
clearTestBefore
public void clearTestBefore(Element element)
-
isTestBefore
@CheckForNull public java.lang.Boolean isTestBefore(Element element)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-