diff options
Diffstat (limited to 'extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNProcess.java')
-rw-r--r-- | extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNProcess.java | 367 |
1 files changed, 367 insertions, 0 deletions
diff --git a/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNProcess.java b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNProcess.java new file mode 100644 index 00000000000..12c5f5fc0a3 --- /dev/null +++ b/extraplugins/bpmn/org.eclipse.papyrus.bpmn/src/org/eclipse/papyrus/bpmn/BPMNProfile/BPMNProcess.java @@ -0,0 +1,367 @@ +/** + */ +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.Activity; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>BPMN Process</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getProcessType <em>Process Type</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#isClosed <em>Is Closed</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getAuditing <em>Auditing</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#isExecutable <em>Is Executable</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getBase_Activity <em>Base Activity</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getCorrelationSubscriptions <em>Correlation Subscriptions</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getMonitoring <em>Monitoring</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getSupports <em>Supports</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getProperties <em>Properties</em>}</li> + * <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getResources <em>Resources</em>}</li> + * </ul> + * + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess() + * @model + * @generated + */ +public interface BPMNProcess extends CallableElement, FlowElementsContainer { + /** + * Returns the value of the '<em><b>Process Type</b></em>' attribute. + * The default value is <code>"none"</code>. + * The literals are from the enumeration {@link org.eclipse.papyrus.bpmn.BPMNProfile.ProcessType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Process Type</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Process Type</em>' attribute. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.ProcessType + * @see #setProcessType(ProcessType) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_ProcessType() + * @model default="none" required="true" ordered="false" + * @generated + */ + ProcessType getProcessType(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getProcessType <em>Process Type</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Process Type</em>' attribute. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.ProcessType + * @see #getProcessType() + * @generated + */ + void setProcessType(ProcessType value); + + /** + * Returns the value of the '<em><b>Is Closed</b></em>' attribute. + * The default value is <code>"false"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is Closed</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 Closed</em>' attribute. + * @see #setIsClosed(boolean) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_IsClosed() + * @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false" + * @generated + */ + boolean isClosed(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#isClosed <em>Is Closed</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Is Closed</em>' attribute. + * @see #isClosed() + * @generated + */ + void setIsClosed(boolean value); + + /** + * Returns the value of the '<em><b>Auditing</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Auditing</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Auditing</em>' reference. + * @see #setAuditing(Auditing) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_Auditing() + * @model ordered="false" + * @generated + */ + Auditing getAuditing(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getAuditing <em>Auditing</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Auditing</em>' reference. + * @see #getAuditing() + * @generated + */ + void setAuditing(Auditing value); + + /** + * Returns the value of the '<em><b>Is Executable</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Is Executable</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 Executable</em>' attribute. + * @see #setIsExecutable(boolean) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_IsExecutable() + * @model dataType="org.eclipse.uml2.types.Boolean" ordered="false" + * @generated + */ + boolean isExecutable(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#isExecutable <em>Is Executable</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Is Executable</em>' attribute. + * @see #isExecutable() + * @generated + */ + void setIsExecutable(boolean value); + + /** + * Returns the value of the '<em><b>Definitional Collaboration Ref</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Definitional Collaboration Ref</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Definitional Collaboration Ref</em>' reference. + * @see #setDefinitionalCollaborationRef(BPMNCollaboration) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_DefinitionalCollaborationRef() + * @model ordered="false" + * @generated + */ + BPMNCollaboration getDefinitionalCollaborationRef(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getDefinitionalCollaborationRef <em>Definitional Collaboration Ref</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Definitional Collaboration Ref</em>' reference. + * @see #getDefinitionalCollaborationRef() + * @generated + */ + void setDefinitionalCollaborationRef(BPMNCollaboration value); + + /** + * Returns the value of the '<em><b>Base Activity</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Base Activity</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 Activity</em>' reference. + * @see #setBase_Activity(Activity) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_Base_Activity() + * @model required="true" ordered="false" + * @generated + */ + Activity getBase_Activity(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getBase_Activity <em>Base Activity</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Base Activity</em>' reference. + * @see #getBase_Activity() + * @generated + */ + void setBase_Activity(Activity value); + + /** + * Returns the value of the '<em><b>Correlation Subscriptions</b></em>' reference list. + * The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.CorrelationSubscription}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Correlation Subscriptions</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>Correlation Subscriptions</em>' reference list. + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_CorrelationSubscriptions() + * @model required="true" ordered="false" + * @generated + */ + EList<CorrelationSubscription> getCorrelationSubscriptions(); + + /** + * Returns the value of the '<em><b>Monitoring</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Monitoring</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Monitoring</em>' reference. + * @see #setMonitoring(Monitoring) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_Monitoring() + * @model ordered="false" + * @generated + */ + Monitoring getMonitoring(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getMonitoring <em>Monitoring</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Monitoring</em>' reference. + * @see #getMonitoring() + * @generated + */ + void setMonitoring(Monitoring value); + + /** + * Returns the value of the '<em><b>Supports</b></em>' reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Supports</em>' reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Supports</em>' reference. + * @see #setSupports(BPMNProcess) + * @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getBPMNProcess_Supports() + * @model required="true" ordered="false" + * @generated + */ + BPMNProcess getSupports(); + + /** + * Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProcess#getSupports <em>Supports</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Supports</em>' reference. + * @see #getSupports() + * @generated + */ + void setSupports(BPMNProcess 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#getBPMNProcess_Properties() + * @model required="true" ordered="false" + * @generated + */ + EList<BPMNProperty> getProperties(); + + /** + * 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}. + * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getProcess <em>Process</em>}'. + * <!-- 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#getBPMNProcess_Resources() + * @see org.eclipse.papyrus.bpmn.BPMNProfile.ResourceRole#getProcess + * @model opposite="process" required="true" ordered="false" + * @generated + */ + EList<ResourceRole> getResources(); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * BPMN::Process supportedInterfaceRefs are referenced by UML property RealizedInterface. + * @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='Process.supportedInterfaceRefs'" + * @generated + */ + boolean ProcesssupportedInterfaceRefs(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * self.supports = self.base_Activity./general.extension_Process + * @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='Process.supports'" + * @generated + */ + boolean Processsupports(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * self.properties = self.base_Activity.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='Process.properties'" + * @generated + */ + boolean Processproperties(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Process::/laneSets : LaneSet [*] = Activity.partition + * @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='Process.laneSets'" + * @generated + */ + boolean ProcesslaneSets(DiagnosticChain diagnostics, Map<Object, Object> context); + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Process::/flowElements : RedefinableElement = the collected values of Activity::node, Activity::edge and Activity::group. Constrained to elements stereotyped by BPMN process element stereotypes. + * @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='Process.flowElements'" + * @generated + */ + boolean ProcessflowElements(DiagnosticChain diagnostics, Map<Object, Object> context); + +} // BPMNProcess |