Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java')
-rwxr-xr-xtests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java229
1 files changed, 115 insertions, 114 deletions
diff --git a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java
index 2cf17d1d9..36712f03a 100755
--- a/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java
+++ b/tests/org.eclipse.emf.teneo.samples/src/org/eclipse/gmf/runtime/notation/impl/IdentityAnchorImpl.java
@@ -19,148 +19,149 @@ import org.eclipse.gmf.runtime.notation.IdentityAnchor;
import org.eclipse.gmf.runtime.notation.NotationPackage;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Identity Anchor</b></em>'.
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Identity Anchor</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.gmf.runtime.notation.impl.IdentityAnchorImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.gmf.runtime.notation.impl.IdentityAnchorImpl#getId <em>Id</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
/*
* @canBeSeenBy %partners
*/
public class IdentityAnchorImpl extends FlatEObjectImpl implements IdentityAnchor {
- /**
- * The default value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
protected static final String ID_EDEFAULT = "anchor"; //$NON-NLS-1$
- /**
- * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getId()
- * @generated
- * @ordered
- */
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
protected String id = ID_EDEFAULT;
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
protected IdentityAnchorImpl() {
- super();
- }
+ super();
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
protected EClass eStaticClass() {
- return NotationPackage.Literals.IDENTITY_ANCHOR;
- }
+ return NotationPackage.Literals.IDENTITY_ANCHOR;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public String getId() {
- return id;
- }
+ return id;
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
public void setId(String newId) {
- String oldId = id;
- id = newId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, NotationPackage.IDENTITY_ANCHOR__ID, oldId, id));
- }
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, NotationPackage.IDENTITY_ANCHOR__ID,
+ oldId, id));
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case NotationPackage.IDENTITY_ANCHOR__ID:
- return getId();
- }
- return eDynamicGet(featureID, resolve, coreType);
- }
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case NotationPackage.IDENTITY_ANCHOR__ID:
+ return getId();
+ }
+ return eDynamicGet(featureID, resolve, coreType);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case NotationPackage.IDENTITY_ANCHOR__ID:
- setId((String)newValue);
- return;
- }
- eDynamicSet(featureID, newValue);
- }
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case NotationPackage.IDENTITY_ANCHOR__ID:
+ setId((String) newValue);
+ return;
+ }
+ eDynamicSet(featureID, newValue);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void eUnset(int featureID) {
- switch (featureID) {
- case NotationPackage.IDENTITY_ANCHOR__ID:
- setId(ID_EDEFAULT);
- return;
- }
- eDynamicUnset(featureID);
- }
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case NotationPackage.IDENTITY_ANCHOR__ID:
+ setId(ID_EDEFAULT);
+ return;
+ }
+ eDynamicUnset(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case NotationPackage.IDENTITY_ANCHOR__ID:
- return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
- }
- return eDynamicIsSet(featureID);
- }
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case NotationPackage.IDENTITY_ANCHOR__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ }
+ return eDynamicIsSet(featureID);
+ }
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
+ /**
+ * <!-- 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(" (id: "); //$NON-NLS-1$
- result.append(id);
- result.append(')');
- return result.toString();
- }
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (id: "); //$NON-NLS-1$
+ result.append(id);
+ result.append(')');
+ return result.toString();
+ }
-} //IdentityAnchorImpl
+} // IdentityAnchorImpl

Back to the top