diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java deleted file mode 100644 index 9e5ae726a..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/extralazy/impl/ExtralazyFactoryImpl.java +++ /dev/null @@ -1,110 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: ExtralazyFactoryImpl.java,v 1.1 2007/07/09 12:55:20 mtaal Exp $ - */ -package org.eclipse.emf.teneo.samples.emf.annotations.extralazy.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.emf.teneo.samples.emf.annotations.extralazy.*; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class ExtralazyFactoryImpl extends EFactoryImpl implements ExtralazyFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static ExtralazyFactory init() { - try { - ExtralazyFactory theExtralazyFactory = (ExtralazyFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/extralazy"); - if (theExtralazyFactory != null) { - return theExtralazyFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new ExtralazyFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExtralazyFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case ExtralazyPackage.BOOK: return createBook(); - case ExtralazyPackage.WRITER: return createWriter(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Book createBook() { - BookImpl book = new BookImpl(); - return book; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Writer createWriter() { - WriterImpl writer = new WriterImpl(); - return writer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExtralazyPackage getExtralazyPackage() { - return (ExtralazyPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static ExtralazyPackage getPackage() { - return ExtralazyPackage.eINSTANCE; - } - -} //ExtralazyFactoryImpl |