diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/relation/relation1to1/util/Relation1to1AdapterFactory.java')
-rw-r--r-- | examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/relation/relation1to1/util/Relation1to1AdapterFactory.java | 250 |
1 files changed, 0 insertions, 250 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/relation/relation1to1/util/Relation1to1AdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/relation/relation1to1/util/Relation1to1AdapterFactory.java deleted file mode 100644 index 16892c1db..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/relation/relation1to1/util/Relation1to1AdapterFactory.java +++ /dev/null @@ -1,250 +0,0 @@ -/** - * <copyright> - * </copyright> - * - * $Id: Relation1to1AdapterFactory.java,v 1.2 2007/02/08 23:09:24 mtaal Exp $ - */ -package org.eclipse.emf.teneo.samples.emf.relation.relation1to1.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.emf.teneo.samples.emf.relation.relation1to1.*; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.Relation1to1Package - * @generated - */ -public class Relation1to1AdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static Relation1to1Package modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Relation1to1AdapterFactory() { - if (modelPackage == null) { - modelPackage = Relation1to1Package.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch the delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected Relation1to1Switch<Adapter> modelSwitch = - new Relation1to1Switch<Adapter>() { - @Override - public Adapter caseContainedChildNR(ContainedChildNR object) { - return createContainedChildNRAdapter(); - } - @Override - public Adapter caseContainedChildR(ContainedChildR object) { - return createContainedChildRAdapter(); - } - @Override - public Adapter caseMain(Main object) { - return createMainAdapter(); - } - @Override - public Adapter caseNotContainedChildNR(NotContainedChildNR object) { - return createNotContainedChildNRAdapter(); - } - @Override - public Adapter caseNotContainedChildNRT(NotContainedChildNRT object) { - return createNotContainedChildNRTAdapter(); - } - @Override - public Adapter caseNotContainedChildNRTNR(NotContainedChildNRTNR object) { - return createNotContainedChildNRTNRAdapter(); - } - @Override - public Adapter caseNotContainedChildR(NotContainedChildR object) { - return createNotContainedChildRAdapter(); - } - @Override - public Adapter caseNotContainedChildRTNR(NotContainedChildRTNR object) { - return createNotContainedChildRTNRAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR <em>Contained Child NR</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR - * @generated - */ - public Adapter createContainedChildNRAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildR <em>Contained Child R</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildR - * @generated - */ - public Adapter createContainedChildRAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.Main <em>Main</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.Main - * @generated - */ - public Adapter createMainAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNR <em>Not Contained Child NR</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNR - * @generated - */ - public Adapter createNotContainedChildNRAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNRT <em>Not Contained Child NRT</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNRT - * @generated - */ - public Adapter createNotContainedChildNRTAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNRTNR <em>Not Contained Child NRTNR</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildNRTNR - * @generated - */ - public Adapter createNotContainedChildNRTNRAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildR <em>Not Contained Child R</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildR - * @generated - */ - public Adapter createNotContainedChildRAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildRTNR <em>Not Contained Child RTNR</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.emf.teneo.samples.emf.relation.relation1to1.NotContainedChildRTNR - * @generated - */ - public Adapter createNotContainedChildRTNRAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //Relation1to1AdapterFactory |