Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java')
-rw-r--r--tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java173
1 files changed, 88 insertions, 85 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java b/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java
index 5eb973ff9..b5a9d3e8c 100644
--- a/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/lobj/impl/PrecognitionImpl.java
@@ -27,25 +27,24 @@ 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>Precognition</b></em>'.
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Precognition</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link lobj.impl.PrecognitionImpl#getPrecog <em>Precog</em>}</li>
- * <li>{@link lobj.impl.PrecognitionImpl#getInternalRefs <em>Internal Refs</em>}</li>
- * <li>{@link lobj.impl.PrecognitionImpl#getId <em>Id</em>}</li>
+ * <li>{@link lobj.impl.PrecognitionImpl#getPrecog <em>Precog</em>}</li>
+ * <li>{@link lobj.impl.PrecognitionImpl#getInternalRefs <em>Internal Refs</em>}</li>
+ * <li>{@link lobj.impl.PrecognitionImpl#getId <em>Id</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PrecognitionImpl extends EObjectImpl implements Precognition {
/**
- * The default value of the '{@link #getPrecog() <em>Precog</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #getPrecog() <em>Precog</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @see #getPrecog()
* @generated
* @ordered
@@ -53,9 +52,9 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
protected static final String PRECOG_EDEFAULT = null;
/**
- * The cached value of the '{@link #getPrecog() <em>Precog</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getPrecog() <em>Precog</em>}' attribute. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
* @see #getPrecog()
* @generated
* @ordered
@@ -63,9 +62,9 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
protected String precog = PRECOG_EDEFAULT;
/**
- * The cached value of the '{@link #getInternalRefs() <em>Internal Refs</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getInternalRefs() <em>Internal Refs</em>}' containment
+ * reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getInternalRefs()
* @generated
* @ordered
@@ -73,9 +72,9 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
protected EList internalRefs;
/**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @see #getId()
* @generated
* @ordered
@@ -83,9 +82,9 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
protected static final String ID_EDEFAULT = null;
/**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
* @see #getId()
* @generated
* @ordered
@@ -93,8 +92,8 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
protected String id = ID_EDEFAULT;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected PrecognitionImpl() {
@@ -102,8 +101,8 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected EClass eStaticClass() {
@@ -111,8 +110,8 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getPrecog() {
@@ -120,32 +119,34 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setPrecog(String newPrecog) {
String oldPrecog = precog;
precog = newPrecog;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.PRECOGNITION__PRECOG, oldPrecog, precog));
+ eNotify(new ENotificationImpl(this, Notification.SET, LobjPackage.PRECOGNITION__PRECOG,
+ oldPrecog, precog));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EList getInternalRefs() {
if (internalRefs == null) {
- internalRefs = new EObjectContainmentEList(InternalRef.class, this, LobjPackage.PRECOGNITION__INTERNAL_REFS);
+ internalRefs = new EObjectContainmentEList(InternalRef.class, this,
+ LobjPackage.PRECOGNITION__INTERNAL_REFS);
}
return internalRefs;
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getId() {
@@ -153,8 +154,8 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setId(String newId) {
@@ -165,100 +166,102 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
}
/**
- * <!-- 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.PRECOGNITION__INTERNAL_REFS:
- return ((InternalEList)getInternalRefs()).basicRemove(otherEnd, msgs);
+ case LobjPackage.PRECOGNITION__INTERNAL_REFS:
+ return ((InternalEList) getInternalRefs()).basicRemove(otherEnd, 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.PRECOGNITION__PRECOG:
- return getPrecog();
- case LobjPackage.PRECOGNITION__INTERNAL_REFS:
- return getInternalRefs();
- case LobjPackage.PRECOGNITION__ID:
- return getId();
+ case LobjPackage.PRECOGNITION__PRECOG:
+ return getPrecog();
+ case LobjPackage.PRECOGNITION__INTERNAL_REFS:
+ return getInternalRefs();
+ case LobjPackage.PRECOGNITION__ID:
+ return getId();
}
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.PRECOGNITION__PRECOG:
- setPrecog((String)newValue);
- return;
- case LobjPackage.PRECOGNITION__INTERNAL_REFS:
- getInternalRefs().clear();
- getInternalRefs().addAll((Collection)newValue);
- return;
- case LobjPackage.PRECOGNITION__ID:
- setId((String)newValue);
- return;
+ case LobjPackage.PRECOGNITION__PRECOG:
+ setPrecog((String) newValue);
+ return;
+ case LobjPackage.PRECOGNITION__INTERNAL_REFS:
+ getInternalRefs().clear();
+ getInternalRefs().addAll((Collection) newValue);
+ return;
+ case LobjPackage.PRECOGNITION__ID:
+ setId((String) 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.PRECOGNITION__PRECOG:
- setPrecog(PRECOG_EDEFAULT);
- return;
- case LobjPackage.PRECOGNITION__INTERNAL_REFS:
- getInternalRefs().clear();
- return;
- case LobjPackage.PRECOGNITION__ID:
- setId(ID_EDEFAULT);
- return;
+ case LobjPackage.PRECOGNITION__PRECOG:
+ setPrecog(PRECOG_EDEFAULT);
+ return;
+ case LobjPackage.PRECOGNITION__INTERNAL_REFS:
+ getInternalRefs().clear();
+ return;
+ case LobjPackage.PRECOGNITION__ID:
+ setId(ID_EDEFAULT);
+ 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.PRECOGNITION__PRECOG:
- return PRECOG_EDEFAULT == null ? precog != null : !PRECOG_EDEFAULT.equals(precog);
- case LobjPackage.PRECOGNITION__INTERNAL_REFS:
- return internalRefs != null && !internalRefs.isEmpty();
- case LobjPackage.PRECOGNITION__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case LobjPackage.PRECOGNITION__PRECOG:
+ return PRECOG_EDEFAULT == null ? precog != null : !PRECOG_EDEFAULT.equals(precog);
+ case LobjPackage.PRECOGNITION__INTERNAL_REFS:
+ return internalRefs != null && !internalRefs.isEmpty();
+ case LobjPackage.PRECOGNITION__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
}
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(" (precog: ");
@@ -269,4 +272,4 @@ public class PrecognitionImpl extends EObjectImpl implements Precognition {
return result.toString();
}
-} //PrecognitionImpl
+} // PrecognitionImpl

Back to the top