Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/EmbeddableAttributesImpl.java')
-rwxr-xr-xeclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/EmbeddableAttributesImpl.java193
1 files changed, 0 insertions, 193 deletions
diff --git a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/EmbeddableAttributesImpl.java b/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/EmbeddableAttributesImpl.java
deleted file mode 100755
index 4e43b4706..000000000
--- a/eclipselink/org.eclipse.emf.teneo.orm/src/org/eclipse/emf/teneo/jpa/orm/impl/EmbeddableAttributesImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: EmbeddableAttributesImpl.java,v 1.1 2009/03/15 23:45:02 mtaal Exp $
- */
-package org.eclipse.emf.teneo.jpa.orm.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.emf.teneo.jpa.orm.Basic;
-import org.eclipse.emf.teneo.jpa.orm.EmbeddableAttributes;
-import org.eclipse.emf.teneo.jpa.orm.OrmPackage;
-import org.eclipse.emf.teneo.jpa.orm.Transient;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Embeddable Attributes</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.EmbeddableAttributesImpl#getBasic <em>Basic</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.jpa.orm.impl.EmbeddableAttributesImpl#getTransient <em>Transient</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class EmbeddableAttributesImpl extends EObjectImpl implements EmbeddableAttributes {
- /**
- * The cached value of the '{@link #getBasic() <em>Basic</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBasic()
- * @generated
- * @ordered
- */
- protected EList<Basic> basic;
-
- /**
- * The cached value of the '{@link #getTransient() <em>Transient</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTransient()
- * @generated
- * @ordered
- */
- protected EList<Transient> transient_;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected EmbeddableAttributesImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return OrmPackage.Literals.EMBEDDABLE_ATTRIBUTES;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Basic> getBasic() {
- if (basic == null) {
- basic = new EObjectContainmentEList<Basic>(Basic.class, this, OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC);
- }
- return basic;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Transient> getTransient() {
- if (transient_ == null) {
- transient_ = new EObjectContainmentEList<Transient>(Transient.class, this, OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT);
- }
- return transient_;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC:
- return ((InternalEList<?>)getBasic()).basicRemove(otherEnd, msgs);
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT:
- return ((InternalEList<?>)getTransient()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC:
- return getBasic();
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT:
- return getTransient();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC:
- getBasic().clear();
- getBasic().addAll((Collection<? extends Basic>)newValue);
- return;
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT:
- getTransient().clear();
- getTransient().addAll((Collection<? extends Transient>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC:
- getBasic().clear();
- return;
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT:
- getTransient().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__BASIC:
- return basic != null && !basic.isEmpty();
- case OrmPackage.EMBEDDABLE_ATTRIBUTES__TRANSIENT:
- return transient_ != null && !transient_.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //EmbeddableAttributesImpl

Back to the top