Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java253
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java156
2 files changed, 131 insertions, 278 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java
index 78e193b324..0765f556a1 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java
@@ -1,8 +1,14 @@
-/**
- * <copyright>
- * </copyright>
+/*******************************************************************************
+ * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
*
- * $Id: model4AdapterFactory.java,v 1.4 2008-10-09 09:56:42 smcduff Exp $
+ * $Id: model4AdapterFactory.java,v 1.5 2008-12-28 17:56:41 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model4.util;
@@ -64,22 +70,21 @@ import java.util.Map;
/**
* <!-- 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.cdo.tests.model4.model4Package
* @generated
*/
public class model4AdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static model4Package modelPackage;
/**
- * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public model4AdapterFactory()
@@ -91,10 +96,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
+ * 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
*/
@@ -113,8 +118,8 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected model4Switch<Adapter> modelSwitch = new model4Switch<Adapter>()
@@ -409,10 +414,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
};
/**
- * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
+ * 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
*/
@@ -423,11 +427,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained
- * <em>Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained <em>Ref Single Contained</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.cdo.tests.model4.RefSingleContained
* @generated
@@ -438,11 +441,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement
- * <em>Single Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement <em>Single Contained Element</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.cdo.tests.model4.SingleContainedElement
* @generated
@@ -453,11 +455,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained
- * <em>Ref Single Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained <em>Ref Single Non Contained</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.cdo.tests.model4.RefSingleNonContained
* @generated
@@ -468,11 +469,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement
- * <em>Single Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement <em>Single Non Contained Element</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.cdo.tests.model4.SingleNonContainedElement
* @generated
@@ -483,11 +483,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained
- * <em>Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained <em>Ref Multi Contained</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.cdo.tests.model4.RefMultiContained
* @generated
@@ -498,11 +497,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement
- * <em>Multi Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement <em>Multi Contained Element</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.cdo.tests.model4.MultiContainedElement
* @generated
@@ -513,11 +511,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained
- * <em>Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained <em>Ref Multi Non Contained</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.cdo.tests.model4.RefMultiNonContained
* @generated
@@ -528,11 +525,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement
- * <em>Multi Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement <em>Multi Non Contained Element</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.cdo.tests.model4.MultiNonContainedElement
* @generated
@@ -543,11 +539,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL
- * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL <em>Ref Single Contained NPL</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.cdo.tests.model4.RefSingleContainedNPL
* @generated
@@ -558,11 +553,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL
- * <em>Ref Single Non Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</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.cdo.tests.model4.RefSingleNonContainedNPL
* @generated
@@ -573,11 +567,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL
- * <em>Ref Multi Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL <em>Ref Multi Contained NPL</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.cdo.tests.model4.RefMultiContainedNPL
* @generated
@@ -588,11 +581,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL
- * <em>Ref Multi Non Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL <em>Ref Multi Non Contained NPL</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.cdo.tests.model4.RefMultiNonContainedNPL
* @generated
@@ -603,11 +595,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite
- * <em>Contained Element No Opposite</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</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.cdo.tests.model4.ContainedElementNoOpposite
* @generated
@@ -618,11 +609,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained
- * <em>Gen Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained <em>Gen Ref Single Contained</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.cdo.tests.model4.GenRefSingleContained
* @generated
@@ -633,11 +623,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained
- * <em>Gen Ref Single Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</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.cdo.tests.model4.GenRefSingleNonContained
* @generated
@@ -648,11 +637,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained
- * <em>Gen Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained <em>Gen Ref Multi Contained</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.cdo.tests.model4.GenRefMultiContained
* @generated
@@ -663,11 +651,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained
- * <em>Gen Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</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.cdo.tests.model4.GenRefMultiNonContained
* @generated
@@ -678,11 +665,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer
- * <em>Impl Single Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer <em>Impl Single Ref Container</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.cdo.tests.model4.ImplSingleRefContainer
* @generated
@@ -693,11 +679,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</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.cdo.tests.model4.ImplSingleRefContainedElement
* @generated
@@ -708,11 +692,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer
- * <em>Impl Single Ref Non Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</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.cdo.tests.model4.ImplSingleRefNonContainer
* @generated
@@ -723,12 +706,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement
- * <em>Impl Single Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained Element</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.cdo.tests.model4.ImplSingleRefNonContainedElement
* @generated
@@ -739,11 +720,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer
- * <em>Impl Multi Ref Non Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</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.cdo.tests.model4.ImplMultiRefNonContainer
* @generated
@@ -754,12 +734,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement
- * <em>Impl Multi Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained Element</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.cdo.tests.model4.ImplMultiRefNonContainedElement
* @generated
@@ -770,11 +748,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer
- * <em>Impl Multi Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</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.cdo.tests.model4.ImplMultiRefContainer
* @generated
@@ -785,11 +762,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement
- * <em>Impl Multi Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained Element</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.cdo.tests.model4.ImplMultiRefContainedElement
* @generated
@@ -800,11 +776,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL
- * <em>Impl Single Ref Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</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.cdo.tests.model4.ImplSingleRefContainerNPL
* @generated
@@ -815,11 +790,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL
- * <em>Impl Single Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container NPL</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.cdo.tests.model4.ImplSingleRefNonContainerNPL
* @generated
@@ -830,11 +804,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL
- * <em>Impl Multi Ref Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</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.cdo.tests.model4.ImplMultiRefContainerNPL
* @generated
@@ -845,11 +818,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL
- * <em>Impl Multi Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container NPL</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.cdo.tests.model4.ImplMultiRefNonContainerNPL
* @generated
@@ -860,11 +832,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL
- * <em>Impl Contained Element NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL <em>Impl Contained Element NPL</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.cdo.tests.model4.ImplContainedElementNPL
* @generated
@@ -875,11 +846,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained
- * <em>Gen Ref Multi NU Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</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.cdo.tests.model4.GenRefMultiNUNonContained
* @generated
@@ -890,11 +860,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained
- * <em>Gen Ref Map Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</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.cdo.tests.model4.GenRefMapNonContained
* @generated
@@ -934,12 +903,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement
- * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained Element</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.cdo.tests.model4interfaces.ISingleRefContainedElement
* @generated
@@ -965,12 +932,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement
- * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained Element</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.cdo.tests.model4interfaces.ISingleRefNonContainedElement
* @generated
@@ -996,12 +961,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement
- * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained Element</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.cdo.tests.model4interfaces.IMultiRefNonContainedElement
* @generated
@@ -1012,11 +975,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer
- * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</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.cdo.tests.model4interfaces.IMultiRefContainer
* @generated
@@ -1027,11 +989,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</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.cdo.tests.model4interfaces.IMultiRefContainedElement
* @generated
@@ -1057,11 +1017,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>}
- * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</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.cdo.tests.model4interfaces.ISingleRefNonContainerNPL
* @generated
@@ -1087,11 +1045,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</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.cdo.tests.model4interfaces.IMultiRefNonContainerNPL
* @generated
@@ -1102,12 +1058,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '
- * {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink
- * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> This default implementation returns null so
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</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.cdo.tests.model4interfaces.IContainedElementNoParentLink
* @generated
@@ -1118,10 +1072,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement
- * <em>INamed Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed Element</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.cdo.tests.model4interfaces.INamedElement
* @generated
@@ -1132,9 +1085,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns 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
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java
index 00bda67dda..8b7bd2e7bb 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java
@@ -1,8 +1,14 @@
-/**
- * <copyright>
- * </copyright>
+/*******************************************************************************
+ * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
*
- * $Id: model4Switch.java,v 1.5 2008-10-09 09:56:42 smcduff Exp $
+ * $Id: model4Switch.java,v 1.6 2008-12-28 17:56:41 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model4.util;
@@ -65,22 +71,21 @@ import java.util.Map;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
* starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is
* returned, which is the result of the switch. <!-- end-user-doc -->
- *
* @see org.eclipse.emf.cdo.tests.model4.model4Package
* @generated
*/
public class model4Switch<T>
{
/**
- * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * The cached model package
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
protected static model4Package modelPackage;
/**
- * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public model4Switch()
@@ -94,7 +99,6 @@ public class model4Switch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -106,7 +110,6 @@ public class model4Switch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -126,7 +129,6 @@ public class model4Switch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -139,9 +141,7 @@ public class model4Switch<T>
RefSingleContained refSingleContained = (RefSingleContained)theEObject;
T result = caseRefSingleContained(refSingleContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.SINGLE_CONTAINED_ELEMENT:
@@ -149,9 +149,7 @@ public class model4Switch<T>
SingleContainedElement singleContainedElement = (SingleContainedElement)theEObject;
T result = caseSingleContainedElement(singleContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_SINGLE_NON_CONTAINED:
@@ -159,9 +157,7 @@ public class model4Switch<T>
RefSingleNonContained refSingleNonContained = (RefSingleNonContained)theEObject;
T result = caseRefSingleNonContained(refSingleNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.SINGLE_NON_CONTAINED_ELEMENT:
@@ -169,9 +165,7 @@ public class model4Switch<T>
SingleNonContainedElement singleNonContainedElement = (SingleNonContainedElement)theEObject;
T result = caseSingleNonContainedElement(singleNonContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_MULTI_CONTAINED:
@@ -179,9 +173,7 @@ public class model4Switch<T>
RefMultiContained refMultiContained = (RefMultiContained)theEObject;
T result = caseRefMultiContained(refMultiContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.MULTI_CONTAINED_ELEMENT:
@@ -189,9 +181,7 @@ public class model4Switch<T>
MultiContainedElement multiContainedElement = (MultiContainedElement)theEObject;
T result = caseMultiContainedElement(multiContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_MULTI_NON_CONTAINED:
@@ -199,9 +189,7 @@ public class model4Switch<T>
RefMultiNonContained refMultiNonContained = (RefMultiNonContained)theEObject;
T result = caseRefMultiNonContained(refMultiNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.MULTI_NON_CONTAINED_ELEMENT:
@@ -209,9 +197,7 @@ public class model4Switch<T>
MultiNonContainedElement multiNonContainedElement = (MultiNonContainedElement)theEObject;
T result = caseMultiNonContainedElement(multiNonContainedElement);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_SINGLE_CONTAINED_NPL:
@@ -219,9 +205,7 @@ public class model4Switch<T>
RefSingleContainedNPL refSingleContainedNPL = (RefSingleContainedNPL)theEObject;
T result = caseRefSingleContainedNPL(refSingleContainedNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_SINGLE_NON_CONTAINED_NPL:
@@ -229,9 +213,7 @@ public class model4Switch<T>
RefSingleNonContainedNPL refSingleNonContainedNPL = (RefSingleNonContainedNPL)theEObject;
T result = caseRefSingleNonContainedNPL(refSingleNonContainedNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_MULTI_CONTAINED_NPL:
@@ -239,9 +221,7 @@ public class model4Switch<T>
RefMultiContainedNPL refMultiContainedNPL = (RefMultiContainedNPL)theEObject;
T result = caseRefMultiContainedNPL(refMultiContainedNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.REF_MULTI_NON_CONTAINED_NPL:
@@ -249,9 +229,7 @@ public class model4Switch<T>
RefMultiNonContainedNPL refMultiNonContainedNPL = (RefMultiNonContainedNPL)theEObject;
T result = caseRefMultiNonContainedNPL(refMultiNonContainedNPL);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE:
@@ -259,9 +237,7 @@ public class model4Switch<T>
ContainedElementNoOpposite containedElementNoOpposite = (ContainedElementNoOpposite)theEObject;
T result = caseContainedElementNoOpposite(containedElementNoOpposite);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_SINGLE_CONTAINED:
@@ -269,9 +245,7 @@ public class model4Switch<T>
GenRefSingleContained genRefSingleContained = (GenRefSingleContained)theEObject;
T result = caseGenRefSingleContained(genRefSingleContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_SINGLE_NON_CONTAINED:
@@ -279,9 +253,7 @@ public class model4Switch<T>
GenRefSingleNonContained genRefSingleNonContained = (GenRefSingleNonContained)theEObject;
T result = caseGenRefSingleNonContained(genRefSingleNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_MULTI_CONTAINED:
@@ -289,9 +261,7 @@ public class model4Switch<T>
GenRefMultiContained genRefMultiContained = (GenRefMultiContained)theEObject;
T result = caseGenRefMultiContained(genRefMultiContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_MULTI_NON_CONTAINED:
@@ -299,9 +269,7 @@ public class model4Switch<T>
GenRefMultiNonContained genRefMultiNonContained = (GenRefMultiNonContained)theEObject;
T result = caseGenRefMultiNonContained(genRefMultiNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_CONTAINER:
@@ -309,13 +277,9 @@ public class model4Switch<T>
ImplSingleRefContainer implSingleRefContainer = (ImplSingleRefContainer)theEObject;
T result = caseImplSingleRefContainer(implSingleRefContainer);
if (result == null)
- {
result = caseISingleRefContainer(implSingleRefContainer);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT:
@@ -323,13 +287,9 @@ public class model4Switch<T>
ImplSingleRefContainedElement implSingleRefContainedElement = (ImplSingleRefContainedElement)theEObject;
T result = caseImplSingleRefContainedElement(implSingleRefContainedElement);
if (result == null)
- {
result = caseISingleRefContainedElement(implSingleRefContainedElement);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_NON_CONTAINER:
@@ -337,13 +297,9 @@ public class model4Switch<T>
ImplSingleRefNonContainer implSingleRefNonContainer = (ImplSingleRefNonContainer)theEObject;
T result = caseImplSingleRefNonContainer(implSingleRefNonContainer);
if (result == null)
- {
result = caseISingleRefNonContainer(implSingleRefNonContainer);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT:
@@ -351,13 +307,9 @@ public class model4Switch<T>
ImplSingleRefNonContainedElement implSingleRefNonContainedElement = (ImplSingleRefNonContainedElement)theEObject;
T result = caseImplSingleRefNonContainedElement(implSingleRefNonContainedElement);
if (result == null)
- {
result = caseISingleRefNonContainedElement(implSingleRefNonContainedElement);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_NON_CONTAINER:
@@ -365,13 +317,9 @@ public class model4Switch<T>
ImplMultiRefNonContainer implMultiRefNonContainer = (ImplMultiRefNonContainer)theEObject;
T result = caseImplMultiRefNonContainer(implMultiRefNonContainer);
if (result == null)
- {
result = caseIMultiRefNonContainer(implMultiRefNonContainer);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT:
@@ -379,13 +327,9 @@ public class model4Switch<T>
ImplMultiRefNonContainedElement implMultiRefNonContainedElement = (ImplMultiRefNonContainedElement)theEObject;
T result = caseImplMultiRefNonContainedElement(implMultiRefNonContainedElement);
if (result == null)
- {
result = caseIMultiRefNonContainedElement(implMultiRefNonContainedElement);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_CONTAINER:
@@ -393,13 +337,9 @@ public class model4Switch<T>
ImplMultiRefContainer implMultiRefContainer = (ImplMultiRefContainer)theEObject;
T result = caseImplMultiRefContainer(implMultiRefContainer);
if (result == null)
- {
result = caseIMultiRefContainer(implMultiRefContainer);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT:
@@ -407,13 +347,9 @@ public class model4Switch<T>
ImplMultiRefContainedElement implMultiRefContainedElement = (ImplMultiRefContainedElement)theEObject;
T result = caseImplMultiRefContainedElement(implMultiRefContainedElement);
if (result == null)
- {
result = caseIMultiRefContainedElement(implMultiRefContainedElement);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL:
@@ -421,13 +357,9 @@ public class model4Switch<T>
ImplSingleRefContainerNPL implSingleRefContainerNPL = (ImplSingleRefContainerNPL)theEObject;
T result = caseImplSingleRefContainerNPL(implSingleRefContainerNPL);
if (result == null)
- {
result = caseISingleRefContainerNPL(implSingleRefContainerNPL);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL:
@@ -435,13 +367,9 @@ public class model4Switch<T>
ImplSingleRefNonContainerNPL implSingleRefNonContainerNPL = (ImplSingleRefNonContainerNPL)theEObject;
T result = caseImplSingleRefNonContainerNPL(implSingleRefNonContainerNPL);
if (result == null)
- {
result = caseISingleRefNonContainerNPL(implSingleRefNonContainerNPL);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_CONTAINER_NPL:
@@ -449,13 +377,9 @@ public class model4Switch<T>
ImplMultiRefContainerNPL implMultiRefContainerNPL = (ImplMultiRefContainerNPL)theEObject;
T result = caseImplMultiRefContainerNPL(implMultiRefContainerNPL);
if (result == null)
- {
result = caseIMultiRefContainerNPL(implMultiRefContainerNPL);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL:
@@ -463,13 +387,9 @@ public class model4Switch<T>
ImplMultiRefNonContainerNPL implMultiRefNonContainerNPL = (ImplMultiRefNonContainerNPL)theEObject;
T result = caseImplMultiRefNonContainerNPL(implMultiRefNonContainerNPL);
if (result == null)
- {
result = caseIMultiRefNonContainerNPL(implMultiRefNonContainerNPL);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.IMPL_CONTAINED_ELEMENT_NPL:
@@ -477,17 +397,11 @@ public class model4Switch<T>
ImplContainedElementNPL implContainedElementNPL = (ImplContainedElementNPL)theEObject;
T result = caseImplContainedElementNPL(implContainedElementNPL);
if (result == null)
- {
result = caseIContainedElementNoParentLink(implContainedElementNPL);
- }
if (result == null)
- {
result = caseINamedElement(implContainedElementNPL);
- }
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED:
@@ -495,9 +409,7 @@ public class model4Switch<T>
GenRefMultiNUNonContained genRefMultiNUNonContained = (GenRefMultiNUNonContained)theEObject;
T result = caseGenRefMultiNUNonContained(genRefMultiNUNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.GEN_REF_MAP_NON_CONTAINED:
@@ -505,9 +417,7 @@ public class model4Switch<T>
GenRefMapNonContained genRefMapNonContained = (GenRefMapNonContained)theEObject;
T result = caseGenRefMapNonContained(genRefMapNonContained);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
case model4Package.STRING_TO_EOBJECT:
@@ -516,9 +426,7 @@ public class model4Switch<T>
Map.Entry<String, EObject> stringToEObject = (Map.Entry<String, EObject>)theEObject;
T result = caseStringToEObject(stringToEObject);
if (result == null)
- {
result = defaultCase(theEObject);
- }
return result;
}
default:
@@ -591,11 +499,10 @@ public class model4Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'. <!-- begin-user-doc
+ * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'.
+ * <!-- begin-user-doc
* --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -849,9 +756,7 @@ public class model4Switch<T>
* Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
* <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -881,9 +786,7 @@ public class model4Switch<T>
* Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
* <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -1038,11 +941,10 @@ public class model4Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>String To EObject</em>'. <!-- begin-user-doc
+ * Returns the result of interpreting the object as an instance of '<em>String To EObject</em>'.
+ * <!-- begin-user-doc
* --> This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>String To EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -1261,11 +1163,10 @@ public class model4Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'. <!-- begin-user-doc -->
+ * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'.
+ * <!-- begin-user-doc -->
* This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>INamed Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -1276,12 +1177,11 @@ public class model4Switch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch, but this is the last case
* anyway. <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated

Back to the top