Class BPMN2Profile.StandardLoopCharacteristicsStereotype
- java.lang.Object
 - 
- 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 static java.lang.StringLOOPCONDITIONA Boolean expression that controls the loop.static java.lang.StringLOOPCOUNTERThe LoopCounter attribute is used at runtime to count the number of loops and is automatically updated by the process engine.static java.lang.StringLOOPMAXIMUMServes as a cap on the number of iterations.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringTESTBEFOREFlag 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 protectedStandardLoopCharacteristicsStereotype(BPMN2Profile profile) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclear()voidclearLoopCondition(Element element)voidclearLoopCounter(Element element)voidclearLoopMaximum(Element element)voidclearTestBefore(Element element)java.lang.StringgetLoopCondition(Element element)PropertygetLoopConditionProperty()java.lang.IntegergetLoopCounter(Element element)PropertygetLoopCounterProperty()java.lang.StringgetLoopMaximum(Element element)PropertygetLoopMaximumProperty()StereotypegetStereotype()Returns stereotype for this wrapper.PropertygetTestBeforeProperty()booleanis(Element element)static booleanisInstance(Element element)java.lang.BooleanisTestBefore(Element element)voidsetLoopCondition(Element element, java.lang.String value)voidsetLoopCounter(Element element, java.lang.Integer value)voidsetLoopMaximum(Element element, java.lang.String value)voidsetTestBefore(Element element, java.lang.Boolean value)- 
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply 
 - 
 
 - 
 
- 
- 
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
 
 
 - 
 
- 
Constructor Detail
- 
StandardLoopCharacteristicsStereotype
protected StandardLoopCharacteristicsStereotype(BPMN2Profile profile)
 
 - 
 
- 
Method Detail
- 
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein 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()
 
- 
is
public boolean is(@CheckForNull Element element) 
- 
isInstance
public static boolean isInstance(@CheckForNull Element element) 
 - 
 
 -