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 Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • IMPLEMENTATION

      public static final String 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

      public static final String 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

      public static final String 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

      public static final String OPERATIONREF
      This attribute specifies the operation through which the Receive Task receives the Message.
      See Also:
    • BOUNDARYEVENTREFS

      public static final String BOUNDARYEVENTREFS
      See Also:
    • COMPLETIONQUANTITY

      public static final 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:
    • DEFAULT

      public static final 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:
    • IOSPECIFICATION

      public static final String IOSPECIFICATION
      See Also:
    • ISFORCOMPENSATION

      public static final 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:
    • RESOURCES

      public static final 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:
    • STARTQUANTITY

      public static final 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:
    • STATE

      public static final String STATE
      See Also:
    • ID

      public static final String ID
      This attribute is used to uniquely identify BPMN elements.
      See Also:
  • Constructor Details

    • ReceiveTaskStereotype

      protected ReceiveTaskStereotype(BPMN2Profile profile)
  • Method Details

    • getStereotype

      public Stereotype getStereotype()
      Description copied from class: ProfileImplementation.StereotypeWrapper
      Returns stereotype for this wrapper.
      Specified by:
      getStereotype in class ProfileImplementation.StereotypeWrapper
      Returns:
      stereotype
    • getImplementationProperty

      @CheckForNull public Property getImplementationProperty()
    • getInstantiateProperty

      @CheckForNull public Property getInstantiateProperty()
    • getMessageRefProperty

      @CheckForNull public Property getMessageRefProperty()
    • getOperationRefProperty

      @CheckForNull public Property getOperationRefProperty()
    • 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()
    • setImplementation

      public void setImplementation(Element element, @CheckForNull BPMN2Profile.ImplementationEnum value)
    • clearImplementation

      public void clearImplementation(Element element)
    • getImplementation

      @CheckForNull public BPMN2Profile.ImplementationEnum getImplementation(Element element)
    • setInstantiate

      public void setInstantiate(Element element, @CheckForNull Boolean value)
    • clearInstantiate

      public void clearInstantiate(Element element)
    • isInstantiate

      @CheckForNull public Boolean isInstantiate(Element element)
    • setMessageRef

      public void setMessageRef(Element element, @CheckForNull Element value)
    • clearMessageRef

      public void clearMessageRef(Element element)
    • getMessageRef

      @CheckForNull public Element getMessageRef(Element element)
    • setOperationRef

      public void setOperationRef(Element element, @CheckForNull Element value)
    • clearOperationRef

      public void clearOperationRef(Element element)
    • getOperationRef

      @CheckForNull public Element getOperationRef(Element element)
    • setBoundaryEventRefs

      public void setBoundaryEventRefs(Element element, @CheckForNull Collection<? extends Element> value)
    • clearBoundaryEventRefs

      public void clearBoundaryEventRefs(Element element)
    • addBoundaryEventRefs

      public void addBoundaryEventRefs(Element element, Element value)
    • removeBoundaryEventRefs

      public void removeBoundaryEventRefs(Element element, Element value)
    • getBoundaryEventRefs

      public List<Element> getBoundaryEventRefs(Element element)
    • setCompletionQuantity

      public void setCompletionQuantity(Element element, @CheckForNull Integer value)
    • clearCompletionQuantity

      public void clearCompletionQuantity(Element element)
    • getCompletionQuantity

      @CheckForNull public Integer getCompletionQuantity(Element element)
    • setDefault

      public void setDefault(Element element, @CheckForNull Element value)
    • clearDefault

      public void clearDefault(Element element)
    • getDefault

      @CheckForNull public Element getDefault(Element element)
    • setIoSpecification

      public void setIoSpecification(Element element, @CheckForNull Element value)
    • clearIoSpecification

      public void clearIoSpecification(Element element)
    • getIoSpecification

      @CheckForNull public Element getIoSpecification(Element element)
    • setIsForCompensation

      public void setIsForCompensation(Element element, @CheckForNull Boolean value)
    • clearIsForCompensation

      public void clearIsForCompensation(Element element)
    • isIsForCompensation

      @CheckForNull public Boolean isIsForCompensation(Element element)
    • setResources

      public void setResources(Element element, @CheckForNull Collection<? extends Element> value)
    • clearResources

      public void clearResources(Element element)
    • addResources

      public void addResources(Element element, Element value)
    • removeResources

      public void removeResources(Element element, Element value)
    • getResources

      public List<Element> getResources(Element element)
    • setStartQuantity

      public void setStartQuantity(Element element, @CheckForNull Integer value)
    • clearStartQuantity

      public void clearStartQuantity(Element element)
    • getStartQuantity

      @CheckForNull public 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 String value)
    • clearId

      public void clearId(Element element)
    • getId

      @CheckForNull public String getId(Element element)
    • clear

      protected void clear()
    • is

      public boolean is(@CheckForNull Element element)
    • isInstance

      public static boolean isInstance(@CheckForNull Element element)