Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java')
-rw-r--r--core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java288
1 files changed, 151 insertions, 137 deletions
diff --git a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java
index fc8390eb3..2475eb6ca 100644
--- a/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java
+++ b/core/org.eclipse.emf.teneo.annotations/src/org/eclipse/emf/teneo/annotations/pannotation/impl/OrderColumnImpl.java
@@ -7,36 +7,38 @@
package org.eclipse.emf.teneo.annotations.pannotation.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.emf.teneo.annotations.pannotation.OrderColumn;
import org.eclipse.emf.teneo.annotations.pannotation.PannotationPackage;
/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Order Column</b></em>'.
+ * <!-- begin-user-doc --> An implementation of the model object '<em><b>Order Column</b></em>'.
* <!-- end-user-doc -->
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isNullable <em>Nullable</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isInsertable <em>Insertable</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isUpdatable <em>Updatable</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#getColumnDefinition <em>Column Definition</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#getName <em>Name
+ * </em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isNullable <em>
+ * Nullable</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isInsertable <em>
+ * Insertable</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#isUpdatable <em>
+ * Updatable</em>}</li>
+ * <li>
+ * {@link org.eclipse.emf.teneo.annotations.pannotation.impl.OrderColumnImpl#getColumnDefinition
+ * <em>Column Definition</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
/**
- * 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
@@ -44,9 +46,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
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
@@ -54,9 +56,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected String name = NAME_EDEFAULT;
/**
- * The default value of the '{@link #isNullable() <em>Nullable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #isNullable() <em>Nullable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isNullable()
* @generated
* @ordered
@@ -64,9 +66,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected static final boolean NULLABLE_EDEFAULT = true;
/**
- * The cached value of the '{@link #isNullable() <em>Nullable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #isNullable() <em>Nullable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isNullable()
* @generated
* @ordered
@@ -74,18 +76,18 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected boolean nullable = NULLABLE_EDEFAULT;
/**
- * This is true if the Nullable attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * This is true if the Nullable attribute has been set. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
* @generated
* @ordered
*/
protected boolean nullableESet;
/**
- * The default value of the '{@link #isInsertable() <em>Insertable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #isInsertable() <em>Insertable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isInsertable()
* @generated
* @ordered
@@ -93,9 +95,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected static final boolean INSERTABLE_EDEFAULT = true;
/**
- * The cached value of the '{@link #isInsertable() <em>Insertable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #isInsertable() <em>Insertable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isInsertable()
* @generated
* @ordered
@@ -103,9 +105,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected boolean insertable = INSERTABLE_EDEFAULT;
/**
- * The default value of the '{@link #isUpdatable() <em>Updatable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The default value of the '{@link #isUpdatable() <em>Updatable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isUpdatable()
* @generated
* @ordered
@@ -113,9 +115,9 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected static final boolean UPDATABLE_EDEFAULT = true;
/**
- * The cached value of the '{@link #isUpdatable() <em>Updatable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * The cached value of the '{@link #isUpdatable() <em>Updatable</em>}' attribute. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #isUpdatable()
* @generated
* @ordered
@@ -124,8 +126,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
/**
* The default value of the '{@link #getColumnDefinition() <em>Column Definition</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getColumnDefinition()
* @generated
* @ordered
@@ -134,8 +136,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
/**
* The cached value of the '{@link #getColumnDefinition() <em>Column Definition</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #getColumnDefinition()
* @generated
* @ordered
@@ -143,8 +145,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
protected String columnDefinition = COLUMN_DEFINITION_EDEFAULT;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected OrderColumnImpl() {
@@ -152,8 +154,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -162,8 +164,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName() {
@@ -171,20 +173,21 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- 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.ORDER_COLUMN__NAME, oldName, name));
+ eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ORDER_COLUMN__NAME,
+ oldName, name));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isNullable() {
@@ -192,8 +195,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setNullable(boolean newNullable) {
@@ -202,12 +205,13 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
boolean oldNullableESet = nullableESet;
nullableESet = true;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ORDER_COLUMN__NULLABLE, oldNullable, nullable, !oldNullableESet));
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ PannotationPackage.ORDER_COLUMN__NULLABLE, oldNullable, nullable, !oldNullableESet));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void unsetNullable() {
@@ -216,12 +220,14 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
nullable = NULLABLE_EDEFAULT;
nullableESet = false;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, PannotationPackage.ORDER_COLUMN__NULLABLE, oldNullable, NULLABLE_EDEFAULT, oldNullableESet));
+ eNotify(new ENotificationImpl(this, Notification.UNSET,
+ PannotationPackage.ORDER_COLUMN__NULLABLE, oldNullable, NULLABLE_EDEFAULT,
+ oldNullableESet));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isSetNullable() {
@@ -229,8 +235,8 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isInsertable() {
@@ -238,20 +244,21 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setInsertable(boolean newInsertable) {
boolean oldInsertable = insertable;
insertable = newInsertable;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ORDER_COLUMN__INSERTABLE, oldInsertable, insertable));
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ PannotationPackage.ORDER_COLUMN__INSERTABLE, oldInsertable, insertable));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isUpdatable() {
@@ -259,20 +266,21 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setUpdatable(boolean newUpdatable) {
boolean oldUpdatable = updatable;
updatable = newUpdatable;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ORDER_COLUMN__UPDATABLE, oldUpdatable, updatable));
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ PannotationPackage.ORDER_COLUMN__UPDATABLE, oldUpdatable, updatable));
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getColumnDefinition() {
@@ -280,129 +288,135 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
}
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setColumnDefinition(String newColumnDefinition) {
String oldColumnDefinition = columnDefinition;
columnDefinition = newColumnDefinition;
if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION, oldColumnDefinition, columnDefinition));
+ eNotify(new ENotificationImpl(this, Notification.SET,
+ PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION, oldColumnDefinition, columnDefinition));
}
/**
- * <!-- 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.ORDER_COLUMN__NAME:
- return getName();
- case PannotationPackage.ORDER_COLUMN__NULLABLE:
- return isNullable();
- case PannotationPackage.ORDER_COLUMN__INSERTABLE:
- return isInsertable();
- case PannotationPackage.ORDER_COLUMN__UPDATABLE:
- return isUpdatable();
- case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
- return getColumnDefinition();
+ case PannotationPackage.ORDER_COLUMN__NAME:
+ return getName();
+ case PannotationPackage.ORDER_COLUMN__NULLABLE:
+ return isNullable();
+ case PannotationPackage.ORDER_COLUMN__INSERTABLE:
+ return isInsertable();
+ case PannotationPackage.ORDER_COLUMN__UPDATABLE:
+ return isUpdatable();
+ case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
+ return getColumnDefinition();
}
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.ORDER_COLUMN__NAME:
- setName((String)newValue);
- return;
- case PannotationPackage.ORDER_COLUMN__NULLABLE:
- setNullable((Boolean)newValue);
- return;
- case PannotationPackage.ORDER_COLUMN__INSERTABLE:
- setInsertable((Boolean)newValue);
- return;
- case PannotationPackage.ORDER_COLUMN__UPDATABLE:
- setUpdatable((Boolean)newValue);
- return;
- case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
- setColumnDefinition((String)newValue);
- return;
+ case PannotationPackage.ORDER_COLUMN__NAME:
+ setName((String) newValue);
+ return;
+ case PannotationPackage.ORDER_COLUMN__NULLABLE:
+ setNullable((Boolean) newValue);
+ return;
+ case PannotationPackage.ORDER_COLUMN__INSERTABLE:
+ setInsertable((Boolean) newValue);
+ return;
+ case PannotationPackage.ORDER_COLUMN__UPDATABLE:
+ setUpdatable((Boolean) newValue);
+ return;
+ case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
+ setColumnDefinition((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.ORDER_COLUMN__NAME:
- setName(NAME_EDEFAULT);
- return;
- case PannotationPackage.ORDER_COLUMN__NULLABLE:
- unsetNullable();
- return;
- case PannotationPackage.ORDER_COLUMN__INSERTABLE:
- setInsertable(INSERTABLE_EDEFAULT);
- return;
- case PannotationPackage.ORDER_COLUMN__UPDATABLE:
- setUpdatable(UPDATABLE_EDEFAULT);
- return;
- case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
- setColumnDefinition(COLUMN_DEFINITION_EDEFAULT);
- return;
+ case PannotationPackage.ORDER_COLUMN__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case PannotationPackage.ORDER_COLUMN__NULLABLE:
+ unsetNullable();
+ return;
+ case PannotationPackage.ORDER_COLUMN__INSERTABLE:
+ setInsertable(INSERTABLE_EDEFAULT);
+ return;
+ case PannotationPackage.ORDER_COLUMN__UPDATABLE:
+ setUpdatable(UPDATABLE_EDEFAULT);
+ return;
+ case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
+ setColumnDefinition(COLUMN_DEFINITION_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.ORDER_COLUMN__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case PannotationPackage.ORDER_COLUMN__NULLABLE:
- return isSetNullable();
- case PannotationPackage.ORDER_COLUMN__INSERTABLE:
- return insertable != INSERTABLE_EDEFAULT;
- case PannotationPackage.ORDER_COLUMN__UPDATABLE:
- return updatable != UPDATABLE_EDEFAULT;
- case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
- return COLUMN_DEFINITION_EDEFAULT == null ? columnDefinition != null : !COLUMN_DEFINITION_EDEFAULT.equals(columnDefinition);
+ case PannotationPackage.ORDER_COLUMN__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case PannotationPackage.ORDER_COLUMN__NULLABLE:
+ return isSetNullable();
+ case PannotationPackage.ORDER_COLUMN__INSERTABLE:
+ return insertable != INSERTABLE_EDEFAULT;
+ case PannotationPackage.ORDER_COLUMN__UPDATABLE:
+ return updatable != UPDATABLE_EDEFAULT;
+ case PannotationPackage.ORDER_COLUMN__COLUMN_DEFINITION:
+ return COLUMN_DEFINITION_EDEFAULT == null ? columnDefinition != null
+ : !COLUMN_DEFINITION_EDEFAULT.equals(columnDefinition);
}
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: ");
result.append(name);
result.append(", nullable: ");
- if (nullableESet) result.append(nullable); else result.append("<unset>");
+ if (nullableESet)
+ result.append(nullable);
+ else
+ result.append("<unset>");
result.append(", insertable: ");
result.append(insertable);
result.append(", updatable: ");
@@ -413,4 +427,4 @@ public class OrderColumnImpl extends PAnnotationImpl implements OrderColumn {
return result.toString();
}
-} //OrderColumnImpl
+} // OrderColumnImpl

Back to the top