Class BPMN2Profile.ReceiveTaskStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.ReceiveTaskStereotype
- Enclosing class:
- BPMN2Profile
public static class BPMN2Profile.ReceiveTaskStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
The default value is 1.static final String
The Sequence Flow that will receive a token when none of the conditionExpressions on other outgoing Sequence Flows evaluate to true.static final String
This attribute is used to uniquely identify BPMN elements.static final String
This attribute specifies the technology that will be used to send and receive the Messages.static final String
Receive Tasks can be defined as the instantiation mechanism for the Process with the instantiate attribute.static final String
static final String
A flag that identifies whether this activity is intended for the purposes of compensation.static final String
A Message for the messageRef attribute MAY be entered.static final String
This attribute specifies the operation through which the Receive Task receives the Message.static final String
Defines the resource that will perform or will be responsible for the activity.static final String
The default value is 1.static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBoundaryEventRefs
(Element element, Element value) void
addResources
(Element element, Element value) protected void
clear()
void
clearBoundaryEventRefs
(Element element) void
clearCompletionQuantity
(Element element) void
clearDefault
(Element element) void
void
clearImplementation
(Element element) void
clearInstantiate
(Element element) void
clearIoSpecification
(Element element) void
clearIsForCompensation
(Element element) void
clearMessageRef
(Element element) void
clearOperationRef
(Element element) void
clearResources
(Element element) void
clearStartQuantity
(Element element) void
clearState
(Element element) getBoundaryEventRefs
(Element element) getCompletionQuantity
(Element element) getDefault
(Element element) getImplementation
(Element element) getIoSpecification
(Element element) getMessageRef
(Element element) getOperationRef
(Element element) getResources
(Element element) getStartQuantity
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) isInstantiate
(Element element) isIsForCompensation
(Element element) void
removeBoundaryEventRefs
(Element element, Element value) void
removeResources
(Element element, Element value) void
setBoundaryEventRefs
(Element element, Collection<? extends Element> value) void
setCompletionQuantity
(Element element, Integer value) void
setDefault
(Element element, Element value) void
void
setImplementation
(Element element, BPMN2Profile.ImplementationEnum value) void
setInstantiate
(Element element, Boolean value) void
setIoSpecification
(Element element, Element value) void
setIsForCompensation
(Element element, Boolean value) void
setMessageRef
(Element element, Element value) void
setOperationRef
(Element element, Element value) void
setResources
(Element element, Collection<? extends Element> value) void
setStartQuantity
(Element element, Integer value) void
setState
(Element element, BPMN2Profile.Activity_StateEnum value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
IMPLEMENTATION
This attribute specifies the technology that will be used to send and receive the Messages. Valid values are "##unspecified" for leaving the implementation technology open, "##WebService" for the Web service technology or a URI identifying any other technology or coordination protocol A Web service is the default technology- See Also:
-
INSTANTIATE
Receive Tasks can be defined as the instantiation mechanism for the Process with the instantiate attribute. This attribute MAY be set to true if the Task is the first Activity (i.e., there are no incoming Sequence Flows). Multiple Tasks MAY have this attribute set to true.- See Also:
-
MESSAGEREF
A Message for the messageRef attribute MAY be entered. This indicates that the Message will be received by the Task. The Message in this context is equivalent to an in-only message pattern (Web service). One or more corresponding incoming Message Flow MAY be shown on the diagram. However, the display of the Message Flow is not required. The Message is applied to all incoming Message Flow, but can arrive for only one of the incoming Message Flow for a single instance of the Task.- See Also:
-
OPERATIONREF
This attribute specifies the operation through which the Receive Task receives the Message.- 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
-
ReceiveTaskStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getImplementationProperty
-
getInstantiateProperty
-
getMessageRefProperty
-
getOperationRefProperty
-
getBoundaryEventRefsProperty
-
getCompletionQuantityProperty
-
getDefaultProperty
-
getIoSpecificationProperty
-
getIsForCompensationProperty
-
getResourcesProperty
-
getStartQuantityProperty
-
getStateProperty
-
getIdProperty
-
setImplementation
-
clearImplementation
-
getImplementation
-
setInstantiate
-
clearInstantiate
-
isInstantiate
-
setMessageRef
-
clearMessageRef
-
getMessageRef
-
setOperationRef
-
clearOperationRef
-
getOperationRef
-
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
-