Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java149
1 files changed, 68 insertions, 81 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java
index db37a0ddb..d3401c35f 100644
--- a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/bpmn2/impl/LinkEventDefinitionImpl.java
@@ -34,26 +34,24 @@ import org.eclipse.emf.ecore.util.EObjectWithInverseResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Link Event Definition</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '
+ * <em><b>Link Event Definition</b></em>'. <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getSource <em>Source</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getTarget <em>Target</em>}</li>
- * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getSource <em>Source</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getTarget <em>Target</em>}</li>
+ * <li>{@link org.eclipse.bpmn2.impl.LinkEventDefinitionImpl#getName <em>Name</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
-public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
- LinkEventDefinition {
+public class LinkEventDefinitionImpl extends EventDefinitionImpl implements LinkEventDefinition {
/**
- * The cached value of the '{@link #getSource() <em>Source</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getSource() <em>Source</em>}' reference list. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getSource()
* @generated
* @ordered
@@ -61,9 +59,9 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
protected EList<LinkEventDefinition> source;
/**
- * The cached value of the '{@link #getTarget() <em>Target</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getTarget() <em>Target</em>}' reference. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @see #getTarget()
* @generated
* @ordered
@@ -71,9 +69,9 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
protected LinkEventDefinition target;
/**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -81,9 +79,9 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
protected static final String NAME_EDEFAULT = null;
/**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getName()
* @generated
* @ordered
@@ -91,8 +89,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
protected String name = NAME_EDEFAULT;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected LinkEventDefinitionImpl() {
@@ -100,8 +98,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -110,23 +108,22 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public List<LinkEventDefinition> getSource() {
if (source == null) {
- source = new EObjectWithInverseResolvingEList<LinkEventDefinition>(
- LinkEventDefinition.class, this,
- Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
+ source = new EObjectWithInverseResolvingEList<LinkEventDefinition>(LinkEventDefinition.class,
+ this, Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
Bpmn2Package.LINK_EVENT_DEFINITION__TARGET);
}
return source;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public LinkEventDefinition getTarget() {
@@ -136,16 +133,15 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
if (target != oldTarget) {
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
- Bpmn2Package.LINK_EVENT_DEFINITION__TARGET,
- oldTarget, target));
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, oldTarget, target));
}
}
return target;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public LinkEventDefinition basicGetTarget() {
@@ -153,19 +149,16 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- public NotificationChain basicSetTarget(LinkEventDefinition newTarget,
- NotificationChain msgs) {
+ public NotificationChain basicSetTarget(LinkEventDefinition newTarget, NotificationChain msgs) {
LinkEventDefinition oldTarget = target;
target = newTarget;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this,
- Notification.SET,
- Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, oldTarget,
- newTarget);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, oldTarget, newTarget);
if (msgs == null)
msgs = notification;
else
@@ -175,8 +168,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setTarget(LinkEventDefinition newTarget) {
@@ -184,24 +177,21 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
NotificationChain msgs = null;
if (target != null)
msgs = ((InternalEObject) target).eInverseRemove(this,
- Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
- LinkEventDefinition.class, msgs);
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE, LinkEventDefinition.class, msgs);
if (newTarget != null)
msgs = ((InternalEObject) newTarget).eInverseAdd(this,
- Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
- LinkEventDefinition.class, msgs);
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE, LinkEventDefinition.class, msgs);
msgs = basicSetTarget(newTarget, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
- Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, newTarget,
- newTarget));
+ Bpmn2Package.LINK_EVENT_DEFINITION__TARGET, newTarget, newTarget));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -209,8 +199,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setName(String newName) {
@@ -222,36 +212,35 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd,
- int featureID, NotificationChain msgs) {
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID,
+ NotificationChain msgs) {
switch (featureID) {
case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getSource())
- .basicAdd(otherEnd, msgs);
+ return ((InternalEList<InternalEObject>) (InternalEList<?>) getSource()).basicAdd(otherEnd,
+ msgs);
case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
if (target != null)
msgs = ((InternalEObject) target).eInverseRemove(this,
- Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE,
- LinkEventDefinition.class, msgs);
+ Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE, LinkEventDefinition.class, msgs);
return basicSetTarget((LinkEventDefinition) otherEnd, msgs);
}
return super.eInverseAdd(otherEnd, featureID, msgs);
}
/**
- * <!-- 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.LINK_EVENT_DEFINITION__SOURCE:
return ((InternalEList<?>) getSource()).basicRemove(otherEnd, msgs);
@@ -262,8 +251,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -282,8 +271,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -292,8 +281,7 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
switch (featureID) {
case Bpmn2Package.LINK_EVENT_DEFINITION__SOURCE:
getSource().clear();
- getSource().addAll(
- (Collection<? extends LinkEventDefinition>) newValue);
+ getSource().addAll((Collection<? extends LinkEventDefinition>) newValue);
return;
case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
setTarget((LinkEventDefinition) newValue);
@@ -306,8 +294,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -327,8 +315,8 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -339,15 +327,14 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
case Bpmn2Package.LINK_EVENT_DEFINITION__TARGET:
return target != null;
case Bpmn2Package.LINK_EVENT_DEFINITION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT
- .equals(name);
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
}
return super.eIsSet(featureID);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -362,4 +349,4 @@ public class LinkEventDefinitionImpl extends EventDefinitionImpl implements
return result.toString();
}
-} //LinkEventDefinitionImpl
+} // LinkEventDefinitionImpl

Back to the top