diff options
author | Martin Taal | 2012-10-29 08:50:29 +0000 |
---|---|---|
committer | Martin Taal | 2012-10-29 08:50:29 +0000 |
commit | 34c23a2ff4b133ff43bd9ada4ef7981a229af86e (patch) | |
tree | 110e0ec431243a03f3cd267b1a40262d31a573c8 /core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java | |
parent | 7be7a97feebbd19c9843846e5a4b00a33ae46181 (diff) | |
download | org.eclipse.emf.teneo-34c23a2ff4b133ff43bd9ada4ef7981a229af86e.tar.gz org.eclipse.emf.teneo-34c23a2ff4b133ff43bd9ada4ef7981a229af86e.tar.xz org.eclipse.emf.teneo-34c23a2ff4b133ff43bd9ada4ef7981a229af86e.zip |
Reformatted code, first auditing developments
Diffstat (limited to 'core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java')
-rwxr-xr-x | core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java | 127 |
1 files changed, 65 insertions, 62 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java index af5e95963..d895d7cc1 100755 --- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java +++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/EntityImpl.java @@ -13,24 +13,24 @@ import org.eclipse.emf.teneo.annotations.pannotation.Entity; import org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage; /** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Entity</b></em>'. - * <!-- end-user-doc --> + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Entity</b></em>'. <!-- + * end-user-doc --> * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.EntityImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.EntityImpl#getExtends <em>Extends</em>}</li> + * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.EntityImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.EntityImpl#getExtends <em>Extends + * </em>}</li> * </ul> * </p> - * + * * @generated */ public class EntityImpl extends PAnnotationImpl implements Entity { /** - * 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 @@ -38,9 +38,9 @@ public class EntityImpl extends PAnnotationImpl implements Entity { 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 @@ -48,9 +48,9 @@ public class EntityImpl extends PAnnotationImpl implements Entity { protected String name = NAME_EDEFAULT; /** - * The default value of the '{@link #getExtends() <em>Extends</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The default value of the '{@link #getExtends() <em>Extends</em>}' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * * @see #getExtends() * @generated * @ordered @@ -58,9 +58,9 @@ public class EntityImpl extends PAnnotationImpl implements Entity { protected static final String EXTENDS_EDEFAULT = null; /** - * The cached value of the '{@link #getExtends() <em>Extends</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * The cached value of the '{@link #getExtends() <em>Extends</em>}' attribute. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * * @see #getExtends() * @generated * @ordered @@ -68,8 +68,8 @@ public class EntityImpl extends PAnnotationImpl implements Entity { protected String extends_ = EXTENDS_EDEFAULT; /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ protected EntityImpl() { @@ -77,8 +77,8 @@ public class EntityImpl extends PAnnotationImpl implements Entity { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -87,8 +87,8 @@ public class EntityImpl extends PAnnotationImpl implements Entity { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public String getName() { @@ -96,20 +96,21 @@ public class EntityImpl extends PAnnotationImpl implements Entity { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setName(String newName) { String oldName = name; name = newName; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ENTITY__NAME, oldName, name)); + eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ENTITY__NAME, + oldName, name)); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public String getExtends() { @@ -117,93 +118,95 @@ public class EntityImpl extends PAnnotationImpl implements Entity { } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ public void setExtends(String newExtends) { String oldExtends = extends_; extends_ = newExtends; if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ENTITY__EXTENDS, oldExtends, extends_)); + eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ENTITY__EXTENDS, + oldExtends, extends_)); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { - case PannotationPackage.ENTITY__NAME: - return getName(); - case PannotationPackage.ENTITY__EXTENDS: - return getExtends(); + case PannotationPackage.ENTITY__NAME: + return getName(); + case PannotationPackage.ENTITY__EXTENDS: + return getExtends(); } return super.eGet(featureID, resolve, coreType); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { - case PannotationPackage.ENTITY__NAME: - setName((String)newValue); - return; - case PannotationPackage.ENTITY__EXTENDS: - setExtends((String)newValue); - return; + case PannotationPackage.ENTITY__NAME: + setName((String) newValue); + return; + case PannotationPackage.ENTITY__EXTENDS: + setExtends((String) newValue); + return; } super.eSet(featureID, newValue); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { - case PannotationPackage.ENTITY__NAME: - setName(NAME_EDEFAULT); - return; - case PannotationPackage.ENTITY__EXTENDS: - setExtends(EXTENDS_EDEFAULT); - return; + case PannotationPackage.ENTITY__NAME: + setName(NAME_EDEFAULT); + return; + case PannotationPackage.ENTITY__EXTENDS: + setExtends(EXTENDS_EDEFAULT); + return; } super.eUnset(featureID); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public boolean eIsSet(int featureID) { switch (featureID) { - case PannotationPackage.ENTITY__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case PannotationPackage.ENTITY__EXTENDS: - return EXTENDS_EDEFAULT == null ? extends_ != null : !EXTENDS_EDEFAULT.equals(extends_); + case PannotationPackage.ENTITY__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case PannotationPackage.ENTITY__EXTENDS: + return EXTENDS_EDEFAULT == null ? extends_ != null : !EXTENDS_EDEFAULT.equals(extends_); } return super.eIsSet(featureID); } /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override public String toString() { - if (eIsProxy()) return super.toString(); + if (eIsProxy()) + return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); @@ -214,4 +217,4 @@ public class EntityImpl extends PAnnotationImpl implements Entity { return result.toString(); } -} //EntityImpl +} // EntityImpl |