blob: 47a9bde0e507d90f500f1ea0d808851ccdc65b3d [file] [log] [blame]
/**
*/
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.StructuredActivityNode;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Sub Process</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.SubProcess#isTriggeredByEvent <em>Triggered By Event</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.SubProcess#getBase_StructuredActivityNode <em>Base Structured Activity Node</em>}</li>
* <li>{@link org.eclipse.papyrus.bpmn.BPMNProfile.SubProcess#getHasLaneSets <em>Has Lane Sets</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getSubProcess()
* @model
* @generated
*/
public interface SubProcess extends BPMNActivity, FlowElementsContainer {
/**
* Returns the value of the '<em><b>Triggered By Event</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Triggered By Event</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Triggered By Event</em>' attribute.
* @see #setTriggeredByEvent(boolean)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getSubProcess_TriggeredByEvent()
* @model default="false" dataType="org.eclipse.uml2.types.Boolean" required="true" ordered="false"
* @generated
*/
boolean isTriggeredByEvent();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.SubProcess#isTriggeredByEvent <em>Triggered By Event</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Triggered By Event</em>' attribute.
* @see #isTriggeredByEvent()
* @generated
*/
void setTriggeredByEvent(boolean value);
/**
* Returns the value of the '<em><b>Base Structured Activity Node</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Structured Activity Node</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 Structured Activity Node</em>' reference.
* @see #setBase_StructuredActivityNode(StructuredActivityNode)
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getSubProcess_Base_StructuredActivityNode()
* @model required="true" ordered="false"
* @generated
*/
StructuredActivityNode getBase_StructuredActivityNode();
/**
* Sets the value of the '{@link org.eclipse.papyrus.bpmn.BPMNProfile.SubProcess#getBase_StructuredActivityNode <em>Base Structured Activity Node</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Structured Activity Node</em>' reference.
* @see #getBase_StructuredActivityNode()
* @generated
*/
void setBase_StructuredActivityNode(StructuredActivityNode value);
/**
* Returns the value of the '<em><b>Has Lane Sets</b></em>' reference list.
* The list contents are of type {@link org.eclipse.papyrus.bpmn.BPMNProfile.LaneSet}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Has Lane Sets</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>Has Lane Sets</em>' reference list.
* @see org.eclipse.papyrus.bpmn.BPMNProfile.BPMNProfilePackage#getSubProcess_HasLaneSets()
* @model ordered="false"
* @generated
*/
EList<LaneSet> getHasLaneSets();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* StructuredActivityNodes with SubProcess Stereotype applied that have triggeredByEvent=true, and containing initial nodes with Start Event applied that have isInterrupting = false, have isLocallyReentrant = true.
* @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='SubProcess.triggeredByEvent'"
* @generated
*/
boolean SubProcesstriggeredByEvent(DiagnosticChain diagnostics, Map<Object, Object> context);
} // SubProcess