diff options
Diffstat (limited to 'extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNActivity.java')
-rw-r--r-- | extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNActivity.java | 383 |
1 files changed, 383 insertions, 0 deletions
diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNActivity.java b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNActivity.java new file mode 100644 index 00000000000..1cc7072d6d4 --- /dev/null +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNActivity.java @@ -0,0 +1,383 @@ +/** + */ +package org.eclipse.papyrus.bpmn.BPMNProfile; + +import java.util.Map; + +import org.eclipse.emf.common.util.DiagnosticChain; +import org.eclipse.emf.common.util.EList; + +import org.eclipse.uml2.uml.Action; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>BPMN Activity</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#isForCompensation <em>Is For Compensation</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getStartQuantity <em>Start Quantity</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getCompletionQuantity <em>Completion Quantity</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getBase_Action <em>Base Action</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getActivityClass <em>Activity Class</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getProperties <em>Properties</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getDefault <em>Default</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getBoundaryEventRefs <em>Boundary Event Refs</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getDataInputAssociations <em>Data Input Associations</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getDataOutputAssociations <em>Data Output Associations</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getLoopCharacteristics <em>Loop Characteristics</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getResources <em>Resources</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity() + * @model abstract="true" + * @generated + */ +public interface BPMNActivity extends FlowNode { + /** + * Returns the value of the '<em><b>Is For Compensation</b></em>' attribute. + * The default value is <code>"false"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is For Compensation</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Is For Compensation</em>' attribute. + * @see #setIsForCompensation(boolean) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_IsForCompensation() + * @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" + * @generated + */ + boolean isForCompensation(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#isForCompensation <em>Is For Compensation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Is For Compensation</em>' attribute. + * @see #isForCompensation() + * @generated + */ + void setIsForCompensation(boolean value); + + /** + * Returns the value of the '<em><b>Start Quantity</b></em>' attribute. + * The default value is <code>"1"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Start Quantity</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Start Quantity</em>' attribute. + * @see #setStartQuantity(int) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_StartQuantity() + * @model default="1" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false" + * @generated + */ + int getStartQuantity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getStartQuantity <em>Start Quantity</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Start Quantity</em>' attribute. + * @see #getStartQuantity() + * @generated + */ + void setStartQuantity(int value); + + /** + * Returns the value of the '<em><b>Completion Quantity</b></em>' attribute. + * The default value is <code>"1"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Completion Quantity</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Completion Quantity</em>' attribute. + * @see #setCompletionQuantity(int) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_CompletionQuantity() + * @model default="1" dataType="org.eclipse.uml2.types.Integer" required="true" ordered="false" + * @generated + */ + int getCompletionQuantity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getCompletionQuantity <em>Completion Quantity</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Completion Quantity</em>' attribute. + * @see #getCompletionQuantity() + * @generated + */ + void setCompletionQuantity(int value); + + /** + * Returns the value of the '<em><b>Base Action</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Action</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Base Action</em>' reference. + * @see #setBase_Action(Action) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_Base_Action() + * @model required="true" ordered="false" + * @generated + */ + Action getBase_Action(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getBase_Action <em>Base Action</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Action</em>' reference. + * @see #getBase_Action() + * @generated + */ + void setBase_Action(Action value); + + /** + * Returns the value of the '<em><b>Activity Class</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Activity Class</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Activity Class</em>' reference. + * @see #setActivityClass(org.eclipse.uml2.uml.Class) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_ActivityClass() + * @model ordered="false" + * @generated + */ + org.eclipse.uml2.uml.Class getActivityClass(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getActivityClass <em>Activity Class</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Activity Class</em>' reference. + * @see #getActivityClass() + * @generated + */ + void setActivityClass(org.eclipse.uml2.uml.Class value); + + /** + * Returns the value of the '<em><b>Properties</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProperty}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Properties</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Properties</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_Properties() + * @model required="true" ordered="false" + * @generated + */ + EList<BPMNProperty> getProperties(); + + /** + * Returns the value of the '<em><b>Default</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default</em>' reference. + * @see #setDefault(SequenceFlow) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_Default() + * @model ordered="false" + * @generated + */ + SequenceFlow getDefault(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getDefault <em>Default</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default</em>' reference. + * @see #getDefault() + * @generated + */ + void setDefault(SequenceFlow value); + + /** + * Returns the value of the '<em><b>Boundary Event Refs</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.BoundaryEvent}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Boundary Event Refs</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Boundary Event Refs</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_BoundaryEventRefs() + * @model required="true" ordered="false" + * @generated + */ + EList<BoundaryEvent> getBoundaryEventRefs(); + + /** + * Returns the value of the '<em><b>Data Input Associations</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.DataInputAssociation}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Data Input Associations</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Data Input Associations</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_DataInputAssociations() + * @model required="true" ordered="false" + * @generated + */ + EList<DataInputAssociation> getDataInputAssociations(); + + /** + * Returns the value of the '<em><b>Data Output Associations</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.DataOutputAssociation}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Data Output Associations</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Data Output Associations</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_DataOutputAssociations() + * @model required="true" ordered="false" + * @generated + */ + EList<DataOutputAssociation> getDataOutputAssociations(); + + /** + * Returns the value of the '<em><b>Loop Characteristics</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Loop Characteristics</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Loop Characteristics</em>' reference. + * @see #setLoopCharacteristics(LoopCharacteristics) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_LoopCharacteristics() + * @model ordered="false" + * @generated + */ + LoopCharacteristics getLoopCharacteristics(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNActivity#getLoopCharacteristics <em>Loop Characteristics</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Loop Characteristics</em>' reference. + * @see #getLoopCharacteristics() + * @generated + */ + void setLoopCharacteristics(LoopCharacteristics value); + + /** + * Returns the value of the '<em><b>Resources</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Resources</em>' reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Resources</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNActivity_Resources() + * @model required="true" ordered="false" + * @generated + */ + EList<ResourceRole> getResources(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * self.properties = self.base_BPMNActivity.activityClass. ownedAttribute.bpmnProperty + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.resources'" + * @generated + */ + boolean BPMNActivityresources(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMNActivity::/container : RederinableElement the collected values of Action::Activity and Action::inGroup. Constrained to elements stereotyped by BPMNActivity or SubProcess + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.container'" + * @generated + */ + boolean BPMNActivitycontainer(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMNActivity::/resources : ResourceRole [*] = BPMNActivity.activityClass.OwnedAttribute with the ResourceRole stereotype applied. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.properties'" + * @generated + */ + boolean BPMNActivityproperties(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMNActivity::/default : SequenceFlow [0..1] = and outgoingSequenceFlow with guard = "else" + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.default'" + * @generated + */ + boolean BPMNActivitydefault(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMNActivity::/boundaryEventsRefs : BoundaryEvent [*] = accept Event Actions in the same interruptible region as the BPMNActivity action. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.boundaryEventsRefs'" + * @generated + */ + boolean BPMNActivityboundaryEventsRefs(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMNActivity::/loopCharacteristics = inStructuredActivityNode, if the inStructuredActivityNode is a LoopNode with the StandardLoopCharacteristics stereotype applied or an ExpansionRegion with MultiInstanceLoopCharacteristics stereotype applied, otherwise empty. + * @param diagnostics The chain of diagnostics to which problems are to be appended. + * @param context The cache of context-specific information. + * <!-- end-model-doc --> + * @model annotation="http://www.eclipse.org/uml2/2.0.0/UML originalName='BPMNActivity.loopCharacteristics'" + * @generated + */ + boolean BPMNActivityloopCharacteristics(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // BPMNActivity |