From ed0e34112f6844631d824d5ad3b5c50b71a3696e Mon Sep 17 00:00:00 2001 From: Eike Stepper Date: Sat, 10 Jan 2009 13:55:59 +0000 Subject: reformat --- .../eclipse/emf/cdo/tests/mango/MangoFactory.java | 36 +- .../eclipse/emf/cdo/tests/mango/MangoPackage.java | 125 ++--- .../org/eclipse/emf/cdo/tests/mango/Parameter.java | 23 +- .../emf/cdo/tests/mango/ParameterPassing.java | 53 ++- .../src/org/eclipse/emf/cdo/tests/mango/Value.java | 11 +- .../org/eclipse/emf/cdo/tests/mango/ValueList.java | 19 +- .../emf/cdo/tests/mango/impl/MangoFactoryImpl.java | 21 +- .../emf/cdo/tests/mango/impl/MangoPackageImpl.java | 58 ++- .../emf/cdo/tests/mango/impl/ParameterImpl.java | 15 +- .../emf/cdo/tests/mango/impl/ValueImpl.java | 11 +- .../emf/cdo/tests/mango/impl/ValueListImpl.java | 14 +- .../cdo/tests/mango/util/MangoAdapterFactory.java | 40 +- .../emf/cdo/tests/mango/util/MangoSwitch.java | 42 +- .../org/eclipse/emf/cdo/tests/model1/Address.java | 25 +- .../org/eclipse/emf/cdo/tests/model1/Category.java | 29 +- .../org/eclipse/emf/cdo/tests/model1/Company.java | 47 +- .../org/eclipse/emf/cdo/tests/model1/Customer.java | 17 +- .../emf/cdo/tests/model1/Model1Factory.java | 57 +-- .../emf/cdo/tests/model1/Model1Package.java | 503 ++++++++++++--------- .../org/eclipse/emf/cdo/tests/model1/Order.java | 17 +- .../eclipse/emf/cdo/tests/model1/OrderAddress.java | 23 +- .../eclipse/emf/cdo/tests/model1/OrderDetail.java | 45 +- .../org/eclipse/emf/cdo/tests/model1/Product1.java | 48 +- .../emf/cdo/tests/model1/PurchaseOrder.java | 33 +- .../eclipse/emf/cdo/tests/model1/SalesOrder.java | 29 +- .../org/eclipse/emf/cdo/tests/model1/Supplier.java | 23 +- .../src/org/eclipse/emf/cdo/tests/model1/VAT.java | 65 +-- .../emf/cdo/tests/model1/impl/AddressImpl.java | 21 +- .../emf/cdo/tests/model1/impl/CategoryImpl.java | 19 +- .../emf/cdo/tests/model1/impl/CompanyImpl.java | 23 +- .../emf/cdo/tests/model1/impl/CustomerImpl.java | 11 +- .../cdo/tests/model1/impl/Model1FactoryImpl.java | 31 +- .../cdo/tests/model1/impl/Model1PackageImpl.java | 98 +++- .../cdo/tests/model1/impl/OrderAddressImpl.java | 31 +- .../emf/cdo/tests/model1/impl/OrderDetailImpl.java | 21 +- .../emf/cdo/tests/model1/impl/OrderImpl.java | 12 +- .../emf/cdo/tests/model1/impl/Product1Impl.java | 26 +- .../cdo/tests/model1/impl/PurchaseOrderImpl.java | 16 +- .../emf/cdo/tests/model1/impl/SalesOrderImpl.java | 16 +- .../emf/cdo/tests/model1/impl/SupplierImpl.java | 15 +- .../tests/model1/util/Model1AdapterFactory.java | 58 ++- .../emf/cdo/tests/model1/util/Model1Switch.java | 100 ++-- .../model1/validation/OrderAddressValidator.java | 10 +- .../tests/model1/validation/Product1Validator.java | 10 +- .../emf/cdo/tests/model2/Model2Factory.java | 23 +- .../emf/cdo/tests/model2/Model2Package.java | 131 +++--- .../emf/cdo/tests/model2/SpecialPurchaseOrder.java | 33 +- .../src/org/eclipse/emf/cdo/tests/model2/Task.java | 41 +- .../emf/cdo/tests/model2/TaskContainer.java | 15 +- .../cdo/tests/model2/impl/Model2FactoryImpl.java | 17 +- .../cdo/tests/model2/impl/Model2PackageImpl.java | 57 ++- .../model2/impl/SpecialPurchaseOrderImpl.java | 15 +- .../cdo/tests/model2/impl/TaskContainerImpl.java | 10 +- .../emf/cdo/tests/model2/impl/TaskImpl.java | 19 +- .../tests/model2/util/Model2AdapterFactory.java | 45 +- .../emf/cdo/tests/model2/util/Model2Switch.java | 49 +- .../org/eclipse/emf/cdo/tests/model3/Class1.java | 15 +- .../emf/cdo/tests/model3/Model3Factory.java | 19 +- .../emf/cdo/tests/model3/Model3Package.java | 65 +-- .../emf/cdo/tests/model3/impl/Class1Impl.java | 10 +- .../emf/cdo/tests/model3/impl/MetaRefImpl.java | 7 +- .../cdo/tests/model3/impl/Model3FactoryImpl.java | 16 +- .../cdo/tests/model3/impl/Model3PackageImpl.java | 51 ++- .../emf/cdo/tests/model3/subpackage/Class2.java | 15 +- .../tests/model3/subpackage/SubpackageFactory.java | 15 +- .../tests/model3/subpackage/SubpackagePackage.java | 52 ++- .../tests/model3/subpackage/impl/Class2Impl.java | 10 +- .../subpackage/impl/SubpackageFactoryImpl.java | 15 +- .../subpackage/impl/SubpackagePackageImpl.java | 48 +- .../subpackage/util/SubpackageAdapterFactory.java | 35 +- .../model3/subpackage/util/SubpackageSwitch.java | 28 +- .../tests/model3/util/Model3AdapterFactory.java | 32 +- .../emf/cdo/tests/model3/util/Model3Switch.java | 35 +- 73 files changed, 1662 insertions(+), 1208 deletions(-) (limited to 'plugins') diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoFactory.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoFactory.java index 42880c40e5..1440ecab17 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoFactory.java @@ -8,64 +8,58 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MangoFactory.java,v 1.5 2008-12-28 17:56:34 estepper Exp $ + * $Id: MangoFactory.java,v 1.6 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; import org.eclipse.emf.ecore.EFactory; /** - * - * The Factory for the model. - * It provides a create method for each non-abstract class of the model. - * + * The Factory for the model. It provides a create method for each non-abstract class of + * the model. + * * @see org.eclipse.emf.cdo.tests.mango.MangoPackage * @generated */ public interface MangoFactory extends EFactory { /** - * The singleton instance of the factory. - * - * + * The singleton instance of the factory. + * * @generated */ MangoFactory eINSTANCE = org.eclipse.emf.cdo.tests.mango.impl.MangoFactoryImpl.init(); /** - * Returns a new object of class 'Value List'. - * - * + * Returns a new object of class 'Value List'. + * * @return a new object of class 'Value List'. * @generated */ ValueList createValueList(); /** - * Returns a new object of class 'Value'. - * - * + * Returns a new object of class 'Value'. + * * @return a new object of class 'Value'. * @generated */ Value createValue(); /** - * Returns a new object of class 'Parameter'. - * - * + * Returns a new object of class 'Parameter'. + * * @return a new object of class 'Parameter'. * @generated */ Parameter createParameter(); /** - * Returns the package supported by this factory. - * - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ MangoPackage getMangoPackage(); -} //MangoFactory +} // MangoFactory diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoPackage.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoPackage.java index a11eb3b460..1e838e0e26 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoPackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/MangoPackage.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MangoPackage.java,v 1.7 2008-12-28 17:56:34 estepper Exp $ + * $Id: MangoPackage.java,v 1.8 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; @@ -27,6 +27,7 @@ import org.eclipse.emf.ecore.EReference; *
* The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getParameter_Name() @@ -58,14 +57,14 @@ public interface Parameter extends EObject void setName(String value); /** - * Returns the value of the 'Passing' attribute. - * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.mango.ParameterPassing}. - * + * Returns the value of the 'Passing' attribute. The literals are from the enumeration + * {@link org.eclipse.emf.cdo.tests.mango.ParameterPassing}. ** If the meaning of the 'Passing' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Passing' attribute. * @see org.eclipse.emf.cdo.tests.mango.ParameterPassing * @see #setPassing(ParameterPassing) @@ -78,7 +77,9 @@ public interface Parameter extends EObject /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.mango.Parameter#getPassing Passing}' attribute. * - * @param value the new value of the 'Passing' attribute. + * + * @param value + * the new value of the 'Passing' attribute. * @see org.eclipse.emf.cdo.tests.mango.ParameterPassing * @see #getPassing() * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ParameterPassing.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ParameterPassing.java index e3c04b64cf..b821548ed0 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ParameterPassing.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ParameterPassing.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ParameterPassing.java,v 1.3 2008-12-28 17:56:34 estepper Exp $ + * $Id: ParameterPassing.java,v 1.4 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; @@ -21,6 +21,7 @@ import java.util.List; /** * A representation of the literals of the enumeration 'Parameter Passing', and * utility methods for working with them. + * * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getParameterPassing() * @model * @generated @@ -28,8 +29,8 @@ import java.util.List; public enum ParameterPassing implements Enumerator { /** - * The 'By Value' literal object. - * + * The 'By Value' literal object. + * * @see #BY_VALUE_VALUE * @generated * @ordered @@ -37,8 +38,8 @@ public enum ParameterPassing implements Enumerator BY_VALUE(0, "ByValue", "ByValue"), /** - * The 'By Reference' literal object. - * + * The 'By Reference' literal object. + * * @see #BY_REFERENCE_VALUE * @generated * @ordered @@ -46,13 +47,13 @@ public enum ParameterPassing implements Enumerator BY_REFERENCE(1, "ByReference", "ByReference"); /** - * The 'By Value' literal value. - * + * The 'By Value' literal value. ** If the meaning of 'By Value' literal object isn't clear, there really should be more of a * description here... *
* + * * @see #BY_VALUE * @model name="ByValue" * @generated @@ -61,13 +62,13 @@ public enum ParameterPassing implements Enumerator public static final int BY_VALUE_VALUE = 0; /** - * The 'By Reference' literal value. - * + * The 'By Reference' literal value. ** If the meaning of 'By Reference' literal object isn't clear, there really should be more of a * description here... *
* + * * @see #BY_REFERENCE * @model name="ByReference" * @generated @@ -76,24 +77,24 @@ public enum ParameterPassing implements Enumerator public static final int BY_REFERENCE_VALUE = 1; /** - * An array of all the 'Parameter Passing' enumerators. - * + * An array of all the 'Parameter Passing' enumerators. + * * @generated */ private static final ParameterPassing[] VALUES_ARRAY = new ParameterPassing[] { BY_VALUE, BY_REFERENCE, }; /** - * A public read-only list of all the 'Parameter Passing' enumerators. - * + * * @generated */ public static final List* The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getValue_Name() diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ValueList.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ValueList.java index 3bbec7112a..7b1eed1ab9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ValueList.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/ValueList.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ValueList.java,v 1.5 2008-12-28 17:56:34 estepper Exp $ + * $Id: ValueList.java,v 1.6 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; @@ -17,15 +17,14 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Value List'. - * ** The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getValueList_Name() @@ -59,14 +58,14 @@ public interface ValueList extends EObject void setName(String value); /** - * Returns the value of the 'Values' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.mango.Value}. - * + * Returns the value of the 'Values' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.mango.Value}. ** If the meaning of the 'Values' reference list isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Values' reference list. * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getValueList_Values() * @model diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoFactoryImpl.java index c84adc2365..f4a9322435 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoFactoryImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MangoFactoryImpl.java,v 1.7 2008-12-28 17:56:34 estepper Exp $ + * $Id: MangoFactoryImpl.java,v 1.8 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.impl; @@ -28,13 +28,14 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * An implementation of the model Factory. + * * @generated */ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory { /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static MangoFactory init() @@ -56,8 +57,8 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public MangoFactoryImpl() @@ -67,6 +68,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ @Override @@ -87,6 +89,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ @Override @@ -103,6 +106,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ @Override @@ -119,6 +123,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public ValueList createValueList() @@ -129,6 +134,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public Value createValue() @@ -139,6 +145,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public Parameter createParameter() @@ -149,6 +156,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public ParameterPassing createParameterPassingFromString(EDataType eDataType, String initialValue) @@ -162,6 +170,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public String convertParameterPassingToString(EDataType eDataType, Object instanceValue) @@ -171,6 +180,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @generated */ public MangoPackage getMangoPackage() @@ -180,6 +190,7 @@ public class MangoFactoryImpl extends EFactoryImpl implements MangoFactory /** * + * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoPackageImpl.java index a9b950a72d..5750063f4b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/MangoPackageImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MangoPackageImpl.java,v 1.7 2008-12-28 17:56:34 estepper Exp $ + * $Id: MangoPackageImpl.java,v 1.8 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.impl; @@ -28,30 +28,35 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * An implementation of the model Package. + * * @generated */ public class MangoPackageImpl extends EPackageImpl implements MangoPackage { /** * + * * @generated */ private EClass valueListEClass = null; /** * + * * @generated */ private EClass valueEClass = null; /** * + * * @generated */ private EClass parameterEClass = null; /** * + * * @generated */ private EEnum parameterPassingEEnum = null; @@ -76,27 +81,24 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ private static boolean isInited = false; /** - * Creates, registers, and initializes the Package for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - *Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - *
Invocation of this method will not affect any packages that have - * already been initialized. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This + * method drives initialization for interdependent packages directly, in parallel with this package, itself. + *
+ * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are + * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the + * packages are created before any are initialized, since one package's meta-model objects may refer to those of + * another. + *
+ * Invocation of this method will not affect any packages that have already been initialized. * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -128,6 +130,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EClass getValueList() @@ -137,6 +140,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EAttribute getValueList_Name() @@ -146,6 +150,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EReference getValueList_Values() @@ -155,6 +160,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EClass getValue() @@ -164,6 +170,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EAttribute getValue_Name() @@ -173,6 +180,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EClass getParameter() @@ -182,6 +190,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EAttribute getParameter_Name() @@ -191,6 +200,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EAttribute getParameter_Passing() @@ -200,6 +210,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public EEnum getParameterPassing() @@ -209,6 +220,7 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ public MangoFactory getMangoFactory() @@ -218,14 +230,15 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * + * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its + * first. + * * @generated */ public void createPackageContents() @@ -252,14 +265,15 @@ public class MangoPackageImpl extends EPackageImpl implements MangoPackage /** * + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * + * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any + * invocation but its first. + * * @generated */ public void initializePackageContents() diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ParameterImpl.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ParameterImpl.java index cc5dacec07..9479a8064c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ParameterImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ParameterImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ParameterImpl.java,v 1.3 2008-12-28 17:56:34 estepper Exp $ + * $Id: ParameterImpl.java,v 1.4 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.impl; @@ -25,17 +25,18 @@ import org.eclipse.emf.ecore.EClass; *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
createXXX
* method for each class of the model.
+ *
* @see org.eclipse.emf.cdo.tests.mango.MangoPackage
* @generated
*/
public class MangoAdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static MangoPackage modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public MangoAdapterFactory()
@@ -51,10 +52,10 @@ public class MangoAdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * This implementation
+ * Returns whether this factory is applicable for the type of the object. This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -73,8 +74,8 @@ public class MangoAdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected MangoSwitchtarget
.
- *
- * @param target the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -118,9 +120,10 @@ public class MangoAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.mango.ValueList Value List}'.
- * 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.mango.ValueList Value List}
+ * '. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.mango.ValueList
* @generated
@@ -145,9 +148,10 @@ public class MangoAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.mango.Parameter Parameter}'.
- * 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.mango.Parameter Parameter}
+ * '. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.mango.Parameter
* @generated
@@ -158,9 +162,9 @@ public class MangoAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * This default implementation returns null. This default implementation returns null.
+ *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoSwitch.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoSwitch.java
index 5ee4350816..eb94841d55 100644
--- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoSwitch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoSwitch.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*
- * $Id: MangoSwitch.java,v 1.7 2008-12-28 17:56:34 estepper Exp $
+ * $Id: MangoSwitch.java,v 1.8 2009-01-10 13:55:54 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.mango.util;
@@ -27,21 +27,22 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
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.
+ *
* @see org.eclipse.emf.cdo.tests.mango.MangoPackage
* @generated
*/
public class MangoSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -66,6 +68,7 @@ public class MangoSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -85,6 +88,7 @@ public class MangoSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -122,10 +126,11 @@ public class MangoSwitch* The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_Name() @@ -66,12 +65,12 @@ public interface Address extends EObject void setName(String value); /** - * Returns the value of the 'Street' attribute. - * + * Returns the value of the 'Street' attribute. ** If the meaning of the 'Street' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Street' attribute. * @see #setStreet(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_Street() @@ -92,12 +91,12 @@ public interface Address extends EObject void setStreet(String value); /** - * Returns the value of the 'City' attribute. - * + * Returns the value of the 'City' attribute. ** If the meaning of the 'City' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'City' attribute. * @see #setCity(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_City() diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java index 4178c28b4a..db3be57b03 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java @@ -17,16 +17,15 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Category'. - * ** The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Name() @@ -67,14 +66,14 @@ public interface Category extends EObject void setName(String value); /** - * Returns the value of the 'Categories' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.Category}. - * + * Returns the value of the 'Categories' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.Category}. ** If the meaning of the 'Categories' containment reference list isn't clear, there really should be more of * a description here... *
* + * * @return the value of the 'Categories' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Categories() * @model containment="true" @@ -83,14 +82,14 @@ public interface Category extends EObject EList* If the meaning of the 'Products' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Products' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Products() * @model containment="true" diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java index 548380e27e..e442ceb0ea 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java @@ -16,18 +16,17 @@ import org.eclipse.emf.common.util.EList; /** * A representation of the model object 'Company'. - * ** The following features are supported: *
* If the meaning of the 'Categories' containment reference list isn't clear, there really should be more of * a description here... *
* + * * @return the value of the 'Categories' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Categories() * @model containment="true" @@ -58,14 +57,14 @@ public interface Company extends Address EList* If the meaning of the 'Suppliers' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Suppliers' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Suppliers() * @model containment="true" @@ -74,14 +73,14 @@ public interface Company extends Address EList* If the meaning of the 'Purchase Orders' containment reference list isn't clear, there really should be * more of a description here... *
* + * * @return the value of the 'Purchase Orders' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_PurchaseOrders() * @model containment="true" @@ -90,14 +89,14 @@ public interface Company extends Address EList* If the meaning of the 'Customers' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Customers' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Customers() * @model containment="true" @@ -106,14 +105,14 @@ public interface Company extends Address EList* If the meaning of the 'Sales Orders' containment reference list isn't clear, there really should be more * of a description here... *
* + * * @return the value of the 'Sales Orders' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_SalesOrders() * @model containment="true" diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java index 5395c30b68..14b5f557db 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java @@ -16,14 +16,13 @@ import org.eclipse.emf.common.util.EList; /** * A representation of the model object 'Customer'. - * ** The following features are supported: *
* If the meaning of the 'Sales Orders' reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Sales Orders' reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCustomer_SalesOrders() * @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Factory.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Factory.java index dfcd45e845..51858adb59 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Factory.java @@ -17,116 +17,117 @@ import org.eclipse.emf.ecore.EFactory; /** * The Factory for the model. It provides a create method for each non-abstract class of * the model. + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package * @generated */ public interface Model1Factory extends EFactory { /** - * - * + * + * * @generated */ String copyright = "Copyright (c) 2004 - 2008 Eike Stepper, Germany.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation"; /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ Model1Factory eINSTANCE = org.eclipse.emf.cdo.tests.model1.impl.Model1FactoryImpl.init(); /** - * Returns a new object of class 'Address'. - * + * Returns a new object of class 'Address'. + * * @return a new object of class 'Address'. * @generated */ Address createAddress(); /** - * Returns a new object of class 'Supplier'. - * + * Returns a new object of class 'Supplier'. + * * @return a new object of class 'Supplier'. * @generated */ Supplier createSupplier(); /** - * Returns a new object of class 'Purchase Order'. - * + * Returns a new object of class 'Purchase Order'. + * * @return a new object of class 'Purchase Order'. * @generated */ PurchaseOrder createPurchaseOrder(); /** - * Returns a new object of class 'Order Detail'. - * + * Returns a new object of class 'Order Detail'. + * * @return a new object of class 'Order Detail'. * @generated */ OrderDetail createOrderDetail(); /** - * Returns a new object of class 'Order Address'. - * + * Returns a new object of class 'Order Address'. + * * @return a new object of class 'Order Address'. * @generated */ OrderAddress createOrderAddress(); /** - * Returns a new object of class 'Category'. - * + * Returns a new object of class 'Category'. + * * @return a new object of class 'Category'. * @generated */ Category createCategory(); /** - * Returns a new object of class 'Product1'. - * + * Returns a new object of class 'Product1'. + * * @return a new object of class 'Product1'. * @generated */ Product1 createProduct1(); /** - * Returns a new object of class 'Company'. - * + * Returns a new object of class 'Company'. + * * @return a new object of class 'Company'. * @generated */ Company createCompany(); /** - * Returns a new object of class 'Customer'. - * + * Returns a new object of class 'Customer'. + * * @return a new object of class 'Customer'. * @generated */ Customer createCustomer(); /** - * Returns a new object of class 'Order'. - * + * Returns a new object of class 'Order'. + * * @return a new object of class 'Order'. * @generated */ Order createOrder(); /** - * Returns a new object of class 'Sales Order'. - * + * Returns a new object of class 'Sales Order'. + * * @return a new object of class 'Sales Order'. * @generated */ SalesOrder createSalesOrder(); /** - * Returns the package supported by this factory. - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Package.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Package.java index 4604e3d2fe..3eae5a1816 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Model1Package.java @@ -27,6 +27,7 @@ import org.eclipse.emf.ecore.EReference; ** The following features are supported: *
* If the meaning of the 'Order Details' containment reference list isn't clear, there really should be more * of a description here... *
* + * * @return the value of the 'Order Details' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrder_OrderDetails() * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java index a34f49ce14..461f223bfa 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java @@ -8,20 +8,19 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: OrderAddress.java,v 1.4 2008-12-28 17:56:46 estepper Exp $ + * $Id: OrderAddress.java,v 1.5 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1; /** * A representation of the model object 'Order Address'. - * ** The following features are supported: *
* If the meaning of the 'Test Attribute' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Test Attribute' attribute. * @see #setTestAttribute(boolean) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderAddress_TestAttribute() @@ -52,9 +51,11 @@ public interface OrderAddress extends Address, Order, OrderDetail boolean isTestAttribute(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute Test Attribute}' attribute. - * - * @param value the new value of the 'Test Attribute' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute + * Test Attribute}' attribute. + * + * @param value + * the new value of the 'Test Attribute' attribute. * @see #isTestAttribute() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java index cced12b4e8..0e04569e0c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java @@ -16,16 +16,15 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Order Detail'. - * ** The following features are supported: *
* If the meaning of the 'Order' container reference isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Order' container reference. * @see #setOrder(Order) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Order() @@ -58,23 +57,25 @@ public interface OrderDetail extends EObject Order getOrder(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}' container reference. - * - * @param value the new value of the 'Order' container reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}' container + * reference. + * + * @param value + * the new value of the 'Order' container reference. * @see #getOrder() * @generated */ void setOrder(Order value); /** - * Returns the value of the 'Product' reference. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}'. - * + * Returns the value of the 'Product' reference. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}'. ** If the meaning of the 'Product' reference isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Product' reference. * @see #setProduct(Product1) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Product() @@ -87,19 +88,21 @@ public interface OrderDetail extends EObject /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}' reference. * - * @param value the new value of the 'Product' reference. + * + * @param value + * the new value of the 'Product' reference. * @see #getProduct() * @generated */ void setProduct(Product1 value); /** - * Returns the value of the 'Price' attribute. - * + * Returns the value of the 'Price' attribute. ** If the meaning of the 'Price' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Price' attribute. * @see #setPrice(float) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Price() @@ -111,7 +114,9 @@ public interface OrderDetail extends EObject /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}' attribute. * - * @param value the new value of the 'Price' attribute. + * + * @param value + * the new value of the 'Price' attribute. * @see #getPrice() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java index 114698ac3d..8346f1c0d4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Product1.java,v 1.4 2008-12-28 17:56:46 estepper Exp $ + * $Id: Product1.java,v 1.5 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1; @@ -17,17 +17,16 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Product'. - * ** The following features are supported: *
* If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Name() @@ -68,15 +67,15 @@ public interface Product1 extends EObject void setName(String value); /** - * Returns the value of the 'Order Details' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.OrderDetail}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}'. - * + * Returns the value of the 'Order Details' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.OrderDetail}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}'. ** If the meaning of the 'Order Details' reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Order Details' reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_OrderDetails() * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct @@ -86,14 +85,13 @@ public interface Product1 extends EObject EList"vat15"
.
- * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}.
- *
+ * Returns the value of the 'Vat' attribute. The default value is "vat15"
. The literals
+ * are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}.
* * If the meaning of the 'Vat' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Vat' attribute. * @see org.eclipse.emf.cdo.tests.model1.VAT * @see #setVat(VAT) @@ -116,13 +114,13 @@ public interface Product1 extends EObject void setVat(VAT value); /** - * Returns the value of the 'Description' attribute. - * + * Returns the value of the 'Description' attribute. ** If the meaning of the 'Description' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Description' attribute. * @see #setDescription(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Description() @@ -132,9 +130,11 @@ public interface Product1 extends EObject String getDescription(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}' attribute. - * - * @param value the new value of the 'Description' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}' + * attribute. + * + * @param value + * the new value of the 'Description' attribute. * @see #getDescription() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java index ca2729d0d9..fc5326e136 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java @@ -16,15 +16,14 @@ import java.util.Date; /** * A representation of the model object 'Purchase Order'. - * ** The following features are supported: *
* If the meaning of the 'Date' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Date' attribute. * @see #setDate(Date) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder_Date() @@ -56,22 +55,24 @@ public interface PurchaseOrder extends Order /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate Date}' attribute. * - * @param value the new value of the 'Date' attribute. + * + * @param value + * the new value of the 'Date' attribute. * @see #getDate() * @generated */ void setDate(Date value); /** - * Returns the value of the 'Supplier' reference. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders Purchase Orders}'. - * ** If the meaning of the 'Supplier' reference isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Supplier' reference. * @see #setSupplier(Supplier) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder_Supplier() @@ -82,9 +83,11 @@ public interface PurchaseOrder extends Order Supplier getSupplier(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}' reference. - * - * @param value the new value of the 'Supplier' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}' + * reference. + * + * @param value + * the new value of the 'Supplier' reference. * @see #getSupplier() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java index 7b10968751..9e83686f4a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java @@ -14,15 +14,14 @@ package org.eclipse.emf.cdo.tests.model1; /** * A representation of the model object 'Sales Order'. - * ** The following features are supported: *
* If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Id' attribute. * @see #setId(int) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder_Id() @@ -63,14 +62,14 @@ public interface SalesOrder extends Order void setId(int value); /** - * Returns the value of the 'Customer' reference. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders Sales Orders}'. - * + * Returns the value of the 'Customer' reference. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders Sales Orders}'. ** If the meaning of the 'Customer' reference isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Customer' reference. * @see #setCustomer(Customer) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder_Customer() @@ -81,9 +80,11 @@ public interface SalesOrder extends Order Customer getCustomer(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}' reference. - * - * @param value the new value of the 'Customer' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}' + * reference. + * + * @param value + * the new value of the 'Customer' reference. * @see #getCustomer() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java index 13fdce70d5..ddf40f0dec 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java @@ -16,15 +16,14 @@ import org.eclipse.emf.common.util.EList; /** * A representation of the model object 'Supplier'. - * ** The following features are supported: *
* If the meaning of the 'Purchase Orders' reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Purchase Orders' reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSupplier_PurchaseOrders() * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier @@ -76,7 +75,9 @@ public interface Supplier extends Address /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred Preferred}' attribute. * - * @param value the new value of the 'Preferred' attribute. + * + * @param value + * the new value of the 'Preferred' attribute. * @see #isPreferred() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java index 92d3a353bd..7f497d5150 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: VAT.java,v 1.5 2008-12-28 17:56:46 estepper Exp $ + * $Id: VAT.java,v 1.6 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1; @@ -21,6 +21,7 @@ import java.util.List; /** * A representation of the literals of the enumeration 'VAT', and utility * methods for working with them. + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getVAT() * @model * @generated @@ -28,8 +29,8 @@ import java.util.List; public enum VAT implements Enumerator { /** - * The 'Vat0' literal object. - * + * The 'Vat0' literal object. + * * @see #VAT0_VALUE * @generated * @ordered @@ -37,8 +38,8 @@ public enum VAT implements Enumerator VAT0(0, "vat0", "vat0"), /** - * The 'Vat7' literal object. - * + * The 'Vat7' literal object. + * * @see #VAT7_VALUE * @generated * @ordered @@ -46,8 +47,8 @@ public enum VAT implements Enumerator VAT7(7, "vat7", "vat7"), /** - * The 'Vat15' literal object. - * + * The 'Vat15' literal object. + * * @see #VAT15_VALUE * @generated * @ordered @@ -55,20 +56,20 @@ public enum VAT implements Enumerator VAT15(15, "vat15", "vat15"); /** - * - * + * + * * @generated */ public static final String copyright = "Copyright (c) 2004 - 2008 Eike Stepper, Germany.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation"; /** - * The 'Vat0' literal value. - * + * The 'Vat0' literal value. ** If the meaning of 'Vat0' literal object isn't clear, there really should be more of a description * here... *
* + * * @see #VAT0 * @model name="vat0" * @generated @@ -77,13 +78,13 @@ public enum VAT implements Enumerator public static final int VAT0_VALUE = 0; /** - * The 'Vat7' literal value. - * + * The 'Vat7' literal value. ** If the meaning of 'Vat7' literal object isn't clear, there really should be more of a description * here... *
* + * * @see #VAT7 * @model name="vat7" * @generated @@ -92,13 +93,13 @@ public enum VAT implements Enumerator public static final int VAT7_VALUE = 7; /** - * The 'Vat15' literal value. - * + * The 'Vat15' literal value. ** If the meaning of 'Vat15' literal object isn't clear, there really should be more of a description * here... *
* + * * @see #VAT15 * @model name="vat15" * @generated @@ -107,23 +108,23 @@ public enum VAT implements Enumerator public static final int VAT15_VALUE = 15; /** - * An array of all the 'VAT' enumerators. - * + * An array of all the 'VAT' enumerators. + * * @generated */ private static final VAT[] VALUES_ARRAY = new VAT[] { VAT0, VAT7, VAT15, }; /** - * A public read-only list of all the 'VAT' enumerators. - * + * A public read-only list of all the 'VAT' enumerators. + * * @generated */ public static final List* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - *
Invocation of this method will not affect any packages that have - * already been initialized. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This + * method drives initialization for interdependent packages directly, in parallel with this package, itself. + *
+ * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are + * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the + * packages are created before any are initialized, since one package's meta-model objects may refer to those of + * another. + *
+ * Invocation of this method will not affect any packages that have already been initialized. * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -190,6 +200,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getAddress() @@ -199,6 +210,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getAddress_Name() @@ -208,6 +220,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getAddress_Street() @@ -217,6 +230,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getAddress_City() @@ -226,6 +240,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getSupplier() @@ -235,6 +250,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getSupplier_PurchaseOrders() @@ -244,6 +260,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getSupplier_Preferred() @@ -253,6 +270,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getPurchaseOrder() @@ -262,6 +280,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getPurchaseOrder_Date() @@ -271,6 +290,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getPurchaseOrder_Supplier() @@ -280,6 +300,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getOrderDetail() @@ -289,6 +310,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getOrderDetail_Order() @@ -298,6 +320,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getOrderDetail_Product() @@ -307,6 +330,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getOrderDetail_Price() @@ -316,6 +340,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getOrderAddress() @@ -325,6 +350,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getOrderAddress_TestAttribute() @@ -334,6 +360,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EEnum getVAT() @@ -343,6 +370,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getCategory() @@ -352,6 +380,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getCategory_Name() @@ -361,6 +390,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCategory_Categories() @@ -370,6 +400,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCategory_Products() @@ -379,6 +410,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getProduct1() @@ -388,6 +420,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getProduct1_Name() @@ -397,6 +430,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getProduct1_OrderDetails() @@ -406,6 +440,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getProduct1_Vat() @@ -415,6 +450,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getProduct1_Description() @@ -424,6 +460,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getCompany() @@ -433,6 +470,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCompany_Categories() @@ -442,6 +480,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCompany_Suppliers() @@ -451,6 +490,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCompany_PurchaseOrders() @@ -460,6 +500,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCompany_Customers() @@ -469,6 +510,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCompany_SalesOrders() @@ -478,6 +520,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getCustomer() @@ -487,6 +530,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getCustomer_SalesOrders() @@ -496,6 +540,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getOrder() @@ -505,6 +550,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getOrder_OrderDetails() @@ -514,6 +560,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EClass getSalesOrder() @@ -523,6 +570,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EAttribute getSalesOrder_Id() @@ -532,6 +580,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public EReference getSalesOrder_Customer() @@ -541,6 +590,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ public Model1Factory getModel1Factory() @@ -550,14 +600,15 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * + * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its + * first. + * * @generated */ public void createPackageContents() @@ -622,14 +673,15 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * + * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any + * invocation but its first. + * * @generated */ public void initializePackageContents() diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderAddressImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderAddressImpl.java index afb36934a6..28b784bd8d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderAddressImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderAddressImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: OrderAddressImpl.java,v 1.5 2008-12-29 15:06:22 estepper Exp $ + * $Id: OrderAddressImpl.java,v 1.6 2009-01-10 13:55:58 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1.impl; @@ -26,27 +26,28 @@ import org.eclipse.emf.ecore.EClass; *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
createXXX
* method for each class of the model.
+ *
* @see org.eclipse.emf.cdo.tests.model1.Model1Package
* @generated
*/
public class Model1AdapterFactory extends AdapterFactoryImpl
{
/**
- *
- *
+ *
+ *
* @generated
*/
public static final String copyright = "Copyright (c) 2004 - 2008 Eike Stepper, Germany.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static Model1Package modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public Model1AdapterFactory()
@@ -66,10 +67,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * This implementation
+ * Returns whether this factory is applicable for the type of the object. This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -88,8 +89,8 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected Model1Switchtarget
.
- *
- * @param target the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -184,6 +186,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Address Address}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Address
* @generated
@@ -197,6 +200,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Supplier Supplier}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Supplier
* @generated
@@ -207,9 +211,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder Purchase Order}'.
- * 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.model1.PurchaseOrder
+ * Purchase Order}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder
* @generated
@@ -220,9 +225,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail Order Detail}'.
- * 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.model1.OrderDetail
+ * Order Detail}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.OrderDetail
* @generated
@@ -233,9 +239,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress Order Address}'.
- * 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.model1.OrderAddress
+ * Order Address}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.OrderAddress
* @generated
@@ -249,6 +256,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Category Category}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Category
* @generated
@@ -262,6 +270,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Product1 Product1}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Product1
* @generated
@@ -275,6 +284,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Company Company}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Company
* @generated
@@ -288,6 +298,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Customer Customer}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Customer
* @generated
@@ -312,9 +323,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder Sales Order}'.
- * 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.model1.SalesOrder
+ * Sales Order}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.SalesOrder
* @generated
@@ -325,9 +337,9 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * This default implementation returns null. This default implementation returns null.
+ *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
index 14b43e1d01..416b8d6960 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
@@ -35,28 +35,29 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
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.
+ *
* @see org.eclipse.emf.cdo.tests.model1.Model1Package
* @generated
*/
public class Model1SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -81,6 +83,7 @@ public class Model1SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -100,6 +103,7 @@ public class Model1SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -217,10 +221,11 @@ public class Model1Switch* The following features are supported: *
* If the meaning of the 'Discount Code' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Discount Code' attribute. * @see #setDiscountCode(String) * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_DiscountCode() @@ -50,22 +49,24 @@ public interface SpecialPurchaseOrder extends PurchaseOrder String getDiscountCode(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode Discount Code}' attribute. - * - * @param value the new value of the 'Discount Code' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode + * Discount Code}' attribute. + * + * @param value + * the new value of the 'Discount Code' attribute. * @see #getDiscountCode() * @generated */ void setDiscountCode(String value); /** - * Returns the value of the 'Shipping Address' containment reference. - * + * Returns the value of the 'Shipping Address' containment reference. ** If the meaning of the 'Shipping Address' containment reference isn't clear, there really should be more of * a description here... *
* + * * @return the value of the 'Shipping Address' containment reference. * @see #setShippingAddress(Address) * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder_ShippingAddress() @@ -75,9 +76,11 @@ public interface SpecialPurchaseOrder extends PurchaseOrder Address getShippingAddress(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress Shipping Address}' containment reference. - * - * @param value the new value of the 'Shipping Address' containment reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress + * Shipping Address}' containment reference. + * + * @param value + * the new value of the 'Shipping Address' containment reference. * @see #getShippingAddress() * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java index f4c358cb86..23d795a91b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Task.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Task.java,v 1.3 2008-12-28 17:56:56 estepper Exp $ + * $Id: Task.java,v 1.4 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2; @@ -16,16 +16,15 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Task'. - * ** The following features are supported: *
* If the meaning of the 'Task Container' container reference isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Task Container' container reference. * @see #setTaskContainer(TaskContainer) * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_TaskContainer() @@ -51,22 +50,24 @@ public interface Task extends EObject TaskContainer getTaskContainer(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}' container reference. - * - * @param value the new value of the 'Task Container' container reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}' + * container reference. + * + * @param value + * the new value of the 'Task Container' container reference. * @see #getTaskContainer() * @generated */ void setTaskContainer(TaskContainer value); /** - * Returns the value of the 'Description' attribute. - * + * Returns the value of the 'Description' attribute. ** If the meaning of the 'Description' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Description' attribute. * @see #setDescription(String) * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Description() @@ -76,21 +77,23 @@ public interface Task extends EObject String getDescription(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription Description}' attribute. - * - * @param value the new value of the 'Description' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription Description}' + * attribute. + * + * @param value + * the new value of the 'Description' attribute. * @see #getDescription() * @generated */ void setDescription(String value); /** - * Returns the value of the 'Done' attribute. - * + * Returns the value of the 'Done' attribute. ** If the meaning of the 'Done' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Done' attribute. * @see #setDone(boolean) * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask_Done() diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java index ce0ef62702..f1fea2b110 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/TaskContainer.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: TaskContainer.java,v 1.3 2008-12-28 17:56:56 estepper Exp $ + * $Id: TaskContainer.java,v 1.4 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2; @@ -17,14 +17,13 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Task Container'. - * ** The following features are supported: *
* If the meaning of the 'Tasks' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Tasks' containment reference list. * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer_Tasks() * @see org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java index 29a632758a..d97d9638c3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2FactoryImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model2FactoryImpl.java,v 1.6 2008-12-28 17:56:56 estepper Exp $ + * $Id: Model2FactoryImpl.java,v 1.7 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.impl; @@ -26,13 +26,14 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * An implementation of the model Factory. + * * @generated */ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory { /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static Model2Factory init() @@ -54,8 +55,8 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public Model2FactoryImpl() @@ -65,6 +66,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @generated */ @Override @@ -85,6 +87,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @generated */ public SpecialPurchaseOrder createSpecialPurchaseOrder() @@ -95,6 +98,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @generated */ public TaskContainer createTaskContainer() @@ -105,6 +109,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @generated */ public Task createTask() @@ -115,6 +120,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @generated */ public Model2Package getModel2Package() @@ -124,6 +130,7 @@ public class Model2FactoryImpl extends EFactoryImpl implements Model2Factory /** * + * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java index a6b4db8e55..b135543e9a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/Model2PackageImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model2PackageImpl.java,v 1.8 2008-12-28 17:56:56 estepper Exp $ + * $Id: Model2PackageImpl.java,v 1.9 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.impl; @@ -27,24 +27,28 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * An implementation of the model Package. + * * @generated */ public class Model2PackageImpl extends EPackageImpl implements Model2Package { /** * + * * @generated */ private EClass specialPurchaseOrderEClass = null; /** * + * * @generated */ private EClass taskContainerEClass = null; /** * + * * @generated */ private EClass taskEClass = null; @@ -69,27 +73,24 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ private static boolean isInited = false; /** - * Creates, registers, and initializes the Package for this - * model, and for any others upon which it depends. Simple - * dependencies are satisfied by calling this method on all - * dependent packages before doing anything else. This method drives - * initialization for interdependent packages directly, in parallel - * with this package, itself. - *Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - *
Invocation of this method will not affect any packages that have - * already been initialized. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This + * method drives initialization for interdependent packages directly, in parallel with this package, itself. + *
+ * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are + * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the + * packages are created before any are initialized, since one package's meta-model objects may refer to those of + * another. + *
+ * Invocation of this method will not affect any packages that have already been initialized. * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -124,6 +125,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EClass getSpecialPurchaseOrder() @@ -133,6 +135,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EAttribute getSpecialPurchaseOrder_DiscountCode() @@ -142,6 +145,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EReference getSpecialPurchaseOrder_ShippingAddress() @@ -151,6 +155,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EClass getTaskContainer() @@ -160,6 +165,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EReference getTaskContainer_Tasks() @@ -169,6 +175,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EClass getTask() @@ -178,6 +185,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EReference getTask_TaskContainer() @@ -187,6 +195,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EAttribute getTask_Description() @@ -196,6 +205,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public EAttribute getTask_Done() @@ -205,6 +215,7 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ public Model2Factory getModel2Factory() @@ -214,14 +225,15 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * + * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its + * first. + * * @generated */ public void createPackageContents() @@ -246,14 +258,15 @@ public class Model2PackageImpl extends EPackageImpl implements Model2Package /** * + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * + * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any + * invocation but its first. + * * @generated */ public void initializePackageContents() diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java index 43b77688a1..7bf4577cbc 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/SpecialPurchaseOrderImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SpecialPurchaseOrderImpl.java,v 1.6 2008-12-28 17:56:56 estepper Exp $ + * $Id: SpecialPurchaseOrderImpl.java,v 1.7 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.impl; @@ -25,17 +25,19 @@ import org.eclipse.emf.ecore.EClass; *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
createXXX
* method for each class of the model.
+ *
* @see org.eclipse.emf.cdo.tests.model2.Model2Package
* @generated
*/
public class Model2AdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static Model2Package modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public Model2AdapterFactory()
@@ -53,10 +54,10 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * This implementation
+ * Returns whether this factory is applicable for the type of the object. This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -75,8 +76,8 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected Model2Switchtarget
.
- *
- * @param target the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -132,10 +134,11 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder Special Purchase Order}'.
- * This default implementation returns null so that we can
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder
+ * Special Purchase Order}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder
* @generated
@@ -146,9 +149,10 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer Task Container}'.
- * 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.model2.TaskContainer
+ * Task Container}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model2.TaskContainer
* @generated
@@ -187,9 +191,10 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder Purchase Order}'.
- * 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.model1.PurchaseOrder
+ * Purchase Order}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder
* @generated
@@ -200,9 +205,9 @@ public class Model2AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * This default implementation returns null. This default implementation returns null.
+ *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
index 080a3a5612..a7f257001d 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2Switch.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*
- * $Id: Model2Switch.java,v 1.7 2008-12-28 17:56:56 estepper Exp $
+ * $Id: Model2Switch.java,v 1.8 2009-01-10 13:55:50 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model2.util;
@@ -29,21 +29,22 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
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.
+ *
* @see org.eclipse.emf.cdo.tests.model2.Model2Package
* @generated
*/
public class Model2SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -68,6 +70,7 @@ public class Model2SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -87,6 +90,7 @@ public class Model2SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -144,10 +148,11 @@ public class Model2Switch* The following features are supported: *
* If the meaning of the 'Class2' reference list isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Class2' reference list. * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getClass1_Class2() * @see org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java index b3f41f4589..81b184ee30 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Factory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model3Factory.java,v 1.4 2008-12-28 17:57:14 estepper Exp $ + * $Id: Model3Factory.java,v 1.5 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3; @@ -17,37 +17,38 @@ import org.eclipse.emf.ecore.EFactory; /** * The Factory for the model. It provides a create method for each non-abstract class of * the model. + * * @see org.eclipse.emf.cdo.tests.model3.Model3Package * @generated */ public interface Model3Factory extends EFactory { /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ Model3Factory eINSTANCE = org.eclipse.emf.cdo.tests.model3.impl.Model3FactoryImpl.init(); /** - * Returns a new object of class 'Class1'. - * + * Returns a new object of class 'Class1'. + * * @return a new object of class 'Class1'. * @generated */ Class1 createClass1(); /** - * Returns a new object of class 'Meta Ref'. - * + * Returns a new object of class 'Meta Ref'. + * * @return a new object of class 'Meta Ref'. * @generated */ MetaRef createMetaRef(); /** - * Returns the package supported by this factory. - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java index 152a706851..7ebbc5f271 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Model3Package.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model3Package.java,v 1.5 2008-12-28 17:57:14 estepper Exp $ + * $Id: Model3Package.java,v 1.6 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3; @@ -25,6 +25,7 @@ import org.eclipse.emf.ecore.EReference; ** The following features are implemented: *
Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - *
Invocation of this method will not affect any packages that have - * already been initialized. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This + * method drives initialization for interdependent packages directly, in parallel with this package, itself. + *
+ * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are + * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the + * packages are created before any are initialized, since one package's meta-model objects may refer to those of + * another. + *
+ * Invocation of this method will not affect any packages that have already been initialized. * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -125,6 +125,7 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ public EClass getClass1() @@ -134,6 +135,7 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ public EReference getClass1_Class2() @@ -143,6 +145,7 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ public EClass getMetaRef() @@ -152,6 +155,7 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ public EReference getMetaRef_EPackageRef() @@ -161,6 +165,7 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ public Model3Factory getModel3Factory() @@ -170,14 +175,15 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * + * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its + * first. + * * @generated */ public void createPackageContents() @@ -196,14 +202,15 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * + * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any + * invocation but its first. + * * @generated */ public void initializePackageContents() diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java index e10bc42d31..6e2d0b9b49 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/Class2.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Class2.java,v 1.4 2008-12-28 17:57:14 estepper Exp $ + * $Id: Class2.java,v 1.5 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage; @@ -19,14 +19,13 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Class2'. - * *
* The following features are supported: *
* If the meaning of the 'Class1' reference list isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Class1' reference list. * @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage#getClass2_Class1() * @see org.eclipse.emf.cdo.tests.model3.Class1#getClass2 diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java index 8e2d6591e3..353513148f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackageFactory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SubpackageFactory.java,v 1.3 2008-12-28 17:57:14 estepper Exp $ + * $Id: SubpackageFactory.java,v 1.4 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage; @@ -17,29 +17,30 @@ import org.eclipse.emf.ecore.EFactory; /** * The Factory for the model. It provides a create method for each non-abstract class of * the model. + * * @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage * @generated */ public interface SubpackageFactory extends EFactory { /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ SubpackageFactory eINSTANCE = org.eclipse.emf.cdo.tests.model3.subpackage.impl.SubpackageFactoryImpl.init(); /** - * Returns a new object of class 'Class2'. - * + * Returns a new object of class 'Class2'. + * * @return a new object of class 'Class2'. * @generated */ Class2 createClass2(); /** - * Returns the package supported by this factory. - * + * Returns the package supported by this factory. + * * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java index 7562b35b51..314c23abb3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/SubpackagePackage.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SubpackagePackage.java,v 1.4 2008-12-28 17:57:14 estepper Exp $ + * $Id: SubpackagePackage.java,v 1.5 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage; @@ -25,6 +25,7 @@ import org.eclipse.emf.ecore.EReference; ** The following features are implemented: *
Of this package and its interdependencies, all packages which - * have not yet been registered by their URI values are first created - * and registered. The packages are then initialized in two steps: - * meta-model objects for all of the packages are created before any - * are initialized, since one package's meta-model objects may refer to - * those of another. - *
Invocation of this method will not affect any packages that have - * already been initialized. - * + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This + * method drives initialization for interdependent packages directly, in parallel with this package, itself. + *
+ * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are + * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the + * packages are created before any are initialized, since one package's meta-model objects may refer to those of + * another. + *
+ * Invocation of this method will not affect any packages that have already been initialized.
*
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
@@ -118,6 +117,7 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac
/**
*
+ *
* @generated
*/
public EClass getClass2()
@@ -127,6 +127,7 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac
/**
*
+ *
* @generated
*/
public EReference getClass2_Class1()
@@ -136,6 +137,7 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac
/**
*
+ *
* @generated
*/
public SubpackageFactory getSubpackageFactory()
@@ -145,14 +147,15 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac
/**
*
+ *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- *
+ * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
+ * first.
+ *
* @generated
*/
public void createPackageContents()
@@ -168,14 +171,15 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac
/**
*
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- *
+ * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
+ * invocation but its first.
+ *
* @generated
*/
public void initializePackageContents()
diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageAdapterFactory.java
index 5348cfc01b..9ec0ed3d91 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageAdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageAdapterFactory.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*
- * $Id: SubpackageAdapterFactory.java,v 1.4 2008-12-28 17:57:14 estepper Exp $
+ * $Id: SubpackageAdapterFactory.java,v 1.5 2009-01-10 13:55:48 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model3.subpackage.util;
@@ -23,21 +23,22 @@ import org.eclipse.emf.ecore.EObject;
/**
* The Adapter Factory for the model. It provides an adapter createXXX
* method for each class of the model.
+ *
* @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage
* @generated
*/
public class SubpackageAdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static SubpackagePackage modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public SubpackageAdapterFactory()
@@ -49,10 +50,10 @@ public class SubpackageAdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * This implementation
+ * Returns whether this factory is applicable for the type of the object. This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -71,8 +72,8 @@ public class SubpackageAdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected SubpackageSwitchtarget
.
- *
- * @param target the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -104,9 +106,10 @@ public class SubpackageAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2 Class2}'.
- * This default implementation returns null so that we can easily ignore
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2
+ * Class2}'. 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model3.subpackage.Class2
* @generated
@@ -117,9 +120,9 @@ public class SubpackageAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * This default implementation returns null. This default implementation returns null.
+ *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java
index c3bba7fde9..5a943fc542 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/util/SubpackageSwitch.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*
- * $Id: SubpackageSwitch.java,v 1.6 2008-12-28 17:57:14 estepper Exp $
+ * $Id: SubpackageSwitch.java,v 1.7 2009-01-10 13:55:48 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model3.subpackage.util;
@@ -25,21 +25,22 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
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.
+ *
* @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage
* @generated
*/
public class SubpackageSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -64,6 +66,7 @@ public class SubpackageSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -83,6 +86,7 @@ public class SubpackageSwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -104,10 +108,11 @@ public class SubpackageSwitchcreateXXX
* method for each class of the model.
+ *
* @see org.eclipse.emf.cdo.tests.model3.Model3Package
* @generated
*/
public class Model3AdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- *
+ * The cached model package.
+ *
* @generated
*/
protected static Model3Package modelPackage;
/**
- * Creates an instance of the adapter factory.
- *
+ * Creates an instance of the adapter factory.
+ *
* @generated
*/
public Model3AdapterFactory()
@@ -50,10 +51,10 @@ public class Model3AdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * This implementation
+ * Returns whether this factory is applicable for the type of the object. This implementation
* returns true
if the object is either the model's package or is an instance object of the model.
+ *
* @return whether this factory is applicable for the type of the object.
* @generated
*/
@@ -72,8 +73,8 @@ public class Model3AdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch that delegates to the createXXX
methods.
- *
+ * The switch that delegates to the createXXX
methods.
+ *
* @generated
*/
protected Model3Switchtarget
.
- *
- * @param target the object to adapt.
+ * Creates an adapter for the target
.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the target
.
* @generated
*/
@@ -114,6 +116,7 @@ public class Model3AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model3.Class1 Class1}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model3.Class1
* @generated
@@ -127,6 +130,7 @@ public class Model3AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model3.MetaRef Meta Ref}'.
* 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.
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model3.MetaRef
* @generated
@@ -137,9 +141,9 @@ public class Model3AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * This default implementation returns null. This default implementation returns null.
+ *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java
index 5f90843f58..4d39bae26b 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3Switch.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*
- * $Id: Model3Switch.java,v 1.6 2008-12-28 17:57:14 estepper Exp $
+ * $Id: Model3Switch.java,v 1.7 2009-01-10 13:55:48 estepper Exp $
*/
package org.eclipse.emf.cdo.tests.model3.util;
@@ -26,21 +26,22 @@ import java.util.List;
* {@link #doSwitch(EObject) doSwitch(object)} to invoke the caseXXX
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.
+ *
* @see org.eclipse.emf.cdo.tests.model3.Model3Package
* @generated
*/
public class Model3SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -65,6 +67,7 @@ public class Model3SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -84,6 +87,7 @@ public class Model3SwitchcaseXXX
for each class of the model until one returns a non null result; it yields that result.
*
+ *
* @return the first non-null result returned by a caseXXX
call.
* @generated
*/
@@ -113,10 +117,11 @@ public class Model3Switch