Class BPMN2Profile.SubProcessStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.SubProcessStereotype
-
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.SubProcessStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
BOUNDARYEVENTREFS
static java.lang.String
COMPLETIONQUANTITY
The default value is 1.static java.lang.String
DEFAULT
The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true.static java.lang.String
ID
This attribute is used to uniquely identify BPMN elements.static java.lang.String
IOSPECIFICATION
static java.lang.String
ISFORCOMPENSATION
A flag that identifies whether this activity is intended for the purposes of compensation.static java.lang.String
REFERENCEDDIAGRAM
static java.lang.String
RESOURCES
Defines the resource that will perform or will be responsible for the activity.static java.lang.String
STARTQUANTITY
The default value is 1.static java.lang.String
STATE
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TRIGGEREDBYEVENT
A flag that identifies whether this Sub-Process is an Event Sub-Process.
-
Constructor Summary
Constructors Modifier Constructor Description protected
SubProcessStereotype(BPMN2Profile profile)
-
Method Summary
-
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
-
REFERENCEDDIAGRAM
public static final java.lang.String REFERENCEDDIAGRAM
- See Also:
- Constant Field Values
-
TRIGGEREDBYEVENT
public static final java.lang.String TRIGGEREDBYEVENT
A flag that identifies whether this Sub-Process is an Event Sub-Process. If false, then this Sub-Process is a normal Sub-Process. If true, the this Sub-Process is an Event Sub-Process and is subject to additional constraints.- See Also:
- Constant Field Values
-
BOUNDARYEVENTREFS
public static final java.lang.String BOUNDARYEVENTREFS
- See Also:
- Constant Field Values
-
COMPLETIONQUANTITY
public static final java.lang.String COMPLETIONQUANTITY
The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must be generated from the Activity. This number of tokens will be sent done any outgoing Sequence Flow (assuming any Sequence Flow Conditions are satisfied). Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.- See Also:
- Constant Field Values
-
DEFAULT
public static final java.lang.String DEFAULT
The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true. The default Sequence Flow should not have a conditionExpression. Any such Expression SHALL be ignored.- See Also:
- Constant Field Values
-
IOSPECIFICATION
public static final java.lang.String IOSPECIFICATION
- See Also:
- Constant Field Values
-
ISFORCOMPENSATION
public static final java.lang.String ISFORCOMPENSATION
A flag that identifies whether this activity is intended for the purposes of compensation. If false, then this activity executes as a result of normal execution flow. If true, this activity is only activated when a Compensation Event is detected and initiated under Compensation Event visibility scope.- See Also:
- Constant Field Values
-
RESOURCES
public static final java.lang.String RESOURCES
Defines the resource that will perform or will be responsible for the activity. The resource, e.g. a performer, can be specified in the form of a specific individual, a group, an organization role or position, or an organization.- See Also:
- Constant Field Values
-
STARTQUANTITY
public static final java.lang.String STARTQUANTITY
The default value is 1. The value MUST NOT be less than 1. This attribute defines the number of tokens that must arrive before the Activity can begin. Note that any value for the attribute that is greater than 1 is an advanced type of modeling and should be used with caution.- See Also:
- Constant Field Values
-
STATE
public static final java.lang.String STATE
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
This attribute is used to uniquely identify BPMN elements.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SubProcessStereotype
protected SubProcessStereotype(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
-
getReferencedDiagramProperty
@CheckForNull public Property getReferencedDiagramProperty()
-
getTriggeredByEventProperty
@CheckForNull public Property getTriggeredByEventProperty()
-
getBoundaryEventRefsProperty
@CheckForNull public Property getBoundaryEventRefsProperty()
-
getCompletionQuantityProperty
@CheckForNull public Property getCompletionQuantityProperty()
-
getDefaultProperty
@CheckForNull public Property getDefaultProperty()
-
getIoSpecificationProperty
@CheckForNull public Property getIoSpecificationProperty()
-
getIsForCompensationProperty
@CheckForNull public Property getIsForCompensationProperty()
-
getResourcesProperty
@CheckForNull public Property getResourcesProperty()
-
getStartQuantityProperty
@CheckForNull public Property getStartQuantityProperty()
-
getStateProperty
@CheckForNull public Property getStateProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
setReferencedDiagram
public void setReferencedDiagram(Element element, @CheckForNull Element value)
-
clearReferencedDiagram
public void clearReferencedDiagram(Element element)
-
setTriggeredByEvent
public void setTriggeredByEvent(Element element, @CheckForNull java.lang.Boolean value)
-
clearTriggeredByEvent
public void clearTriggeredByEvent(Element element)
-
isTriggeredByEvent
@CheckForNull public java.lang.Boolean isTriggeredByEvent(Element element)
-
setBoundaryEventRefs
public void setBoundaryEventRefs(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearBoundaryEventRefs
public void clearBoundaryEventRefs(Element element)
-
setCompletionQuantity
public void setCompletionQuantity(Element element, @CheckForNull java.lang.Integer value)
-
clearCompletionQuantity
public void clearCompletionQuantity(Element element)
-
getCompletionQuantity
@CheckForNull public java.lang.Integer getCompletionQuantity(Element element)
-
clearDefault
public void clearDefault(Element element)
-
clearIoSpecification
public void clearIoSpecification(Element element)
-
setIsForCompensation
public void setIsForCompensation(Element element, @CheckForNull java.lang.Boolean value)
-
clearIsForCompensation
public void clearIsForCompensation(Element element)
-
isIsForCompensation
@CheckForNull public java.lang.Boolean isIsForCompensation(Element element)
-
setResources
public void setResources(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearResources
public void clearResources(Element element)
-
setStartQuantity
public void setStartQuantity(Element element, @CheckForNull java.lang.Integer value)
-
clearStartQuantity
public void clearStartQuantity(Element element)
-
getStartQuantity
@CheckForNull public java.lang.Integer getStartQuantity(Element element)
-
setState
public void setState(Element element, @CheckForNull BPMN2Profile.Activity_StateEnum value)
-
clearState
public void clearState(Element element)
-
getState
@CheckForNull public BPMN2Profile.Activity_StateEnum getState(Element element)
-
setId
public void setId(Element element, @CheckForNull java.lang.String value)
-
clearId
public void clearId(Element element)
-
getId
@CheckForNull public java.lang.String getId(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-