Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java155
1 files changed, 82 insertions, 73 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java b/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java
index fee431914..23d00108d 100644
--- a/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/DidacMetaImpl.java
@@ -19,24 +19,23 @@ import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Didac Meta</b></em>'.
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Didac Meta</b></em>'. <!--
+ * end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link lobj.impl.DidacMetaImpl#getGoal <em>Goal</em>}</li>
- * <li>{@link lobj.impl.DidacMetaImpl#getPrecognition <em>Precognition</em>}</li>
+ * <li>{@link lobj.impl.DidacMetaImpl#getGoal <em>Goal</em>}</li>
+ * <li>{@link lobj.impl.DidacMetaImpl#getPrecognition <em>Precognition</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
/**
- * The default value of the '{@link #getGoal() <em>Goal</em>}' attribute.
- * <!-- begin-user-doc -->
+ * The default value of the '{@link #getGoal() <em>Goal</em>}' attribute. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGoal()
* @generated
* @ordered
@@ -44,9 +43,9 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
protected static final String GOAL_EDEFAULT = null;
/**
- * The cached value of the '{@link #getGoal() <em>Goal</em>}' attribute.
- * <!-- begin-user-doc -->
+ * The cached value of the '{@link #getGoal() <em>Goal</em>}' attribute. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getGoal()
* @generated
* @ordered
@@ -54,9 +53,9 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
protected String goal = GOAL_EDEFAULT;
/**
- * The cached value of the '{@link #getPrecognition() <em>Precognition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getPrecognition() <em>Precognition</em>}' containment
+ * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getPrecognition()
* @generated
* @ordered
@@ -64,8 +63,8 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
protected Precognition precognition;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected DidacMetaImpl() {
@@ -73,8 +72,8 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected EClass eStaticClass() {
@@ -82,8 +81,8 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getGoal() {
@@ -91,20 +90,21 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setGoal(String newGoal) {
String oldGoal = goal;
goal = newGoal;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.DIDAC_META__GOAL, oldGoal, goal));
+ eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.DIDAC_META__GOAL, oldGoal,
+ goal));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Precognition getPrecognition() {
@@ -112,123 +112,132 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public NotificationChain basicSetPrecognition(Precognition newPrecognition, NotificationChain msgs) {
Precognition oldPrecognition = precognition;
precognition = newPrecognition;
if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, LobjPackage.DIDAC_META__PRECOGNITION, oldPrecognition, newPrecognition);
- if (msgs == null) msgs = notification; else msgs.add(notification);
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
+ LobjPackage.DIDAC_META__PRECOGNITION, oldPrecognition, newPrecognition);
+ if (msgs == null)
+ msgs = notification;
+ else
+ msgs.add(notification);
}
return msgs;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setPrecognition(Precognition newPrecognition) {
if (newPrecognition != precognition) {
NotificationChain msgs = null;
if (precognition != null)
- msgs = ((InternalEObject)precognition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - LobjPackage.DIDAC_META__PRECOGNITION, null, msgs);
+ msgs = ((InternalEObject) precognition).eInverseRemove(this, EOPPOSITE_FEATURE_BASE
+ - LobjPackage.DIDAC_META__PRECOGNITION, null, msgs);
if (newPrecognition != null)
- msgs = ((InternalEObject)newPrecognition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - LobjPackage.DIDAC_META__PRECOGNITION, null, msgs);
+ msgs = ((InternalEObject) newPrecognition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE
+ - LobjPackage.DIDAC_META__PRECOGNITION, null, msgs);
msgs = basicSetPrecognition(newPrecognition, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.DIDAC_META__PRECOGNITION, newPrecognition, newPrecognition));
+ if (msgs != null)
+ msgs.dispatch();
+ } else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.DIDAC_META__PRECOGNITION,
+ newPrecognition, newPrecognition));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID,
+ NotificationChain msgs) {
switch (featureID) {
- case LobjPackage.DIDAC_META__PRECOGNITION:
- return basicSetPrecognition(null, msgs);
+ case LobjPackage.DIDAC_META__PRECOGNITION:
+ return basicSetPrecognition(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case LobjPackage.DIDAC_META__GOAL:
- return getGoal();
- case LobjPackage.DIDAC_META__PRECOGNITION:
- return getPrecognition();
+ case LobjPackage.DIDAC_META__GOAL:
+ return getGoal();
+ case LobjPackage.DIDAC_META__PRECOGNITION:
+ return getPrecognition();
}
return super.eGet(featureID, resolve, coreType);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case LobjPackage.DIDAC_META__GOAL:
- setGoal((String)newValue);
- return;
- case LobjPackage.DIDAC_META__PRECOGNITION:
- setPrecognition((Precognition)newValue);
- return;
+ case LobjPackage.DIDAC_META__GOAL:
+ setGoal((String) newValue);
+ return;
+ case LobjPackage.DIDAC_META__PRECOGNITION:
+ setPrecognition((Precognition) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void eUnset(int featureID) {
switch (featureID) {
- case LobjPackage.DIDAC_META__GOAL:
- setGoal(GOAL_EDEFAULT);
- return;
- case LobjPackage.DIDAC_META__PRECOGNITION:
- setPrecognition((Precognition)null);
- return;
+ case LobjPackage.DIDAC_META__GOAL:
+ setGoal(GOAL_EDEFAULT);
+ return;
+ case LobjPackage.DIDAC_META__PRECOGNITION:
+ setPrecognition((Precognition) null);
+ return;
}
super.eUnset(featureID);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean eIsSet(int featureID) {
switch (featureID) {
- case LobjPackage.DIDAC_META__GOAL:
- return GOAL_EDEFAULT == null ? goal != null : !GOAL_EDEFAULT.equals(goal);
- case LobjPackage.DIDAC_META__PRECOGNITION:
- return precognition != null;
+ case LobjPackage.DIDAC_META__GOAL:
+ return GOAL_EDEFAULT == null ? goal != null : !GOAL_EDEFAULT.equals(goal);
+ case LobjPackage.DIDAC_META__PRECOGNITION:
+ return precognition != null;
}
return super.eIsSet(featureID);
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy())
+ return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (goal: ");
@@ -237,4 +246,4 @@ public class DidacMetaImpl extends SimpleDidacMetaImpl implements DidacMeta {
return result.toString();
}
-} //DidacMetaImpl
+} // DidacMetaImpl

Back to the top