Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/sample/sunBooks/impl/BooksTypeImpl.java')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/sample/sunBooks/impl/BooksTypeImpl.java157
1 files changed, 0 insertions, 157 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/sample/sunBooks/impl/BooksTypeImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/sample/sunBooks/impl/BooksTypeImpl.java
deleted file mode 100644
index 015c3d0c9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/sample/sunBooks/impl/BooksTypeImpl.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BooksTypeImpl.java,v 1.2 2007/02/08 23:09:19 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.sample.sunBooks.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.EStructuralFeature;
-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.samples.emf.sample.sunBooks.BookType;
-import org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BooksType;
-import org.eclipse.emf.teneo.samples.emf.sample.sunBooks.SunBooksPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Books Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl#getBook <em>Book</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BooksTypeImpl extends EObjectImpl implements BooksType {
- /**
- * The cached value of the '{@link #getBook() <em>Book</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBook()
- * @generated
- * @ordered
- */
- protected EList<BookType> book = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BooksTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return SunBooksPackage.Literals.BOOKS_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<BookType> getBook() {
- if (book == null) {
- book = new EObjectContainmentEList<BookType>(BookType.class, this, SunBooksPackage.BOOKS_TYPE__BOOK);
- }
- return book;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case SunBooksPackage.BOOKS_TYPE__BOOK:
- return ((InternalEList<?>)getBook()).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 SunBooksPackage.BOOKS_TYPE__BOOK:
- return getBook();
- }
- 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 SunBooksPackage.BOOKS_TYPE__BOOK:
- getBook().clear();
- getBook().addAll((Collection<? extends BookType>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case SunBooksPackage.BOOKS_TYPE__BOOK:
- getBook().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case SunBooksPackage.BOOKS_TYPE__BOOK:
- return book != null && !book.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //BooksTypeImpl

Back to the top