Class BPMN2Profile.AdHocSubProcessStereotype

java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.cbm.profiles.BPMN2Profile.AdHocSubProcessStereotype
Enclosing class:
BPMN2Profile

public static class BPMN2Profile.AdHocSubProcessStereotype extends ProfileImplementation.StereotypeWrapper
  • Field Details

    • STEREOTYPE_NAME

      public static final String STEREOTYPE_NAME
      See Also:
    • CANCELREMAININGINSTANCES

      public static final String CANCELREMAININGINSTANCES
      This attribute is used only if ordering is parallel. It determines whether running instances are canceled when the completionCondition becomes true.
      See Also:
    • COMPLETIONCONDITION

      public static final String COMPLETIONCONDITION
      This Expression defines the conditions when the Process will end. When the Expression is evaluated to true, the Process will be terminated.
      See Also:
    • ORDERING

      public static final String ORDERING
      This attribute defines if the Activities within the Process can be performed in parallel or MUST be performed sequentially. The default setting is parallel and the setting of sequential is a restriction on the performance that can be needed due to shared resources. When the setting is sequential, then only one Activity can be performed at a time. When the setting is parallel, then zero (0) to all the Activities of the Sub-Process can be performed in parallel.
      See Also:
    • REFERENCEDDIAGRAM

      public static final String REFERENCEDDIAGRAM
      See Also:
    • TRIGGEREDBYEVENT

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

    • AdHocSubProcessStereotype

      protected AdHocSubProcessStereotype(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
    • getCancelRemainingInstancesProperty

      @CheckForNull public Property getCancelRemainingInstancesProperty()
    • getCompletionConditionProperty

      @CheckForNull public Property getCompletionConditionProperty()
    • getOrderingProperty

      @CheckForNull public Property getOrderingProperty()
    • 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()
    • setCancelRemainingInstances

      public void setCancelRemainingInstances(Element element, @CheckForNull Boolean value)
    • clearCancelRemainingInstances

      public void clearCancelRemainingInstances(Element element)
    • isCancelRemainingInstances

      @CheckForNull public Boolean isCancelRemainingInstances(Element element)
    • setCompletionCondition

      public void setCompletionCondition(Element element, @CheckForNull String value)
    • clearCompletionCondition

      public void clearCompletionCondition(Element element)
    • getCompletionCondition

      @CheckForNull public String getCompletionCondition(Element element)
    • setOrdering

      public void setOrdering(Element element, @CheckForNull BPMN2Profile.AdHocOrderingEnum value)
    • clearOrdering

      public void clearOrdering(Element element)
    • getOrdering

      @CheckForNull public BPMN2Profile.AdHocOrderingEnum getOrdering(Element element)
    • setReferencedDiagram

      public void setReferencedDiagram(Element element, @CheckForNull Element value)
    • clearReferencedDiagram

      public void clearReferencedDiagram(Element element)
    • getReferencedDiagram

      @CheckForNull public Element getReferencedDiagram(Element element)
    • setTriggeredByEvent

      public void setTriggeredByEvent(Element element, @CheckForNull Boolean value)
    • clearTriggeredByEvent

      public void clearTriggeredByEvent(Element element)
    • isTriggeredByEvent

      @CheckForNull public Boolean isTriggeredByEvent(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)