Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java131
1 files changed, 62 insertions, 69 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java
index b22c98bb6..94b09e367 100644
--- a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/SubProcessImpl.java
@@ -38,26 +38,25 @@ import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Sub Process</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Sub Process</b></em>'. <!--
+ * end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getLaneSets <em>Lane Sets</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getFlowElements <em>Flow Elements</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getArtifacts <em>Artifacts</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#isTriggeredByEvent <em>Triggered By Event</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getLaneSets <em>Lane Sets</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getFlowElements <em>Flow Elements</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#getArtifacts <em>Artifacts</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.SubProcessImpl#isTriggeredByEvent <em>Triggered By Event</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class SubProcessImpl extends ActivityImpl implements SubProcess {
/**
* The cached value of the '{@link #getLaneSets() <em>Lane Sets</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getLaneSets()
* @generated
* @ordered
@@ -65,9 +64,9 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
protected EList<LaneSet> laneSets;
/**
- * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getFlowElements() <em>Flow Elements</em>}' containment
+ * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getFlowElements()
* @generated
* @ordered
@@ -75,9 +74,9 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
protected EList<FlowElement> flowElements;
/**
- * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getArtifacts() <em>Artifacts</em>}' containment reference
+ * list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getArtifacts()
* @generated
* @ordered
@@ -86,8 +85,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
/**
* The default value of the '{@link #isTriggeredByEvent() <em>Triggered By Event</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isTriggeredByEvent()
* @generated
* @ordered
@@ -96,8 +95,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
/**
* The cached value of the '{@link #isTriggeredByEvent() <em>Triggered By Event</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isTriggeredByEvent()
* @generated
* @ordered
@@ -105,8 +104,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
protected boolean triggeredByEvent = TRIGGERED_BY_EVENT_EDEFAULT;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected SubProcessImpl() {
@@ -114,8 +113,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -124,48 +123,47 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<LaneSet> getLaneSets() {
if (laneSets == null) {
- laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class,
- this, Bpmn2Package.SUB_PROCESS__LANE_SETS);
+ laneSets = new EObjectContainmentEList<LaneSet>(LaneSet.class, this,
+ Bpmn2Package.SUB_PROCESS__LANE_SETS);
}
return laneSets;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<FlowElement> getFlowElements() {
if (flowElements == null) {
- flowElements = new EObjectContainmentEList<FlowElement>(
- FlowElement.class, this,
+ flowElements = new EObjectContainmentEList<FlowElement>(FlowElement.class, this,
Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS);
}
return flowElements;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<Artifact> getArtifacts() {
if (artifacts == null) {
- artifacts = new EObjectContainmentEList<Artifact>(Artifact.class,
- this, Bpmn2Package.SUB_PROCESS__ARTIFACTS);
+ artifacts = new EObjectContainmentEList<Artifact>(Artifact.class, this,
+ Bpmn2Package.SUB_PROCESS__ARTIFACTS);
}
return artifacts;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isTriggeredByEvent() {
@@ -173,8 +171,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setTriggeredByEvent(boolean newTriggeredByEvent) {
@@ -182,35 +180,31 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
triggeredByEvent = newTriggeredByEvent;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT,
- oldTriggeredByEvent, triggeredByEvent));
+ Bpmn2Package.SUB_PROCESS__TRIGGERED_BY_EVENT, oldTriggeredByEvent, triggeredByEvent));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd,
- int featureID, NotificationChain msgs) {
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
+ NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.SUB_PROCESS__LANE_SETS:
- return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd,
- msgs);
+ return ((InternalEList<?>) getLaneSets()).basicRemove(otherEnd, msgs);
case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
- return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd,
- msgs);
+ return ((InternalEList<?>) getFlowElements()).basicRemove(otherEnd, msgs);
case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
- return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd,
- msgs);
+ return ((InternalEList<?>) getArtifacts()).basicRemove(otherEnd, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -229,8 +223,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -243,8 +237,7 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
return;
case Bpmn2Package.SUB_PROCESS__FLOW_ELEMENTS:
getFlowElements().clear();
- getFlowElements().addAll(
- (Collection<? extends FlowElement>) newValue);
+ getFlowElements().addAll((Collection<? extends FlowElement>) newValue);
return;
case Bpmn2Package.SUB_PROCESS__ARTIFACTS:
getArtifacts().clear();
@@ -258,8 +251,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -282,8 +275,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -302,8 +295,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -322,8 +315,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -342,8 +335,8 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -358,4 +351,4 @@ public class SubProcessImpl extends ActivityImpl implements SubProcess {
return result.toString();
}
-} //SubProcessImpl
+} // SubProcessImpl

Back to the top