Class BPMN2Profile.TransactionStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.TransactionStereotype
- Enclosing class:
 - BPMN2Profile
 
public static class BPMN2Profile.TransactionStereotype
extends ProfileImplementation.StereotypeWrapper
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringThe default value is 1.static final StringThe Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true.static final StringThis attribute is used to uniquely identify BPMN elements.static final Stringstatic final StringA flag that identifies whether this activity is intended for the purposes of compensation.static final StringTransactionMethod is an attribute that defines the technique that will be used to undo a Transaction that has been canceled.static final StringThe elements that make up the internal Sub-Process flow.static final Stringstatic final StringDefines the resource that will perform or will be responsible for the activity.static final StringThe default value is 1.static final Stringstatic final Stringstatic final StringA flag that identifies whether this Sub-Process is an Event Sub-Process. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddBoundaryEventRefs(Element element, Element value) voidaddResources(Element element, Element value) protected voidclear()voidclearBoundaryEventRefs(Element element) voidclearCompletionQuantity(Element element) voidclearDefault(Element element) voidvoidclearIoSpecification(Element element) voidclearIsForCompensation(Element element) voidclearMethod(Element element) voidclearProtocol(Element element) voidclearReferencedDiagram(Element element) voidclearResources(Element element) voidclearStartQuantity(Element element) voidclearState(Element element) voidclearTriggeredByEvent(Element element) getBoundaryEventRefs(Element element) getCompletionQuantity(Element element) getDefault(Element element) getIoSpecification(Element element) getProtocol(Element element) getReferencedDiagram(Element element) getResources(Element element) getStartQuantity(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) isIsForCompensation(Element element) isTriggeredByEvent(Element element) voidremoveBoundaryEventRefs(Element element, Element value) voidremoveResources(Element element, Element value) voidsetBoundaryEventRefs(Element element, Collection<? extends Element> value) voidsetCompletionQuantity(Element element, Integer value) voidsetDefault(Element element, Element value) voidvoidsetIoSpecification(Element element, Element value) voidsetIsForCompensation(Element element, Boolean value) voidsetMethod(Element element, BPMN2Profile.TransactionMethodEnum value) voidsetProtocol(Element element, String value) voidsetReferencedDiagram(Element element, Element value) voidsetResources(Element element, Collection<? extends Element> value) voidsetStartQuantity(Element element, Integer value) voidsetState(Element element, BPMN2Profile.Activity_StateEnum value) voidsetTriggeredByEvent(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply 
- 
Field Details
- 
STEREOTYPE_NAME
- See Also:
 
 - 
METHOD
TransactionMethod is an attribute that defines the technique that will be used to undo a Transaction that has been canceled. The default is compensate, but the attribute MAY be set to store or IMAGE.- See Also:
 
 - 
PROTOCOL
The elements that make up the internal Sub-Process flow. This association is only applicable when the XSD Interchange is used. In the case of the XMI interchange, this association is inherited from the FlowElementsContainer class.- See Also:
 
 - 
REFERENCEDDIAGRAM
- See Also:
 
 - 
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:
 
 - 
BOUNDARYEVENTREFS
- See Also:
 
 - 
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:
 
 - 
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:
 
 - 
IOSPECIFICATION
- See Also:
 
 - 
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:
 
 - 
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:
 
 - 
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:
 
 - 
STATE
- See Also:
 
 - 
ID
This attribute is used to uniquely identify BPMN elements.- See Also:
 
 
 - 
 - 
Constructor Details
- 
TransactionStereotype
 
 - 
 - 
Method Details
- 
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
 getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
 - stereotype
 
 - 
getMethodProperty
 - 
getProtocolProperty
 - 
getReferencedDiagramProperty
 - 
getTriggeredByEventProperty
 - 
getBoundaryEventRefsProperty
 - 
getCompletionQuantityProperty
 - 
getDefaultProperty
 - 
getIoSpecificationProperty
 - 
getIsForCompensationProperty
 - 
getResourcesProperty
 - 
getStartQuantityProperty
 - 
getStateProperty
 - 
getIdProperty
 - 
setMethod
 - 
clearMethod
 - 
getMethod
 - 
setProtocol
 - 
clearProtocol
 - 
getProtocol
 - 
setReferencedDiagram
 - 
clearReferencedDiagram
 - 
getReferencedDiagram
 - 
setTriggeredByEvent
 - 
clearTriggeredByEvent
 - 
isTriggeredByEvent
 - 
setBoundaryEventRefs
public void setBoundaryEventRefs(Element element, @CheckForNull Collection<? extends Element> value)  - 
clearBoundaryEventRefs
 - 
addBoundaryEventRefs
 - 
removeBoundaryEventRefs
 - 
getBoundaryEventRefs
 - 
setCompletionQuantity
 - 
clearCompletionQuantity
 - 
getCompletionQuantity
 - 
setDefault
 - 
clearDefault
 - 
getDefault
 - 
setIoSpecification
 - 
clearIoSpecification
 - 
getIoSpecification
 - 
setIsForCompensation
 - 
clearIsForCompensation
 - 
isIsForCompensation
 - 
setResources
 - 
clearResources
 - 
addResources
 - 
removeResources
 - 
getResources
 - 
setStartQuantity
 - 
clearStartQuantity
 - 
getStartQuantity
 - 
setState
 - 
clearState
 - 
getState
 - 
setId
 - 
clearId
 - 
getId
 - 
clear
protected void clear() - 
is
 - 
isInstance
 
 -