diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java index e78e5d13e3..6a5d69a8e5 100644 --- a/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java +++ b/plugins/org.eclipse.emf.cdo.defs/src/org/eclipse/emf/cdo/defs/impl/CDOViewDefImpl.java @@ -30,19 +30,19 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.defs.impl.CDOViewDefImpl#getCdoSessionDef <em>Cdo Session Def</em>}</li> + * <li>{@link org.eclipse.emf.cdo.defs.impl.CDOViewDefImpl#getCdoSessionDef <em>Cdo Session Def</em>}</li> * </ul> * </p> - * + * * @generated */ public class CDOViewDefImpl extends DefImpl implements CDOViewDef { /** - * The cached value of the '{@link #getCdoSessionDef() <em>Cdo Session Def</em>}' reference. - * <!-- begin-user-doc --> + * The cached value of the '{@link #getCdoSessionDef() <em>Cdo Session Def</em>}' reference. <!-- begin-user-doc --> * <!-- end-user-doc --> + * * @see #getCdoSessionDef() * @generated * @ordered @@ -51,6 +51,7 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ protected CDOViewDefImpl() @@ -60,6 +61,7 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -70,6 +72,7 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public CDOSessionDef getCdoSessionDef() @@ -81,7 +84,8 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef if (cdoSessionDef != oldCdoSessionDef) { if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, oldCdoSessionDef, cdoSessionDef)); + eNotify(new ENotificationImpl(this, Notification.RESOLVE, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, + oldCdoSessionDef, cdoSessionDef)); } } return cdoSessionDef; @@ -89,6 +93,7 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public CDOSessionDef basicGetCdoSessionDef() @@ -98,6 +103,7 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setCdoSessionDef(CDOSessionDef newCdoSessionDef) @@ -105,11 +111,13 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef CDOSessionDef oldCdoSessionDef = cdoSessionDef; cdoSessionDef = newCdoSessionDef; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, oldCdoSessionDef, cdoSessionDef)); + eNotify(new ENotificationImpl(this, Notification.SET, CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF, + oldCdoSessionDef, cdoSessionDef)); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -117,15 +125,17 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef { switch (featureID) { - case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: - if (resolve) return getCdoSessionDef(); - return basicGetCdoSessionDef(); + case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: + if (resolve) + return getCdoSessionDef(); + return basicGetCdoSessionDef(); } return super.eGet(featureID, resolve, coreType); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -133,15 +143,16 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef { switch (featureID) { - case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: - setCdoSessionDef((CDOSessionDef)newValue); - return; + case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: + setCdoSessionDef((CDOSessionDef)newValue); + return; } super.eSet(featureID, newValue); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -149,15 +160,16 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef { switch (featureID) { - case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: - setCdoSessionDef((CDOSessionDef)null); - return; + case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: + setCdoSessionDef((CDOSessionDef)null); + return; } super.eUnset(featureID); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -165,8 +177,8 @@ public class CDOViewDefImpl extends DefImpl implements CDOViewDef { switch (featureID) { - case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: - return cdoSessionDef != null; + case CDODefsPackage.CDO_VIEW_DEF__CDO_SESSION_DEF: + return cdoSessionDef != null; } return super.eIsSet(featureID); } |