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; *
  • and each data type
  • * * + * * @see org.eclipse.emf.cdo.tests.mango.MangoFactory * @model kind="package" * @generated @@ -34,29 +35,29 @@ import org.eclipse.emf.ecore.EReference; public interface MangoPackage extends EPackage { /** - * The package name. - * + * The package name. + * * @generated */ String eNAME = "mango"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/mango"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "mango"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ MangoPackage eINSTANCE = org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl.init(); @@ -64,6 +65,7 @@ public interface MangoPackage extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl Value List}' class. * + * * @see org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getValueList() * @generated @@ -71,24 +73,24 @@ public interface MangoPackage extends EPackage int VALUE_LIST = 0; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int VALUE_LIST__NAME = 0; /** - * The feature id for the 'Values' reference list. - * + * The feature id for the 'Values' reference list. + * * @generated * @ordered */ int VALUE_LIST__VALUES = 1; /** - * The number of structural features of the 'Value List' class. - * + * The number of structural features of the 'Value List' class. + * * @generated * @ordered */ @@ -105,16 +107,16 @@ public interface MangoPackage extends EPackage int VALUE = 1; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int VALUE__NAME = 0; /** - * The number of structural features of the 'Value' class. - * + * The number of structural features of the 'Value' class. + * * @generated * @ordered */ @@ -123,6 +125,7 @@ public interface MangoPackage extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl Parameter}' class. * + * * @see org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getParameter() * @generated @@ -130,32 +133,33 @@ public interface MangoPackage extends EPackage int PARAMETER = 2; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int PARAMETER__NAME = 0; /** - * The feature id for the 'Passing' attribute. - * + * The feature id for the 'Passing' attribute. + * * @generated * @ordered */ int PARAMETER__PASSING = 1; /** - * The number of structural features of the 'Parameter' class. - * + * The number of structural features of the 'Parameter' class. + * * @generated * @ordered */ int PARAMETER_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing Parameter Passing}' enum. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing Parameter Passing}' + * enum. + * * @see org.eclipse.emf.cdo.tests.mango.ParameterPassing * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getParameterPassing() * @generated @@ -173,8 +177,9 @@ public interface MangoPackage extends EPackage EClass getValueList(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.ValueList#getName Name}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.ValueList#getName Name} + * '. + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.mango.ValueList#getName() * @see #getValueList() @@ -183,8 +188,9 @@ public interface MangoPackage extends EPackage EAttribute getValueList_Name(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.mango.ValueList#getValues Values}'. - * + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.mango.ValueList#getValues + * Values}'. + * * @return the meta object for the reference list 'Values'. * @see org.eclipse.emf.cdo.tests.mango.ValueList#getValues() * @see #getValueList() @@ -205,6 +211,7 @@ public interface MangoPackage extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.Value#getName Name}'. * + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.mango.Value#getName() * @see #getValue() @@ -223,8 +230,9 @@ public interface MangoPackage extends EPackage EClass getParameter(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.Parameter#getName Name}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.Parameter#getName Name} + * '. + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.mango.Parameter#getName() * @see #getParameter() @@ -233,8 +241,9 @@ public interface MangoPackage extends EPackage EAttribute getParameter_Name(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.Parameter#getPassing Passing}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.mango.Parameter#getPassing + * Passing}'. + * * @return the meta object for the attribute 'Passing'. * @see org.eclipse.emf.cdo.tests.mango.Parameter#getPassing() * @see #getParameter() @@ -243,8 +252,9 @@ public interface MangoPackage extends EPackage EAttribute getParameter_Passing(); /** - * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing Parameter Passing}'. - * + * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing + * Parameter Passing}'. + * * @return the meta object for enum 'Parameter Passing'. * @see org.eclipse.emf.cdo.tests.mango.ParameterPassing * @generated @@ -252,8 +262,8 @@ public interface MangoPackage extends EPackage EEnum getParameterPassing(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * @return the factory that creates the instances of the model. * @generated */ @@ -268,13 +278,15 @@ public interface MangoPackage extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals { /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl Value List}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl Value List}' + * class. + * * @see org.eclipse.emf.cdo.tests.mango.impl.ValueListImpl * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getValueList() * @generated @@ -282,17 +294,17 @@ public interface MangoPackage extends EPackage EClass VALUE_LIST = eINSTANCE.getValueList(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute VALUE_LIST__NAME = eINSTANCE.getValueList_Name(); /** - * The meta object literal for the 'Values' reference list feature. - * + * * @generated */ EReference VALUE_LIST__VALUES = eINSTANCE.getValueList_Values(); @@ -300,6 +312,7 @@ public interface MangoPackage extends EPackage /** * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ValueImpl Value}' class. * + * * @see org.eclipse.emf.cdo.tests.mango.impl.ValueImpl * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getValue() * @generated @@ -307,16 +320,17 @@ public interface MangoPackage extends EPackage EClass VALUE = eINSTANCE.getValue(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute VALUE__NAME = eINSTANCE.getValue_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl Parameter}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl Parameter}' + * class. + * * @see org.eclipse.emf.cdo.tests.mango.impl.ParameterImpl * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getParameter() * @generated @@ -324,24 +338,25 @@ public interface MangoPackage extends EPackage EClass PARAMETER = eINSTANCE.getParameter(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute PARAMETER__NAME = eINSTANCE.getParameter_Name(); /** - * The meta object literal for the 'Passing' attribute feature. - * + * * @generated */ EAttribute PARAMETER__PASSING = eINSTANCE.getParameter_Passing(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing Parameter Passing}' enum. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.mango.ParameterPassing + * Parameter Passing}' enum. + * * @see org.eclipse.emf.cdo.tests.mango.ParameterPassing * @see org.eclipse.emf.cdo.tests.mango.impl.MangoPackageImpl#getParameterPassing() * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Parameter.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Parameter.java index b2b24f57e9..addca7e81c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Parameter.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Parameter.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Parameter.java,v 1.3 2008-12-28 17:56:34 estepper Exp $ + * $Id: Parameter.java,v 1.4 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; @@ -16,15 +16,14 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Parameter'. - * *

    * The following features are supported: *

    *

    - * + * * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getParameter() * @model * @generated @@ -32,12 +31,12 @@ import org.eclipse.emf.ecore.EObject; public interface Parameter extends EObject { /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** - * Returns the 'Parameter Passing' literal with the specified literal value. - * + * Returns the 'Parameter Passing' literal with the specified literal value. * + * * @generated */ public static ParameterPassing get(String literal) @@ -110,9 +111,9 @@ public enum ParameterPassing implements Enumerator } /** - * Returns the 'Parameter Passing' literal with the specified name. - * + * * @generated */ public static ParameterPassing getByName(String name) @@ -129,9 +130,9 @@ public enum ParameterPassing implements Enumerator } /** - * Returns the 'Parameter Passing' literal with the specified integer value. - * + * Returns the 'Parameter Passing' literal with the specified integer value. * + * * @generated */ public static ParameterPassing get(int value) @@ -148,25 +149,28 @@ public enum ParameterPassing implements Enumerator /** * + * * @generated */ private final int value; /** * + * * @generated */ private final String name; /** * + * * @generated */ private final String literal; /** - * Only this class can construct instances. - * + * Only this class can construct instances. + * * @generated */ private ParameterPassing(int value, String name, String literal) @@ -178,6 +182,7 @@ public enum ParameterPassing implements Enumerator /** * + * * @generated */ public int getValue() @@ -187,6 +192,7 @@ public enum ParameterPassing implements Enumerator /** * + * * @generated */ public String getName() @@ -196,6 +202,7 @@ public enum ParameterPassing implements Enumerator /** * + * * @generated */ public String getLiteral() @@ -204,9 +211,9 @@ public enum ParameterPassing implements Enumerator } /** - * Returns the literal value of the enumerator, which is its string representation. - * + * * @generated */ @Override diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Value.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Value.java index 8f35bf5914..05924e513d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Value.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/Value.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Value.java,v 1.5 2008-12-28 17:56:34 estepper Exp $ + * $Id: Value.java,v 1.6 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango; @@ -16,14 +16,13 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Value'. - * *

    * The following features are supported: *

    *

    - * + * * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getValue() * @model * @generated @@ -31,12 +30,12 @@ import org.eclipse.emf.ecore.EObject; public interface Value extends EObject { /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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: *

    *

    - * + * * @see org.eclipse.emf.cdo.tests.mango.MangoPackage#getValueList() * @model * @generated @@ -33,12 +32,12 @@ import org.eclipse.emf.ecore.EObject; public interface ValueList extends EObject { /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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: *

    *

    - * + * * @generated */ public class ParameterImpl extends CDOObjectImpl implements Parameter { /** * + * * @generated */ protected ParameterImpl() @@ -45,6 +46,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ @Override @@ -55,6 +57,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ @Override @@ -65,6 +68,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ public String getName() @@ -74,6 +78,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ public void setName(String newName) @@ -83,6 +88,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ public ParameterPassing getPassing() @@ -92,6 +98,7 @@ public class ParameterImpl extends CDOObjectImpl implements Parameter /** * + * * @generated */ public void setPassing(ParameterPassing newPassing) diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueImpl.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueImpl.java index ce86e84d3c..d53fda5830 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ValueImpl.java,v 1.4 2008-12-28 17:56:34 estepper Exp $ + * $Id: ValueImpl.java,v 1.5 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.impl; @@ -24,16 +24,17 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

    *

    - * + * * @generated */ public class ValueImpl extends CDOObjectImpl implements Value { /** * + * * @generated */ protected ValueImpl() @@ -43,6 +44,7 @@ public class ValueImpl extends CDOObjectImpl implements Value /** * + * * @generated */ @Override @@ -53,6 +55,7 @@ public class ValueImpl extends CDOObjectImpl implements Value /** * + * * @generated */ @Override @@ -63,6 +66,7 @@ public class ValueImpl extends CDOObjectImpl implements Value /** * + * * @generated */ public String getName() @@ -72,6 +76,7 @@ public class ValueImpl extends CDOObjectImpl implements Value /** * + * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueListImpl.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueListImpl.java index aefcf62a03..437f9e2578 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueListImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/impl/ValueListImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ValueListImpl.java,v 1.5 2008-12-28 17:56:34 estepper Exp $ + * $Id: ValueListImpl.java,v 1.6 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.impl; @@ -26,17 +26,18 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

    *

    - * + * * @generated */ public class ValueListImpl extends CDOObjectImpl implements ValueList { /** * + * * @generated */ protected ValueListImpl() @@ -46,6 +47,7 @@ public class ValueListImpl extends CDOObjectImpl implements ValueList /** * + * * @generated */ @Override @@ -56,6 +58,7 @@ public class ValueListImpl extends CDOObjectImpl implements ValueList /** * + * * @generated */ @Override @@ -66,6 +69,7 @@ public class ValueListImpl extends CDOObjectImpl implements ValueList /** * + * * @generated */ public String getName() @@ -75,6 +79,7 @@ public class ValueListImpl extends CDOObjectImpl implements ValueList /** * + * * @generated */ public void setName(String newName) @@ -84,6 +89,7 @@ public class ValueListImpl extends CDOObjectImpl implements ValueList /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoAdapterFactory.java index a557e5d00a..094f3a815e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoAdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.mango/src/org/eclipse/emf/cdo/tests/mango/util/MangoAdapterFactory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MangoAdapterFactory.java,v 1.6 2008-12-28 17:56:34 estepper Exp $ + * $Id: MangoAdapterFactory.java,v 1.7 2009-01-10 13:55:54 estepper Exp $ */ package org.eclipse.emf.cdo.tests.mango.util; @@ -25,21 +25,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.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 MangoSwitch modelSwitch = new MangoSwitch() @@ -105,9 +106,10 @@ public class MangoAdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the target. - * - * @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 MangoSwitch { /** - * The cached model package - * + * The cached model package + * * @generated */ protected static MangoPackage modelPackage; /** - * Creates an instance of the switch. - * + * Creates an instance of the switch. + * * @generated */ public MangoSwitch() @@ -55,6 +56,7 @@ public class MangoSwitch /** * Calls caseXXX 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 MangoSwitch /** * Calls caseXXX 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 MangoSwitch /** * Calls caseXXX 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 } /** - * Returns the result of interpreting the object as an instance of 'Value List'. - * This + * Returns the result of interpreting the object as an instance of 'Value List'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Value List'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -136,10 +141,11 @@ public class MangoSwitch } /** - * Returns the result of interpreting the object as an instance of 'Value'. - * This + * Returns the result of interpreting the object as an instance of 'Value'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Value'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -150,10 +156,11 @@ public class MangoSwitch } /** - * Returns the result of interpreting the object as an instance of 'Parameter'. - * This + * Returns the result of interpreting the object as an instance of 'Parameter'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Parameter'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -164,11 +171,12 @@ public class MangoSwitch } /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * This + * Returns the result of interpreting the object as an instance of 'EObject'. This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java index 7d834ed1e0..b5c46f7a80 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java @@ -16,16 +16,15 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Address'. - * *

    * The following features are supported: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getStreet Street}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getCity City}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getStreet Street}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Address#getCity City}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress() * @model * @generated @@ -33,19 +32,19 @@ import org.eclipse.emf.ecore.EObject; public interface Address extends EObject { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getCategories Categories}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getProducts Products}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getCategories Categories}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Category#getProducts Products}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory() * @model * @generated @@ -34,19 +33,19 @@ import org.eclipse.emf.ecore.EObject; public interface Category extends EObject { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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 getCategories(); /** - * Returns the value of the 'Products' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.Product1}. - * + * Returns the value of the 'Products' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.Product1}. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getCategories Categories}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getSuppliers Suppliers}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getCustomers Customers}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getPurchaseOrders Purchase Orders}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders Sales Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getCategories Categories}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getSuppliers Suppliers}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getCustomers Customers}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getPurchaseOrders Purchase Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders Sales Orders}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany() * @model * @generated @@ -35,21 +34,21 @@ import org.eclipse.emf.common.util.EList; public interface Company extends Address { /** - * - * + * + * * @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"; /** - * 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#getCompany_Categories() * @model containment="true" @@ -58,14 +57,14 @@ public interface Company extends Address EList getCategories(); /** - * Returns the value of the 'Suppliers' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.Supplier}. - * + * Returns the value of the 'Suppliers' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.Supplier}. *

    * 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 getSuppliers(); /** - * Returns the value of the 'Purchase Orders' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}. - * + * Returns the value of the 'Purchase Orders' containment reference list. The list contents are of + * type {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}. *

    * 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 getPurchaseOrders(); /** - * Returns the value of the 'Customers' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.Customer}. - * + * Returns the value of the 'Customers' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.Customer}. *

    * 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 getCustomers(); /** - * Returns the value of the 'Sales Orders' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}. - * + * Returns the value of the 'Sales Orders' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders Sales Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders Sales Orders}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCustomer() * @model * @generated @@ -31,22 +30,22 @@ import org.eclipse.emf.common.util.EList; public interface Customer extends Address { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Sales Orders' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}'. - * + * Returns the value of the 'Sales Orders' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}'. *

    * 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; *
  • and each data type
  • * * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Factory * @model kind="package" * @generated @@ -34,36 +35,36 @@ import org.eclipse.emf.ecore.EReference; public interface Model1Package extends EPackage { /** - * - * + * + * * @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 package name. - * + * The package name. + * * @generated */ String eNAME = "model1"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model1/1.0.0"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "model1"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ Model1Package eINSTANCE = org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl.init(); @@ -79,32 +80,32 @@ public interface Model1Package extends EPackage int ADDRESS = 0; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int ADDRESS__NAME = 0; /** - * The feature id for the 'Street' attribute. - * + * The feature id for the 'Street' attribute. + * * @generated * @ordered */ int ADDRESS__STREET = 1; /** - * The feature id for the 'City' attribute. - * + * The feature id for the 'City' attribute. + * * @generated * @ordered */ int ADDRESS__CITY = 2; /** - * The number of structural features of the 'Address' class. - * + * The number of structural features of the 'Address' class. + * * @generated * @ordered */ @@ -113,6 +114,7 @@ public interface Model1Package extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl Supplier}' class. * + * * @see org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getSupplier() * @generated @@ -120,8 +122,9 @@ public interface Model1Package extends EPackage int SUPPLIER = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl Purchase Order}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl Purchase Order} + * ' class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getPurchaseOrder() * @generated @@ -129,8 +132,9 @@ public interface Model1Package extends EPackage int PURCHASE_ORDER = 6; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl Order Detail}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl Order Detail}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getOrderDetail() * @generated @@ -150,6 +154,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Address#getName Name}'. * + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.model1.Address#getName() * @see #getAddress() @@ -158,8 +163,9 @@ public interface Model1Package extends EPackage EAttribute getAddress_Name(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Address#getStreet Street}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Address#getStreet + * Street}'. + * * @return the meta object for the attribute 'Street'. * @see org.eclipse.emf.cdo.tests.model1.Address#getStreet() * @see #getAddress() @@ -170,6 +176,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Address#getCity City}'. * + * * @return the meta object for the attribute 'City'. * @see org.eclipse.emf.cdo.tests.model1.Address#getCity() * @see #getAddress() @@ -180,6 +187,7 @@ public interface Model1Package extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl Category}' class. * + * * @see org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getCategory() * @generated @@ -197,101 +205,101 @@ public interface Model1Package extends EPackage int COMPANY = 1; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int COMPANY__NAME = ADDRESS__NAME; /** - * The feature id for the 'Street' attribute. - * + * The feature id for the 'Street' attribute. + * * @generated * @ordered */ int COMPANY__STREET = ADDRESS__STREET; /** - * The feature id for the 'City' attribute. - * + * The feature id for the 'City' attribute. + * * @generated * @ordered */ int COMPANY__CITY = ADDRESS__CITY; /** - * The feature id for the 'Categories' containment reference list. - * + * * @generated * @ordered */ int COMPANY__CATEGORIES = ADDRESS_FEATURE_COUNT + 0; /** - * The feature id for the 'Suppliers' containment reference list. - * + * * @generated * @ordered */ int COMPANY__SUPPLIERS = ADDRESS_FEATURE_COUNT + 1; /** - * The feature id for the 'Customers' containment reference list. - * + * * @generated * @ordered */ int COMPANY__CUSTOMERS = ADDRESS_FEATURE_COUNT + 2; /** - * The feature id for the 'Purchase Orders' containment reference list. - * + * * @generated * @ordered */ int COMPANY__PURCHASE_ORDERS = ADDRESS_FEATURE_COUNT + 3; /** - * The feature id for the 'Sales Orders' containment reference list. - * + * * @generated * @ordered */ int COMPANY__SALES_ORDERS = ADDRESS_FEATURE_COUNT + 4; /** - * The number of structural features of the 'Company' class. - * + * The number of structural features of the 'Company' class. + * * @generated * @ordered */ int COMPANY_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 5; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int SUPPLIER__NAME = ADDRESS__NAME; /** - * The feature id for the 'Street' attribute. - * + * The feature id for the 'Street' attribute. + * * @generated * @ordered */ int SUPPLIER__STREET = ADDRESS__STREET; /** - * The feature id for the 'City' attribute. - * + * The feature id for the 'City' attribute. + * * @generated * @ordered */ @@ -307,16 +315,16 @@ public interface Model1Package extends EPackage int SUPPLIER__PURCHASE_ORDERS = ADDRESS_FEATURE_COUNT + 0; /** - * The feature id for the 'Preferred' attribute. - * + * The feature id for the 'Preferred' attribute. + * * @generated * @ordered */ int SUPPLIER__PREFERRED = ADDRESS_FEATURE_COUNT + 1; /** - * The number of structural features of the 'Supplier' class. - * + * The number of structural features of the 'Supplier' class. + * * @generated * @ordered */ @@ -325,6 +333,7 @@ public interface Model1Package extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl Customer}' class. * + * * @see org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getCustomer() * @generated @@ -332,40 +341,40 @@ public interface Model1Package extends EPackage int CUSTOMER = 3; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int CUSTOMER__NAME = ADDRESS__NAME; /** - * The feature id for the 'Street' attribute. - * + * The feature id for the 'Street' attribute. + * * @generated * @ordered */ int CUSTOMER__STREET = ADDRESS__STREET; /** - * The feature id for the 'City' attribute. - * + * The feature id for the 'City' attribute. + * * @generated * @ordered */ int CUSTOMER__CITY = ADDRESS__CITY; /** - * The feature id for the 'Sales Orders' reference list. - * + * The feature id for the 'Sales Orders' reference list. + * * @generated * @ordered */ int CUSTOMER__SALES_ORDERS = ADDRESS_FEATURE_COUNT + 0; /** - * The number of structural features of the 'Customer' class. - * + * The number of structural features of the 'Customer' class. + * * @generated * @ordered */ @@ -382,41 +391,41 @@ public interface Model1Package extends EPackage int ORDER = 4; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int ORDER__ORDER_DETAILS = 0; /** - * The number of structural features of the 'Order' class. - * + * The number of structural features of the 'Order' class. + * * @generated * @ordered */ int ORDER_FEATURE_COUNT = 1; /** - * The feature id for the 'Order' container reference. - * + * The feature id for the 'Order' container reference. + * * @generated * @ordered */ int ORDER_DETAIL__ORDER = 0; /** - * The feature id for the 'Product' reference. - * + * The feature id for the 'Product' reference. + * * @generated * @ordered */ int ORDER_DETAIL__PRODUCT = 1; /** - * The feature id for the 'Price' attribute. - * + * The feature id for the 'Price' attribute. + * * @generated * @ordered */ @@ -432,25 +441,25 @@ public interface Model1Package extends EPackage int ORDER_DETAIL_FEATURE_COUNT = 3; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int PURCHASE_ORDER__ORDER_DETAILS = ORDER__ORDER_DETAILS; /** - * The feature id for the 'Date' attribute. - * + * The feature id for the 'Date' attribute. + * * @generated * @ordered */ int PURCHASE_ORDER__DATE = ORDER_FEATURE_COUNT + 0; /** - * The feature id for the 'Supplier' reference. - * + * The feature id for the 'Supplier' reference. + * * @generated * @ordered */ @@ -466,8 +475,9 @@ public interface Model1Package extends EPackage int PURCHASE_ORDER_FEATURE_COUNT = ORDER_FEATURE_COUNT + 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl Sales Order}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl Sales Order}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getSalesOrder() * @generated @@ -475,25 +485,25 @@ public interface Model1Package extends EPackage int SALES_ORDER = 7; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int SALES_ORDER__ORDER_DETAILS = ORDER__ORDER_DETAILS; /** - * The feature id for the 'Id' attribute. - * + * The feature id for the 'Id' attribute. + * * @generated * @ordered */ int SALES_ORDER__ID = ORDER_FEATURE_COUNT + 0; /** - * The feature id for the 'Customer' reference. - * + * The feature id for the 'Customer' reference. + * * @generated * @ordered */ @@ -509,34 +519,34 @@ public interface Model1Package extends EPackage int SALES_ORDER_FEATURE_COUNT = ORDER_FEATURE_COUNT + 2; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int CATEGORY__NAME = 0; /** - * The feature id for the 'Categories' containment reference list. - * + * * @generated * @ordered */ int CATEGORY__CATEGORIES = 1; /** - * The feature id for the 'Products' containment reference list. - * + * * @generated * @ordered */ int CATEGORY__PRODUCTS = 2; /** - * The number of structural features of the 'Category' class. - * + * The number of structural features of the 'Category' class. + * * @generated * @ordered */ @@ -545,6 +555,7 @@ public interface Model1Package extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl Product1}' class. * + * * @see org.eclipse.emf.cdo.tests.model1.impl.Product1Impl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getProduct1() * @generated @@ -552,8 +563,8 @@ public interface Model1Package extends EPackage int PRODUCT1 = 9; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ @@ -569,32 +580,33 @@ public interface Model1Package extends EPackage int PRODUCT1__ORDER_DETAILS = 1; /** - * The feature id for the 'Vat' attribute. - * + * The feature id for the 'Vat' attribute. + * * @generated * @ordered */ int PRODUCT1__VAT = 2; /** - * The feature id for the 'Description' attribute. - * + * The feature id for the 'Description' attribute. + * * @generated * @ordered */ int PRODUCT1__DESCRIPTION = 3; /** - * The number of structural features of the 'Product1' class. - * + * The number of structural features of the 'Product1' class. + * * @generated * @ordered */ int PRODUCT1_FEATURE_COUNT = 4; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl Order Address}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl Order Address}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getOrderAddress() * @generated @@ -602,65 +614,65 @@ public interface Model1Package extends EPackage int ORDER_ADDRESS = 10; /** - * The feature id for the 'Name' attribute. - * + * The feature id for the 'Name' attribute. + * * @generated * @ordered */ int ORDER_ADDRESS__NAME = ADDRESS__NAME; /** - * The feature id for the 'Street' attribute. - * + * The feature id for the 'Street' attribute. + * * @generated * @ordered */ int ORDER_ADDRESS__STREET = ADDRESS__STREET; /** - * The feature id for the 'City' attribute. - * + * The feature id for the 'City' attribute. + * * @generated * @ordered */ int ORDER_ADDRESS__CITY = ADDRESS__CITY; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int ORDER_ADDRESS__ORDER_DETAILS = ADDRESS_FEATURE_COUNT + 0; /** - * The feature id for the 'Order' container reference. - * + * The feature id for the 'Order' container reference. + * * @generated * @ordered */ int ORDER_ADDRESS__ORDER = ADDRESS_FEATURE_COUNT + 1; /** - * The feature id for the 'Product' reference. - * + * The feature id for the 'Product' reference. + * * @generated * @ordered */ int ORDER_ADDRESS__PRODUCT = ADDRESS_FEATURE_COUNT + 2; /** - * The feature id for the 'Price' attribute. - * + * The feature id for the 'Price' attribute. + * * @generated * @ordered */ int ORDER_ADDRESS__PRICE = ADDRESS_FEATURE_COUNT + 3; /** - * The feature id for the 'Test Attribute' attribute. - * + * The feature id for the 'Test Attribute' attribute. + * * @generated * @ordered */ @@ -676,9 +688,9 @@ public interface Model1Package extends EPackage int ORDER_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 5; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.VAT VAT}' enum. - * + * * @see org.eclipse.emf.cdo.tests.model1.VAT * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getVAT() * @generated @@ -696,8 +708,9 @@ public interface Model1Package extends EPackage EClass getSupplier(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders Purchase Orders}'. - * + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders + * Purchase Orders}'. + * * @return the meta object for the reference list 'Purchase Orders'. * @see org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders() * @see #getSupplier() @@ -706,8 +719,9 @@ public interface Model1Package extends EPackage EReference getSupplier_PurchaseOrders(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred Preferred}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred + * Preferred}'. + * * @return the meta object for the attribute 'Preferred'. * @see org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred() * @see #getSupplier() @@ -718,6 +732,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder Purchase Order}'. * + * * @return the meta object for class 'Purchase Order'. * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder * @generated @@ -725,8 +740,9 @@ public interface Model1Package extends EPackage EClass getPurchaseOrder(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate Date}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate + * Date}'. + * * @return the meta object for the attribute 'Date'. * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate() * @see #getPurchaseOrder() @@ -735,8 +751,9 @@ public interface Model1Package extends EPackage EAttribute getPurchaseOrder_Date(); /** - * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}'. - * + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier + * Supplier}'. + * * @return the meta object for the reference 'Supplier'. * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier() * @see #getPurchaseOrder() @@ -747,6 +764,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail Order Detail}'. * + * * @return the meta object for class 'Order Detail'. * @see org.eclipse.emf.cdo.tests.model1.OrderDetail * @generated @@ -754,8 +772,9 @@ public interface Model1Package extends EPackage EClass getOrderDetail(); /** - * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}'. - * + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder + * Order}'. + * * @return the meta object for the container reference 'Order'. * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder() * @see #getOrderDetail() @@ -764,8 +783,9 @@ public interface Model1Package extends EPackage EReference getOrderDetail_Order(); /** - * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}'. - * + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct + * Product}'. + * * @return the meta object for the reference 'Product'. * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct() * @see #getOrderDetail() @@ -774,8 +794,9 @@ public interface Model1Package extends EPackage EReference getOrderDetail_Product(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice + * Price}'. + * * @return the meta object for the attribute 'Price'. * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice() * @see #getOrderDetail() @@ -786,6 +807,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress Order Address}'. * + * * @return the meta object for class 'Order Address'. * @see org.eclipse.emf.cdo.tests.model1.OrderAddress * @generated @@ -793,8 +815,9 @@ public interface Model1Package extends EPackage EClass getOrderAddress(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute Test Attribute}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute + * Test Attribute}'. + * * @return the meta object for the attribute 'Test Attribute'. * @see org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute() * @see #getOrderAddress() @@ -803,9 +826,9 @@ public interface Model1Package extends EPackage EAttribute getOrderAddress_TestAttribute(); /** - * Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.model1.VAT VAT}'. - * + * * @return the meta object for enum 'VAT'. * @see org.eclipse.emf.cdo.tests.model1.VAT * @generated @@ -823,8 +846,9 @@ public interface Model1Package extends EPackage EClass getCategory(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Category#getName Name}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Category#getName Name} + * '. + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.model1.Category#getName() * @see #getCategory() @@ -833,9 +857,10 @@ public interface Model1Package extends EPackage EAttribute getCategory_Name(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Category#getCategories Categories}'. - * + * * @return the meta object for the containment reference list 'Categories'. * @see org.eclipse.emf.cdo.tests.model1.Category#getCategories() * @see #getCategory() @@ -844,9 +869,10 @@ public interface Model1Package extends EPackage EReference getCategory_Categories(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Category#getProducts Products}'. - * + * * @return the meta object for the containment reference list 'Products'. * @see org.eclipse.emf.cdo.tests.model1.Category#getProducts() * @see #getCategory() @@ -865,8 +891,9 @@ public interface Model1Package extends EPackage EClass getProduct1(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getName Name}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getName Name} + * '. + * * @return the meta object for the attribute 'Name'. * @see org.eclipse.emf.cdo.tests.model1.Product1#getName() * @see #getProduct1() @@ -875,8 +902,9 @@ public interface Model1Package extends EPackage EAttribute getProduct1_Name(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}'. - * + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails + * Order Details}'. + * * @return the meta object for the reference list 'Order Details'. * @see org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails() * @see #getProduct1() @@ -887,6 +915,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getVat Vat}'. * + * * @return the meta object for the attribute 'Vat'. * @see org.eclipse.emf.cdo.tests.model1.Product1#getVat() * @see #getProduct1() @@ -895,8 +924,9 @@ public interface Model1Package extends EPackage EAttribute getProduct1_Vat(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription + * Description}'. + * * @return the meta object for the attribute 'Description'. * @see org.eclipse.emf.cdo.tests.model1.Product1#getDescription() * @see #getProduct1() @@ -915,9 +945,10 @@ public interface Model1Package extends EPackage EClass getCompany(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getCategories Categories}'. - * + * * @return the meta object for the containment reference list 'Categories'. * @see org.eclipse.emf.cdo.tests.model1.Company#getCategories() * @see #getCompany() @@ -926,9 +957,10 @@ public interface Model1Package extends EPackage EReference getCompany_Categories(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getSuppliers Suppliers}'. - * + * * @return the meta object for the containment reference list 'Suppliers'. * @see org.eclipse.emf.cdo.tests.model1.Company#getSuppliers() * @see #getCompany() @@ -937,9 +969,10 @@ public interface Model1Package extends EPackage EReference getCompany_Suppliers(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getPurchaseOrders Purchase Orders}'. - * + * * @return the meta object for the containment reference list 'Purchase Orders'. * @see org.eclipse.emf.cdo.tests.model1.Company#getPurchaseOrders() * @see #getCompany() @@ -948,9 +981,10 @@ public interface Model1Package extends EPackage EReference getCompany_PurchaseOrders(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getCustomers Customers}'. - * + * * @return the meta object for the containment reference list 'Customers'. * @see org.eclipse.emf.cdo.tests.model1.Company#getCustomers() * @see #getCompany() @@ -959,9 +993,10 @@ public interface Model1Package extends EPackage EReference getCompany_Customers(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders Sales Orders}'. - * + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders Sales Orders}'. * + * * @return the meta object for the containment reference list 'Sales Orders'. * @see org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders() * @see #getCompany() @@ -980,8 +1015,9 @@ public interface Model1Package extends EPackage EClass getCustomer(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders Sales Orders}'. - * + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders + * Sales Orders}'. + * * @return the meta object for the reference list 'Sales Orders'. * @see org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders() * @see #getCustomer() @@ -1000,9 +1036,10 @@ public interface Model1Package extends EPackage EClass getOrder(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}'. - * + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}'. * + * * @return the meta object for the containment reference list 'Order Details'. * @see org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails() * @see #getOrder() @@ -1023,6 +1060,7 @@ public interface Model1Package extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId Id}'. * + * * @return the meta object for the attribute 'Id'. * @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getId() * @see #getSalesOrder() @@ -1031,8 +1069,9 @@ public interface Model1Package extends EPackage EAttribute getSalesOrder_Id(); /** - * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}'. - * + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer + * Customer}'. + * * @return the meta object for the reference 'Customer'. * @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer() * @see #getSalesOrder() @@ -1041,8 +1080,8 @@ public interface Model1Package extends EPackage EReference getSalesOrder_Customer(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * @return the factory that creates the instances of the model. * @generated */ @@ -1057,13 +1096,15 @@ public interface Model1Package extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals { /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl Address}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl Address}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.AddressImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getAddress() * @generated @@ -1071,32 +1112,33 @@ public interface Model1Package extends EPackage EClass ADDRESS = eINSTANCE.getAddress(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute ADDRESS__NAME = eINSTANCE.getAddress_Name(); /** - * The meta object literal for the 'Street' attribute feature. - * + * * @generated */ EAttribute ADDRESS__STREET = eINSTANCE.getAddress_Street(); /** - * The meta object literal for the 'City' attribute feature. - * + * * @generated */ EAttribute ADDRESS__CITY = eINSTANCE.getAddress_City(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl Supplier}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl Supplier}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getSupplier() * @generated @@ -1104,24 +1146,25 @@ public interface Model1Package extends EPackage EClass SUPPLIER = eINSTANCE.getSupplier(); /** - * The meta object literal for the 'Purchase Orders' reference list feature. - * + * The meta object literal for the 'Purchase Orders' reference list feature. * + * * @generated */ EReference SUPPLIER__PURCHASE_ORDERS = eINSTANCE.getSupplier_PurchaseOrders(); /** - * The meta object literal for the 'Preferred' attribute feature. - * + * * @generated */ EAttribute SUPPLIER__PREFERRED = eINSTANCE.getSupplier_Preferred(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl Purchase Order}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl + * Purchase Order}' class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getPurchaseOrder() * @generated @@ -1129,24 +1172,25 @@ public interface Model1Package extends EPackage EClass PURCHASE_ORDER = eINSTANCE.getPurchaseOrder(); /** - * The meta object literal for the 'Date' attribute feature. - * + * * @generated */ EAttribute PURCHASE_ORDER__DATE = eINSTANCE.getPurchaseOrder_Date(); /** - * The meta object literal for the 'Supplier' reference feature. - * + * * @generated */ EReference PURCHASE_ORDER__SUPPLIER = eINSTANCE.getPurchaseOrder_Supplier(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl Order Detail}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl + * Order Detail}' class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getOrderDetail() * @generated @@ -1154,32 +1198,33 @@ public interface Model1Package extends EPackage EClass ORDER_DETAIL = eINSTANCE.getOrderDetail(); /** - * The meta object literal for the 'Order' container reference feature. - * + * * @generated */ EReference ORDER_DETAIL__ORDER = eINSTANCE.getOrderDetail_Order(); /** - * The meta object literal for the 'Product' reference feature. - * + * * @generated */ EReference ORDER_DETAIL__PRODUCT = eINSTANCE.getOrderDetail_Product(); /** - * The meta object literal for the 'Price' attribute feature. - * + * * @generated */ EAttribute ORDER_DETAIL__PRICE = eINSTANCE.getOrderDetail_Price(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl Order Address}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl + * Order Address}' class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getOrderAddress() * @generated @@ -1187,9 +1232,9 @@ public interface Model1Package extends EPackage EClass ORDER_ADDRESS = eINSTANCE.getOrderAddress(); /** - * The meta object literal for the 'Test Attribute' attribute feature. - * + * * @generated */ EAttribute ORDER_ADDRESS__TEST_ATTRIBUTE = eINSTANCE.getOrderAddress_TestAttribute(); @@ -1205,8 +1250,9 @@ public interface Model1Package extends EPackage EEnum VAT = eINSTANCE.getVAT(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl Category}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl Category}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getCategory() * @generated @@ -1214,9 +1260,9 @@ public interface Model1Package extends EPackage EClass CATEGORY = eINSTANCE.getCategory(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute CATEGORY__NAME = eINSTANCE.getCategory_Name(); @@ -1238,8 +1284,9 @@ public interface Model1Package extends EPackage EReference CATEGORY__PRODUCTS = eINSTANCE.getCategory_Products(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl Product1}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl Product1}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.Product1Impl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getProduct1() * @generated @@ -1247,40 +1294,41 @@ public interface Model1Package extends EPackage EClass PRODUCT1 = eINSTANCE.getProduct1(); /** - * The meta object literal for the 'Name' attribute feature. - * + * * @generated */ EAttribute PRODUCT1__NAME = eINSTANCE.getProduct1_Name(); /** - * The meta object literal for the 'Order Details' reference list feature. - * + * The meta object literal for the 'Order Details' reference list feature. * + * * @generated */ EReference PRODUCT1__ORDER_DETAILS = eINSTANCE.getProduct1_OrderDetails(); /** - * The meta object literal for the 'Vat' attribute feature. - * + * * @generated */ EAttribute PRODUCT1__VAT = eINSTANCE.getProduct1_Vat(); /** - * The meta object literal for the 'Description' attribute feature. - * + * * @generated */ EAttribute PRODUCT1__DESCRIPTION = eINSTANCE.getProduct1_Description(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl Company}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl Company}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getCompany() * @generated @@ -1328,8 +1376,9 @@ public interface Model1Package extends EPackage EReference COMPANY__SALES_ORDERS = eINSTANCE.getCompany_SalesOrders(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl Customer}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl Customer}' + * class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getCustomer() * @generated @@ -1337,9 +1386,9 @@ public interface Model1Package extends EPackage EClass CUSTOMER = eINSTANCE.getCustomer(); /** - * The meta object literal for the 'Sales Orders' reference list feature. - * + * The meta object literal for the 'Sales Orders' reference list feature. * + * * @generated */ EReference CUSTOMER__SALES_ORDERS = eINSTANCE.getCustomer_SalesOrders(); @@ -1347,6 +1396,7 @@ public interface Model1Package extends EPackage /** * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.OrderImpl Order}' class. * + * * @see org.eclipse.emf.cdo.tests.model1.impl.OrderImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getOrder() * @generated @@ -1362,8 +1412,9 @@ public interface Model1Package extends EPackage EReference ORDER__ORDER_DETAILS = eINSTANCE.getOrder_OrderDetails(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl Sales Order}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl + * Sales Order}' class. + * * @see org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl * @see org.eclipse.emf.cdo.tests.model1.impl.Model1PackageImpl#getSalesOrder() * @generated @@ -1379,9 +1430,9 @@ public interface Model1Package extends EPackage EAttribute SALES_ORDER__ID = eINSTANCE.getSalesOrder_Id(); /** - * The meta object literal for the 'Customer' reference feature. - * + * * @generated */ EReference SALES_ORDER__CUSTOMER = eINSTANCE.getSalesOrder_Customer(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java index 9a967a37ea..fc08028d86 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java @@ -17,14 +17,13 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Order'. - * *

    * The following features are supported: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrder() * @model * @generated @@ -32,22 +31,22 @@ import org.eclipse.emf.ecore.EObject; public interface Order extends EObject { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Order Details' containment 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#getOrder Order}'. - * + * Returns the value of the 'Order Details' containment 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#getOrder Order}'. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute Test Attribute}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderAddress#isTestAttribute Test Attribute}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderAddress() * @model * @generated @@ -29,20 +28,20 @@ package org.eclipse.emf.cdo.tests.model1; public interface OrderAddress extends Address, Order, OrderDetail { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Test Attribute' attribute. - * + * Returns the value of the 'Test Attribute' attribute. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail() * @model * @generated @@ -33,21 +32,21 @@ import org.eclipse.emf.ecore.EObject; public interface OrderDetail extends EObject { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Order' container reference. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}'. - * + * Returns the value of the 'Order' container reference. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}'. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getVat Vat}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getVat Vat}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1() * @model * @generated @@ -35,19 +34,19 @@ import org.eclipse.emf.ecore.EObject; public interface Product1 extends EObject { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Name' attribute. - * + * Returns the value of the 'Name' attribute. *

    * 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 getOrderDetails(); /** - * 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}. - * + * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate Date}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate Date}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder() * @model * @generated @@ -32,19 +31,19 @@ import java.util.Date; public interface PurchaseOrder extends Order { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Date' attribute. - * + * Returns the value of the 'Date' attribute. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId Id}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId Id}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer Customer}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder() * @model * @generated @@ -30,19 +29,19 @@ package org.eclipse.emf.cdo.tests.model1; public interface SalesOrder extends Order { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Id' attribute. - * + * Returns the value of the 'Id' attribute. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders Purchase Orders}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred Preferred}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders Purchase Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred Preferred}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSupplier() * @model * @generated @@ -32,22 +31,22 @@ import org.eclipse.emf.common.util.EList; public interface Supplier extends Address { /** - * - * + * + * * @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"; /** - * Returns the value of the 'Purchase Orders' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}'. - * + * Returns the value of the 'Purchase Orders' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier Supplier}'. *

    * 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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** - * Returns the 'VAT' literal with the specified literal value. - * + * * @generated */ public static VAT get(String literal) @@ -140,8 +141,8 @@ public enum VAT implements Enumerator } /** - * Returns the 'VAT' literal with the specified name. - * + * Returns the 'VAT' literal with the specified name. + * * @generated */ public static VAT getByName(String name) @@ -158,9 +159,9 @@ public enum VAT implements Enumerator } /** - * Returns the 'VAT' literal with the specified integer value. - * + * * @generated */ public static VAT get(int value) @@ -179,25 +180,28 @@ public enum VAT implements Enumerator /** * + * * @generated */ private final int value; /** * + * * @generated */ private final String name; /** * + * * @generated */ private final String literal; /** - * Only this class can construct instances. - * + * Only this class can construct instances. + * * @generated */ private VAT(int value, String name, String literal) @@ -209,6 +213,7 @@ public enum VAT implements Enumerator /** * + * * @generated */ public int getValue() @@ -218,6 +223,7 @@ public enum VAT implements Enumerator /** * + * * @generated */ public String getName() @@ -227,6 +233,7 @@ public enum VAT implements Enumerator /** * + * * @generated */ public String getLiteral() @@ -235,9 +242,9 @@ public enum VAT implements Enumerator } /** - * Returns the literal value of the enumerator, which is its string representation. - * + * * @generated */ @Override diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/AddressImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/AddressImpl.java index fd90bce867..c4c36a77ad 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/AddressImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/AddressImpl.java @@ -24,25 +24,26 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getStreet Street}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getCity City}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getStreet Street}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.AddressImpl#getCity City}
    • *
    *

    - * + * * @generated */ public class AddressImpl extends CDOObjectImpl implements Address { /** - * - * + * + * * @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"; /** * + * * @generated */ protected AddressImpl() @@ -52,6 +53,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ @Override @@ -62,6 +64,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ @Override @@ -72,6 +75,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public String getName() @@ -81,6 +85,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public void setName(String newName) @@ -90,6 +95,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public String getStreet() @@ -99,6 +105,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public void setStreet(String newStreet) @@ -108,6 +115,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public String getCity() @@ -117,6 +125,7 @@ public class AddressImpl extends CDOObjectImpl implements Address /** * + * * @generated */ public void setCity(String newCity) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CategoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CategoryImpl.java index 890e5dace3..947c936331 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CategoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CategoryImpl.java @@ -26,25 +26,26 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getCategories Categories}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getProducts Products}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getCategories Categories}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CategoryImpl#getProducts Products}
    • *
    *

    - * + * * @generated */ public class CategoryImpl extends CDOObjectImpl implements Category { /** - * - * + * + * * @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"; /** * + * * @generated */ protected CategoryImpl() @@ -54,6 +55,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ @Override @@ -64,6 +66,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ @Override @@ -74,6 +77,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ public String getName() @@ -83,6 +87,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ public void setName(String newName) @@ -92,6 +97,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -102,6 +108,7 @@ public class CategoryImpl extends CDOObjectImpl implements Category /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CompanyImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CompanyImpl.java index d04a097a73..1a72650305 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CompanyImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CompanyImpl.java @@ -28,27 +28,28 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getCategories Categories}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getSuppliers Suppliers}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getCustomers Customers}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getPurchaseOrders Purchase Orders}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getSalesOrders Sales Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getCategories Categories}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getSuppliers Suppliers}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getCustomers Customers}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getPurchaseOrders Purchase Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CompanyImpl#getSalesOrders Sales Orders}
    • *
    *

    - * + * * @generated */ public class CompanyImpl extends AddressImpl implements Company { /** - * - * + * + * * @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"; /** * + * * @generated */ protected CompanyImpl() @@ -58,6 +59,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @Override @@ -68,6 +70,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -78,6 +81,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -88,6 +92,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -98,6 +103,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -108,6 +114,7 @@ public class CompanyImpl extends AddressImpl implements Company /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CustomerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CustomerImpl.java index fd5f2acdd4..3380dbe836 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CustomerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/CustomerImpl.java @@ -24,23 +24,24 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl#getSalesOrders Sales Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.CustomerImpl#getSalesOrders Sales Orders}
    • *
    *

    - * + * * @generated */ public class CustomerImpl extends AddressImpl implements Customer { /** - * - * + * + * * @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"; /** * + * * @generated */ protected CustomerImpl() @@ -50,6 +51,7 @@ public class CustomerImpl extends AddressImpl implements Customer /** * + * * @generated */ @Override @@ -60,6 +62,7 @@ public class CustomerImpl extends AddressImpl implements Customer /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java index 17be1b5ff8..6b528ba839 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java @@ -36,20 +36,21 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * An implementation of the model Factory. + * * @generated */ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory { /** - * - * + * + * * @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"; /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static Model1Factory init() @@ -71,8 +72,8 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public Model1FactoryImpl() @@ -82,6 +83,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ @Override @@ -118,6 +120,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ @Override @@ -134,6 +137,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ @Override @@ -150,6 +154,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Address createAddress() @@ -160,6 +165,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Supplier createSupplier() @@ -170,6 +176,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public PurchaseOrder createPurchaseOrder() @@ -180,6 +187,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public OrderDetail createOrderDetail() @@ -190,6 +198,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public OrderAddress createOrderAddress() @@ -200,6 +209,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public VAT createVATFromString(EDataType eDataType, String initialValue) @@ -213,6 +223,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public String convertVATToString(EDataType eDataType, Object instanceValue) @@ -222,6 +233,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Category createCategory() @@ -232,6 +244,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Product1 createProduct1() @@ -242,6 +255,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Company createCompany() @@ -252,6 +266,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Customer createCustomer() @@ -262,6 +277,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Order createOrder() @@ -272,6 +288,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public SalesOrder createSalesOrder() @@ -282,6 +299,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @generated */ public Model1Package getModel1Package() @@ -291,6 +309,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory /** * + * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1PackageImpl.java index d87daf12a7..1c0904e0b2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1PackageImpl.java @@ -35,85 +35,98 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * An implementation of the model Package. + * * @generated */ public class Model1PackageImpl extends EPackageImpl implements Model1Package { /** - * - * + * + * * @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"; /** * + * * @generated */ private EClass addressEClass = null; /** * + * * @generated */ private EClass supplierEClass = null; /** * + * * @generated */ private EClass purchaseOrderEClass = null; /** * + * * @generated */ private EClass orderDetailEClass = null; /** * + * * @generated */ private EClass orderAddressEClass = null; /** * + * * @generated */ private EEnum vatEEnum = null; /** * + * * @generated */ private EClass categoryEClass = null; /** * + * * @generated */ private EClass product1EClass = null; /** * + * * @generated */ private EClass companyEClass = null; /** * + * * @generated */ private EClass customerEClass = null; /** * + * * @generated */ private EClass orderEClass = null; /** * + * * @generated */ private EClass salesOrderEClass = null; @@ -138,27 +151,24 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package /** * + * * @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() @@ -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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getOrderDetails Order Details}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getOrder Order}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getProduct Product}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getPrice Price}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#isTestAttribute Test Attribute}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getOrderDetails Order Details}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getOrder Order}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getProduct Product}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#getPrice Price}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderAddressImpl#isTestAttribute Test Attribute}
    • *
    *

    - * + * * @generated */ public class OrderAddressImpl extends AddressImpl implements OrderAddress { /** - * - * + * + * * @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"; /** * + * * @generated */ protected OrderAddressImpl() @@ -56,6 +57,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ @Override @@ -66,6 +68,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -76,6 +79,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public Order getOrder() @@ -85,6 +89,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public void setOrder(Order newOrder) @@ -94,6 +99,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public Product1 getProduct() @@ -103,6 +109,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public void setProduct(Product1 newProduct) @@ -112,6 +119,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public float getPrice() @@ -121,6 +129,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public void setPrice(float newPrice) @@ -130,6 +139,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public boolean isTestAttribute() @@ -139,6 +149,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ public void setTestAttribute(boolean newTestAttribute) @@ -148,6 +159,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ @Override @@ -182,6 +194,7 @@ public class OrderAddressImpl extends AddressImpl implements OrderAddress /** * + * * @generated */ @Override diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderDetailImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderDetailImpl.java index 289ff187ad..c40fff1a8c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderDetailImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderDetailImpl.java @@ -26,25 +26,26 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getOrder Order}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getProduct Product}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getPrice Price}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getOrder Order}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getProduct Product}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderDetailImpl#getPrice Price}
    • *
    *

    - * + * * @generated */ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail { /** - * - * + * + * * @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"; /** * + * * @generated */ protected OrderDetailImpl() @@ -54,6 +55,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ @Override @@ -64,6 +66,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ @Override @@ -74,6 +77,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public Order getOrder() @@ -83,6 +87,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setOrder(Order newOrder) @@ -92,6 +97,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public Product1 getProduct() @@ -101,6 +107,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setProduct(Product1 newProduct) @@ -110,6 +117,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public float getPrice() @@ -119,6 +127,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setPrice(float newPrice) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderImpl.java index d39b91f937..3ebff7f249 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/OrderImpl.java @@ -26,23 +26,24 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderImpl#getOrderDetails Order Details}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.OrderImpl#getOrderDetails Order Details}
    • *
    *

    - * + * * @generated */ public class OrderImpl extends CDOObjectImpl implements Order { /** - * - * + * + * * @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"; /** * + * * @generated */ protected OrderImpl() @@ -52,6 +53,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @Override @@ -62,6 +64,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @Override @@ -72,6 +75,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Product1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Product1Impl.java index 99396c86f7..2f9d76d7ff 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Product1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Product1Impl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Product1Impl.java,v 1.4 2008-12-28 17:56:46 estepper Exp $ + * $Id: Product1Impl.java,v 1.5 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1.impl; @@ -27,26 +27,27 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getName Name}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getOrderDetails Order Details}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getVat Vat}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getDescription Description}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getName Name}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getOrderDetails Order Details}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getVat Vat}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.Product1Impl#getDescription Description}
    • *
    *

    - * + * * @generated */ public class Product1Impl extends CDOObjectImpl implements Product1 { /** - * - * + * + * * @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"; /** * + * * @generated */ protected Product1Impl() @@ -56,6 +57,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ @Override @@ -66,6 +68,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ @Override @@ -76,6 +79,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public String getName() @@ -85,6 +89,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public void setName(String newName) @@ -94,6 +99,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -104,6 +110,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public VAT getVat() @@ -113,6 +120,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public void setVat(VAT newVat) @@ -122,6 +130,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public String getDescription() @@ -131,6 +140,7 @@ public class Product1Impl extends CDOObjectImpl implements Product1 /** * + * * @generated */ public void setDescription(String newDescription) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/PurchaseOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/PurchaseOrderImpl.java index 7f31127d46..429ceaed55 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/PurchaseOrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/PurchaseOrderImpl.java @@ -25,24 +25,25 @@ import java.util.Date; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl#getDate Date}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl#getSupplier Supplier}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl#getDate Date}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.PurchaseOrderImpl#getSupplier Supplier}
    • *
    *

    - * + * * @generated */ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder { /** - * - * + * + * * @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"; /** * + * * @generated */ protected PurchaseOrderImpl() @@ -52,6 +53,7 @@ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder /** * + * * @generated */ @Override @@ -62,6 +64,7 @@ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder /** * + * * @generated */ public Date getDate() @@ -71,6 +74,7 @@ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder /** * + * * @generated */ public void setDate(Date newDate) @@ -80,6 +84,7 @@ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder /** * + * * @generated */ public Supplier getSupplier() @@ -89,6 +94,7 @@ public class PurchaseOrderImpl extends OrderImpl implements PurchaseOrder /** * + * * @generated */ public void setSupplier(Supplier newSupplier) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SalesOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SalesOrderImpl.java index 4a2291896e..a29f0f2335 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SalesOrderImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SalesOrderImpl.java @@ -23,24 +23,25 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl#getId Id}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl#getCustomer Customer}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl#getId Id}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SalesOrderImpl#getCustomer Customer}
    • *
    *

    - * + * * @generated */ public class SalesOrderImpl extends OrderImpl implements SalesOrder { /** - * - * + * + * * @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"; /** * + * * @generated */ protected SalesOrderImpl() @@ -50,6 +51,7 @@ public class SalesOrderImpl extends OrderImpl implements SalesOrder /** * + * * @generated */ @Override @@ -60,6 +62,7 @@ public class SalesOrderImpl extends OrderImpl implements SalesOrder /** * + * * @generated */ public int getId() @@ -69,6 +72,7 @@ public class SalesOrderImpl extends OrderImpl implements SalesOrder /** * + * * @generated */ public void setId(int newId) @@ -78,6 +82,7 @@ public class SalesOrderImpl extends OrderImpl implements SalesOrder /** * + * * @generated */ public Customer getCustomer() @@ -87,6 +92,7 @@ public class SalesOrderImpl extends OrderImpl implements SalesOrder /** * + * * @generated */ public void setCustomer(Customer newCustomer) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SupplierImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SupplierImpl.java index 9ae1334138..eb1e3b3cbf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SupplierImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/SupplierImpl.java @@ -24,24 +24,25 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl#getPurchaseOrders Purchase Orders}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl#isPreferred Preferred}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl#getPurchaseOrders Purchase Orders}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model1.impl.SupplierImpl#isPreferred Preferred}
    • *
    *

    - * + * * @generated */ public class SupplierImpl extends AddressImpl implements Supplier { /** - * - * + * + * * @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"; /** * + * * @generated */ protected SupplierImpl() @@ -51,6 +52,7 @@ public class SupplierImpl extends AddressImpl implements Supplier /** * + * * @generated */ @Override @@ -61,6 +63,7 @@ public class SupplierImpl extends AddressImpl implements Supplier /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -71,6 +74,7 @@ public class SupplierImpl extends AddressImpl implements Supplier /** * + * * @generated */ public boolean isPreferred() @@ -80,6 +84,7 @@ public class SupplierImpl extends AddressImpl implements Supplier /** * + * * @generated */ public void setPreferred(boolean newPreferred) diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java index ad5b5ac088..18262f305e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java @@ -33,28 +33,29 @@ 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.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 Model1Switch modelSwitch = new Model1Switch() @@ -168,9 +169,10 @@ public class Model1AdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the target. - * - * @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 Model1Switch { /** - * - * + * + * * @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 switch. - * + * Creates an instance of the switch. + * * @generated */ public Model1Switch() @@ -70,6 +71,7 @@ public class Model1Switch /** * Calls caseXXX 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 Model1Switch /** * Calls caseXXX 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 Model1Switch /** * Calls caseXXX 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 } /** - * Returns the result of interpreting the object as an instance of 'Address'. - * This + * Returns the result of interpreting the object as an instance of 'Address'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Address'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -231,10 +236,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Supplier'. - * This + * Returns the result of interpreting the object as an instance of 'Supplier'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Supplier'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -245,10 +251,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Purchase Order'. - * + * Returns the result of interpreting the object as an instance of 'Purchase Order'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Purchase Order'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -259,10 +266,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Order Detail'. - * + * Returns the result of interpreting the object as an instance of 'Order Detail'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Order Detail'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -273,10 +281,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Order Address'. - * + * Returns the result of interpreting the object as an instance of 'Order Address'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Order Address'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -287,10 +296,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Category'. - * This + * Returns the result of interpreting the object as an instance of 'Category'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Category'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -301,10 +311,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Product1'. - * This + * Returns the result of interpreting the object as an instance of 'Product1'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Product1'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -315,10 +326,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Company'. - * This + * Returns the result of interpreting the object as an instance of 'Company'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Company'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -329,10 +341,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Customer'. - * This + * Returns the result of interpreting the object as an instance of 'Customer'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Customer'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -343,10 +356,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Order'. - * This + * Returns the result of interpreting the object as an instance of 'Order'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Order'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -357,10 +371,11 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'Sales Order'. - * + * Returns the result of interpreting the object as an instance of 'Sales Order'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Sales Order'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -371,11 +386,12 @@ public class Model1Switch } /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * This + * Returns the result of interpreting the object as an instance of 'EObject'. This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java index ce555a9621..38b756e1d9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java @@ -2,15 +2,15 @@ * * * - * $Id: OrderAddressValidator.java,v 1.1 2008-12-29 15:06:22 estepper Exp $ + * $Id: OrderAddressValidator.java,v 1.2 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1.validation; /** - * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.OrderAddress}. - * This doesn't really do anything, and it's not a real EMF artifact. - * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended. - * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false. + * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.OrderAddress}. This doesn't really do + * anything, and it's not a real EMF artifact. It was generated by the org.eclipse.emf.examples.generator.validator + * plug-in to illustrate how EMF's code generator can be extended. This can be disabled with -vmargs + * -Dorg.eclipse.emf.examples.generator.validator=false. */ public interface OrderAddressValidator { diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java index 865d625787..bb62dd2072 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java @@ -2,7 +2,7 @@ * * * - * $Id: Product1Validator.java,v 1.1 2008-12-29 15:06:22 estepper Exp $ + * $Id: Product1Validator.java,v 1.2 2009-01-10 13:55:59 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model1.validation; @@ -12,10 +12,10 @@ import org.eclipse.emf.cdo.tests.model1.VAT; import org.eclipse.emf.common.util.EList; /** - * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Product1}. - * This doesn't really do anything, and it's not a real EMF artifact. - * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended. - * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false. + * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Product1}. This doesn't really do anything, + * and it's not a real EMF artifact. It was generated by the org.eclipse.emf.examples.generator.validator plug-in to + * illustrate how EMF's code generator can be extended. This can be disabled with -vmargs + * -Dorg.eclipse.emf.examples.generator.validator=false. */ public interface Product1Validator { diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java index 87c22552a2..64cb7b4ee7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Factory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model2Factory.java,v 1.5 2008-12-28 17:56:56 estepper Exp $ + * $Id: Model2Factory.java,v 1.6 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2; @@ -17,45 +17,46 @@ 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.model2.Model2Package * @generated */ public interface Model2Factory extends EFactory { /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ Model2Factory eINSTANCE = org.eclipse.emf.cdo.tests.model2.impl.Model2FactoryImpl.init(); /** - * Returns a new object of class 'Special Purchase Order'. - * + * Returns a new object of class 'Special Purchase Order'. + * * @return a new object of class 'Special Purchase Order'. * @generated */ SpecialPurchaseOrder createSpecialPurchaseOrder(); /** - * Returns a new object of class 'Task Container'. - * + * Returns a new object of class 'Task Container'. + * * @return a new object of class 'Task Container'. * @generated */ TaskContainer createTaskContainer(); /** - * Returns a new object of class 'Task'. - * + * Returns a new object of class 'Task'. + * * @return a new object of class 'Task'. * @generated */ Task createTask(); /** - * 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.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java index df113965b9..99d04b4595 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/Model2Package.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model2Package.java,v 1.7 2008-12-28 17:56:56 estepper Exp $ + * $Id: Model2Package.java,v 1.8 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2; @@ -28,6 +28,7 @@ import org.eclipse.emf.ecore.EReference; *
  • and each data type
  • * * + * * @see org.eclipse.emf.cdo.tests.model2.Model2Factory * @model kind="package" * @generated @@ -35,36 +36,37 @@ import org.eclipse.emf.ecore.EReference; public interface Model2Package extends EPackage { /** - * The package name. - * + * The package name. + * * @generated */ String eNAME = "model2"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model2/1.0.0"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "model2"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ Model2Package eINSTANCE = org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl.init(); /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl Special Purchase Order}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl + * Special Purchase Order}' class. + * * @see org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder() * @generated @@ -72,59 +74,60 @@ public interface Model2Package extends EPackage int SPECIAL_PURCHASE_ORDER = 0; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER__ORDER_DETAILS = Model1Package.PURCHASE_ORDER__ORDER_DETAILS; /** - * The feature id for the 'Date' attribute. - * + * The feature id for the 'Date' attribute. + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER__DATE = Model1Package.PURCHASE_ORDER__DATE; /** - * The feature id for the 'Supplier' reference. - * + * The feature id for the 'Supplier' reference. + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER__SUPPLIER = Model1Package.PURCHASE_ORDER__SUPPLIER; /** - * The feature id for the 'Discount Code' attribute. - * + * The feature id for the 'Discount Code' attribute. + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 0; /** - * The feature id for the 'Shipping Address' containment reference. - * + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 1; /** - * The number of structural features of the 'Special Purchase Order' class. - * + * * @generated * @ordered */ int SPECIAL_PURCHASE_ORDER_FEATURE_COUNT = Model1Package.PURCHASE_ORDER_FEATURE_COUNT + 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl Task Container}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl Task Container} + * ' class. + * * @see org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getTaskContainer() * @generated @@ -132,9 +135,9 @@ public interface Model2Package extends EPackage int TASK_CONTAINER = 1; /** - * The feature id for the 'Tasks' containment reference list. - * + * * @generated * @ordered */ @@ -160,41 +163,42 @@ public interface Model2Package extends EPackage int TASK = 2; /** - * The feature id for the 'Task Container' container reference. - * + * * @generated * @ordered */ int TASK__TASK_CONTAINER = 0; /** - * The feature id for the 'Description' attribute. - * + * The feature id for the 'Description' attribute. + * * @generated * @ordered */ int TASK__DESCRIPTION = 1; /** - * The feature id for the 'Done' attribute. - * + * The feature id for the 'Done' attribute. + * * @generated * @ordered */ int TASK__DONE = 2; /** - * The number of structural features of the 'Task' class. - * + * The number of structural features of the 'Task' class. + * * @generated * @ordered */ int TASK_FEATURE_COUNT = 3; /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder Special Purchase Order}'. - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder + * Special Purchase Order}'. + * * @return the meta object for class 'Special Purchase Order'. * @see org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder * @generated @@ -228,6 +232,7 @@ public interface Model2Package extends EPackage /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer Task Container}'. * + * * @return the meta object for class 'Task Container'. * @see org.eclipse.emf.cdo.tests.model2.TaskContainer * @generated @@ -235,9 +240,10 @@ public interface Model2Package extends EPackage EClass getTaskContainer(); /** - * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks Tasks}'. - * + * * @return the meta object for the containment reference list 'Tasks'. * @see org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks() * @see #getTaskContainer() @@ -256,8 +262,9 @@ public interface Model2Package extends EPackage EClass getTask(); /** - * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}'. - * + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer + * Task Container}'. + * * @return the meta object for the container reference 'Task Container'. * @see org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer() * @see #getTask() @@ -266,8 +273,9 @@ public interface Model2Package extends EPackage EReference getTask_TaskContainer(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription Description}'. - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Task#getDescription + * Description}'. + * * @return the meta object for the attribute 'Description'. * @see org.eclipse.emf.cdo.tests.model2.Task#getDescription() * @see #getTask() @@ -278,6 +286,7 @@ public interface Model2Package extends EPackage /** * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model2.Task#isDone Done}'. * + * * @return the meta object for the attribute 'Done'. * @see org.eclipse.emf.cdo.tests.model2.Task#isDone() * @see #getTask() @@ -286,8 +295,8 @@ public interface Model2Package extends EPackage EAttribute getTask_Done(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * @return the factory that creates the instances of the model. * @generated */ @@ -302,13 +311,15 @@ public interface Model2Package extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals { /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl Special Purchase Order}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl + * Special Purchase Order}' class. + * * @see org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getSpecialPurchaseOrder() * @generated @@ -316,9 +327,9 @@ public interface Model2Package extends EPackage EClass SPECIAL_PURCHASE_ORDER = eINSTANCE.getSpecialPurchaseOrder(); /** - * The meta object literal for the 'Discount Code' attribute feature. - * + * * @generated */ EAttribute SPECIAL_PURCHASE_ORDER__DISCOUNT_CODE = eINSTANCE.getSpecialPurchaseOrder_DiscountCode(); @@ -332,8 +343,9 @@ public interface Model2Package extends EPackage EReference SPECIAL_PURCHASE_ORDER__SHIPPING_ADDRESS = eINSTANCE.getSpecialPurchaseOrder_ShippingAddress(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl Task Container}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl + * Task Container}' class. + * * @see org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getTaskContainer() * @generated @@ -341,9 +353,9 @@ public interface Model2Package extends EPackage EClass TASK_CONTAINER = eINSTANCE.getTaskContainer(); /** - * The meta object literal for the 'Tasks' containment reference list feature. - * + * * @generated */ EReference TASK_CONTAINER__TASKS = eINSTANCE.getTaskContainer_Tasks(); @@ -351,6 +363,7 @@ public interface Model2Package extends EPackage /** * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl Task}' class. * + * * @see org.eclipse.emf.cdo.tests.model2.impl.TaskImpl * @see org.eclipse.emf.cdo.tests.model2.impl.Model2PackageImpl#getTask() * @generated @@ -358,25 +371,25 @@ public interface Model2Package extends EPackage EClass TASK = eINSTANCE.getTask(); /** - * The meta object literal for the 'Task Container' container reference feature. - * + * * @generated */ EReference TASK__TASK_CONTAINER = eINSTANCE.getTask_TaskContainer(); /** - * The meta object literal for the 'Description' attribute feature. - * + * * @generated */ EAttribute TASK__DESCRIPTION = eINSTANCE.getTask_Description(); /** - * The meta object literal for the 'Done' attribute feature. - * + * * @generated */ EAttribute TASK__DONE = eINSTANCE.getTask_Done(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java index c988ef975c..1fc896ff55 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/SpecialPurchaseOrder.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SpecialPurchaseOrder.java,v 1.6 2008-12-28 17:56:56 estepper Exp $ + * $Id: SpecialPurchaseOrder.java,v 1.7 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2; @@ -18,15 +18,14 @@ import org.eclipse.emf.cdo.tests.model1.PurchaseOrder; /** * A representation of the model object 'Special Purchase Order'. - * *

    * The following features are supported: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode Discount Code}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress Shipping Address}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getDiscountCode Discount Code}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.SpecialPurchaseOrder#getShippingAddress Shipping Address}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getSpecialPurchaseOrder() * @model * @generated @@ -34,13 +33,13 @@ import org.eclipse.emf.cdo.tests.model1.PurchaseOrder; public interface SpecialPurchaseOrder extends PurchaseOrder { /** - * Returns the value of the 'Discount Code' attribute. - * + * Returns the value of the 'Discount Code' attribute. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#getDescription Description}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#isDone Done}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#getDescription Description}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.Task#isDone Done}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTask() * @model * @generated @@ -33,14 +32,14 @@ import org.eclipse.emf.ecore.EObject; public interface Task extends EObject { /** - * Returns the value of the 'Task Container' container reference. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks Tasks}'. - * + * Returns the value of the 'Task Container' container reference. It is bidirectional and its opposite + * is '{@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks Tasks}'. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks Tasks}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.TaskContainer#getTasks Tasks}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model2.Model2Package#getTaskContainer() * @model * @generated @@ -32,15 +31,15 @@ import org.eclipse.emf.ecore.EObject; public interface TaskContainer extends EObject { /** - * Returns the value of the 'Tasks' containment reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model2.Task}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}'. - * + * Returns the value of the 'Tasks' containment reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model2.Task}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model2.Task#getTaskContainer Task Container}'. *

    * 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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode Discount Code}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress Shipping Address}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getDiscountCode Discount Code}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.SpecialPurchaseOrderImpl#getShippingAddress Shipping Address + * }
    • *
    *

    - * + * * @generated */ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements SpecialPurchaseOrder { /** * + * * @generated */ protected SpecialPurchaseOrderImpl() @@ -45,6 +47,7 @@ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements Speci /** * + * * @generated */ @Override @@ -55,6 +58,7 @@ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements Speci /** * + * * @generated */ public String getDiscountCode() @@ -64,6 +68,7 @@ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements Speci /** * + * * @generated */ public void setDiscountCode(String newDiscountCode) @@ -73,6 +78,7 @@ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements Speci /** * + * * @generated */ public Address getShippingAddress() @@ -82,6 +88,7 @@ public class SpecialPurchaseOrderImpl extends PurchaseOrderImpl implements Speci /** * + * * @generated */ public void setShippingAddress(Address newShippingAddress) diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java index c03819efcd..650fa915b4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskContainerImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: TaskContainerImpl.java,v 1.3 2008-12-28 17:56:56 estepper Exp $ + * $Id: TaskContainerImpl.java,v 1.4 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.impl; @@ -26,16 +26,17 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl#getTasks Tasks}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskContainerImpl#getTasks Tasks}
    • *
    *

    - * + * * @generated */ public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer { /** * + * * @generated */ protected TaskContainerImpl() @@ -45,6 +46,7 @@ public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer /** * + * * @generated */ @Override @@ -55,6 +57,7 @@ public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer /** * + * * @generated */ @Override @@ -65,6 +68,7 @@ public class TaskContainerImpl extends CDOObjectImpl implements TaskContainer /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java index 9e8fe355b0..1b28e10d35 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/impl/TaskImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: TaskImpl.java,v 1.3 2008-12-28 17:56:56 estepper Exp $ + * $Id: TaskImpl.java,v 1.4 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.impl; @@ -25,18 +25,19 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getTaskContainer Task Container}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getDescription Description}
    • - *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#isDone Done}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getTaskContainer Task Container}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#getDescription Description}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model2.impl.TaskImpl#isDone Done}
    • *
    *

    - * + * * @generated */ public class TaskImpl extends CDOObjectImpl implements Task { /** * + * * @generated */ protected TaskImpl() @@ -46,6 +47,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ @Override @@ -56,6 +58,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ @Override @@ -66,6 +69,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public TaskContainer getTaskContainer() @@ -75,6 +79,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public void setTaskContainer(TaskContainer newTaskContainer) @@ -84,6 +89,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public String getDescription() @@ -93,6 +99,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public void setDescription(String newDescription) @@ -102,6 +109,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public boolean isDone() @@ -111,6 +119,7 @@ public class TaskImpl extends CDOObjectImpl implements Task /** * + * * @generated */ public void setDone(boolean newDone) diff --git a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java index 89a04794d4..3e599b7b3b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model2/src/org/eclipse/emf/cdo/tests/model2/util/Model2AdapterFactory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model2AdapterFactory.java,v 1.6 2008-12-28 17:56:56 estepper Exp $ + * $Id: Model2AdapterFactory.java,v 1.7 2009-01-10 13:55:50 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model2.util; @@ -27,21 +27,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.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 Model2Switch modelSwitch = new Model2Switch() @@ -119,9 +120,10 @@ public class Model2AdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the target. - * - * @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 Model2Switch { /** - * The cached model package - * + * The cached model package + * * @generated */ protected static Model2Package modelPackage; /** - * Creates an instance of the switch. - * + * Creates an instance of the switch. + * * @generated */ public Model2Switch() @@ -57,6 +58,7 @@ public class Model2Switch /** * Calls caseXXX 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 Model2Switch /** * Calls caseXXX 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 Model2Switch /** * Calls caseXXX 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 } /** - * Returns the result of interpreting the object as an instance of 'Task Container'. - * + * Returns the result of interpreting the object as an instance of 'Task Container'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Task Container'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -158,10 +163,11 @@ public class Model2Switch } /** - * Returns the result of interpreting the object as an instance of 'Task'. - * This + * Returns the result of interpreting the object as an instance of 'Task'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Task'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -172,10 +178,11 @@ public class Model2Switch } /** - * Returns the result of interpreting the object as an instance of 'Order'. - * This + * Returns the result of interpreting the object as an instance of 'Order'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Order'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -186,10 +193,11 @@ public class Model2Switch } /** - * Returns the result of interpreting the object as an instance of 'Purchase Order'. - * + * Returns the result of interpreting the object as an instance of 'Purchase Order'. * This implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Purchase Order'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -200,11 +208,12 @@ public class Model2Switch } /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * This + * Returns the result of interpreting the object as an instance of 'EObject'. This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java index 311f1b5dd5..20f7aed270 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/Class1.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Class1.java,v 1.4 2008-12-28 17:57:14 estepper Exp $ + * $Id: Class1.java,v 1.5 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3; @@ -19,14 +19,13 @@ import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Class1'. - * *

    * The following features are supported: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 Class2}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 Class2}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model3.Model3Package#getClass1() * @model * @generated @@ -34,15 +33,15 @@ import org.eclipse.emf.ecore.EObject; public interface Class1 extends EObject { /** - * Returns the value of the 'Class2' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 Class1}'. - * + * Returns the value of the 'Class2' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 Class1}'. *

    * 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; *
  • and each data type
  • * * + * * @see org.eclipse.emf.cdo.tests.model3.Model3Factory * @model kind="package" * @generated @@ -32,29 +33,29 @@ import org.eclipse.emf.ecore.EReference; public interface Model3Package extends EPackage { /** - * The package name. - * + * The package name. + * * @generated */ String eNAME = "model3"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model3/1.0.0"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "model3"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ Model3Package eINSTANCE = org.eclipse.emf.cdo.tests.model3.impl.Model3PackageImpl.init(); @@ -70,16 +71,16 @@ public interface Model3Package extends EPackage int CLASS1 = 0; /** - * The feature id for the 'Class2' reference list. - * + * The feature id for the 'Class2' reference list. + * * @generated * @ordered */ int CLASS1__CLASS2 = 0; /** - * The number of structural features of the 'Class1' class. - * + * The number of structural features of the 'Class1' class. + * * @generated * @ordered */ @@ -88,6 +89,7 @@ public interface Model3Package extends EPackage /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model3.impl.MetaRefImpl Meta Ref}' class. * + * * @see org.eclipse.emf.cdo.tests.model3.impl.MetaRefImpl * @see org.eclipse.emf.cdo.tests.model3.impl.Model3PackageImpl#getMetaRef() * @generated @@ -95,16 +97,16 @@ public interface Model3Package extends EPackage int META_REF = 1; /** - * The feature id for the 'EPackage Ref' reference. - * + * The feature id for the 'EPackage Ref' reference. + * * @generated * @ordered */ int META_REF__EPACKAGE_REF = 0; /** - * The number of structural features of the 'Meta Ref' class. - * + * The number of structural features of the 'Meta Ref' class. + * * @generated * @ordered */ @@ -121,8 +123,9 @@ public interface Model3Package extends EPackage EClass getClass1(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 Class2}'. - * + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 + * Class2}'. + * * @return the meta object for the reference list 'Class2'. * @see org.eclipse.emf.cdo.tests.model3.Class1#getClass2() * @see #getClass1() @@ -141,8 +144,9 @@ public interface Model3Package extends EPackage EClass getMetaRef(); /** - * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model3.MetaRef#getEPackageRef EPackage Ref}'. - * + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model3.MetaRef#getEPackageRef + * EPackage Ref}'. + * * @return the meta object for the reference 'EPackage Ref'. * @see org.eclipse.emf.cdo.tests.model3.MetaRef#getEPackageRef() * @see #getMetaRef() @@ -151,8 +155,8 @@ public interface Model3Package extends EPackage EReference getMetaRef_EPackageRef(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * @return the factory that creates the instances of the model. * @generated */ @@ -167,6 +171,7 @@ public interface Model3Package extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals @@ -174,6 +179,7 @@ public interface Model3Package extends EPackage /** * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model3.impl.Class1Impl Class1}' class. * + * * @see org.eclipse.emf.cdo.tests.model3.impl.Class1Impl * @see org.eclipse.emf.cdo.tests.model3.impl.Model3PackageImpl#getClass1() * @generated @@ -181,16 +187,17 @@ public interface Model3Package extends EPackage EClass CLASS1 = eINSTANCE.getClass1(); /** - * The meta object literal for the 'Class2' reference list feature. - * + * * @generated */ EReference CLASS1__CLASS2 = eINSTANCE.getClass1_Class2(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model3.impl.MetaRefImpl Meta Ref}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model3.impl.MetaRefImpl Meta Ref}' + * class. + * * @see org.eclipse.emf.cdo.tests.model3.impl.MetaRefImpl * @see org.eclipse.emf.cdo.tests.model3.impl.Model3PackageImpl#getMetaRef() * @generated @@ -198,9 +205,9 @@ public interface Model3Package extends EPackage EClass META_REF = eINSTANCE.getMetaRef(); /** - * The meta object literal for the 'EPackage Ref' reference feature. - * + * * @generated */ EReference META_REF__EPACKAGE_REF = eINSTANCE.getMetaRef_EPackageRef(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java index 1787a6d74e..5103fdc6dd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Class1Impl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Class1Impl.java,v 1.3 2008-12-28 17:57:14 estepper Exp $ + * $Id: Class1Impl.java,v 1.4 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.impl; @@ -26,16 +26,17 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model3.impl.Class1Impl#getClass2 Class2}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model3.impl.Class1Impl#getClass2 Class2}
    • *
    *

    - * + * * @generated */ public class Class1Impl extends CDOObjectImpl implements Class1 { /** * + * * @generated */ protected Class1Impl() @@ -45,6 +46,7 @@ public class Class1Impl extends CDOObjectImpl implements Class1 /** * + * * @generated */ @Override @@ -55,6 +57,7 @@ public class Class1Impl extends CDOObjectImpl implements Class1 /** * + * * @generated */ @Override @@ -65,6 +68,7 @@ public class Class1Impl extends CDOObjectImpl implements Class1 /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java index a1914c3057..fc168b1efa 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/MetaRefImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MetaRefImpl.java,v 1.3 2008-12-28 17:57:14 estepper Exp $ + * $Id: MetaRefImpl.java,v 1.4 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.impl; @@ -36,6 +36,7 @@ public class MetaRefImpl extends CDOObjectImpl implements MetaRef { /** * + * * @generated */ protected MetaRefImpl() @@ -45,6 +46,7 @@ public class MetaRefImpl extends CDOObjectImpl implements MetaRef /** * + * * @generated */ @Override @@ -55,6 +57,7 @@ public class MetaRefImpl extends CDOObjectImpl implements MetaRef /** * + * * @generated */ @Override @@ -65,6 +68,7 @@ public class MetaRefImpl extends CDOObjectImpl implements MetaRef /** * + * * @generated */ public EPackage getEPackageRef() @@ -74,6 +78,7 @@ public class MetaRefImpl extends CDOObjectImpl implements MetaRef /** * + * * @generated */ public void setEPackageRef(EPackage newEPackageRef) diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java index e0dbdfa412..cd5b69f47f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3FactoryImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model3FactoryImpl.java,v 1.5 2008-12-28 17:57:14 estepper Exp $ + * $Id: Model3FactoryImpl.java,v 1.6 2009-01-10 13:55:47 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.impl; @@ -25,13 +25,14 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * An implementation of the model Factory. + * * @generated */ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory { /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static Model3Factory init() @@ -53,8 +54,8 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public Model3FactoryImpl() @@ -64,6 +65,7 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory /** * + * * @generated */ @Override @@ -82,6 +84,7 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory /** * + * * @generated */ public Class1 createClass1() @@ -92,6 +95,7 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory /** * + * * @generated */ public MetaRef createMetaRef() @@ -102,6 +106,7 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory /** * + * * @generated */ public Model3Package getModel3Package() @@ -111,6 +116,7 @@ public class Model3FactoryImpl extends EFactoryImpl implements Model3Factory /** * + * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java index b6c6a9608b..725ac4f787 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/impl/Model3PackageImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model3PackageImpl.java,v 1.6 2008-12-28 17:57:14 estepper Exp $ + * $Id: Model3PackageImpl.java,v 1.7 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.impl; @@ -27,18 +27,21 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * An implementation of the model Package. + * * @generated */ public class Model3PackageImpl extends EPackageImpl implements Model3Package { /** * + * * @generated */ private EClass class1EClass = null; /** * + * * @generated */ private EClass metaRefEClass = null; @@ -63,27 +66,24 @@ public class Model3PackageImpl extends EPackageImpl implements Model3Package /** * + * * @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() @@ -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: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 Class1}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 Class1}
    • *
    *

    - * + * * @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackagePackage#getClass2() * @model * @generated @@ -34,15 +33,15 @@ import org.eclipse.emf.ecore.EObject; public interface Class2 extends EObject { /** - * Returns the value of the 'Class1' reference list. - * The list contents are of type {@link org.eclipse.emf.cdo.tests.model3.Class1}. - * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 Class2}'. - * + * Returns the value of the 'Class1' reference list. The list contents are of type + * {@link org.eclipse.emf.cdo.tests.model3.Class1}. It is bidirectional and its opposite is ' + * {@link org.eclipse.emf.cdo.tests.model3.Class1#getClass2 Class2}'. *

    * 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; *
  • and each data type
  • * * + * * @see org.eclipse.emf.cdo.tests.model3.subpackage.SubpackageFactory * @model kind="package" * @generated @@ -32,36 +33,37 @@ import org.eclipse.emf.ecore.EReference; public interface SubpackagePackage extends EPackage { /** - * The package name. - * + * The package name. + * * @generated */ String eNAME = "subpackage"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/subpackage/1.0.0"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "subpackage"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ SubpackagePackage eINSTANCE = org.eclipse.emf.cdo.tests.model3.subpackage.impl.SubpackagePackageImpl.init(); /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl Class2}' class. - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl Class2}' + * class. + * * @see org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl * @see org.eclipse.emf.cdo.tests.model3.subpackage.impl.SubpackagePackageImpl#getClass2() * @generated @@ -69,16 +71,16 @@ public interface SubpackagePackage extends EPackage int CLASS2 = 0; /** - * The feature id for the 'Class1' reference list. - * + * The feature id for the 'Class1' reference list. + * * @generated * @ordered */ int CLASS2__CLASS1 = 0; /** - * The number of structural features of the 'Class2' class. - * + * The number of structural features of the 'Class2' class. + * * @generated * @ordered */ @@ -87,6 +89,7 @@ public interface SubpackagePackage extends EPackage /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2 Class2}'. * + * * @return the meta object for class 'Class2'. * @see org.eclipse.emf.cdo.tests.model3.subpackage.Class2 * @generated @@ -94,9 +97,10 @@ public interface SubpackagePackage extends EPackage EClass getClass2(); /** - * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1 Class1}'. - * + * * @return the meta object for the reference list 'Class1'. * @see org.eclipse.emf.cdo.tests.model3.subpackage.Class2#getClass1() * @see #getClass2() @@ -105,8 +109,8 @@ public interface SubpackagePackage extends EPackage EReference getClass2_Class1(); /** - * Returns the factory that creates the instances of the model. - * + * Returns the factory that creates the instances of the model. + * * @return the factory that creates the instances of the model. * @generated */ @@ -121,13 +125,15 @@ public interface SubpackagePackage extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals { /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl Class2}' class. - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl + * Class2}' class. + * * @see org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl * @see org.eclipse.emf.cdo.tests.model3.subpackage.impl.SubpackagePackageImpl#getClass2() * @generated @@ -135,9 +141,9 @@ public interface SubpackagePackage extends EPackage EClass CLASS2 = eINSTANCE.getClass2(); /** - * The meta object literal for the 'Class1' reference list feature. - * + * * @generated */ EReference CLASS2__CLASS1 = eINSTANCE.getClass2_Class1(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java index 40173e2e8c..508b3d6800 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/Class2Impl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Class2Impl.java,v 1.3 2008-12-28 17:57:14 estepper Exp $ + * $Id: Class2Impl.java,v 1.4 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage.impl; @@ -26,16 +26,17 @@ import org.eclipse.emf.ecore.EClass; *

    * The following features are implemented: *

      - *
    • {@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl#getClass1 Class1}
    • + *
    • {@link org.eclipse.emf.cdo.tests.model3.subpackage.impl.Class2Impl#getClass1 Class1}
    • *
    *

    - * + * * @generated */ public class Class2Impl extends CDOObjectImpl implements Class2 { /** * + * * @generated */ protected Class2Impl() @@ -45,6 +46,7 @@ public class Class2Impl extends CDOObjectImpl implements Class2 /** * + * * @generated */ @Override @@ -55,6 +57,7 @@ public class Class2Impl extends CDOObjectImpl implements Class2 /** * + * * @generated */ @Override @@ -65,6 +68,7 @@ public class Class2Impl extends CDOObjectImpl implements Class2 /** * + * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java index 8b8b67553c..9968d4dffa 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackageFactoryImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SubpackageFactoryImpl.java,v 1.5 2008-12-28 17:57:14 estepper Exp $ + * $Id: SubpackageFactoryImpl.java,v 1.6 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage.impl; @@ -24,13 +24,14 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * An implementation of the model Factory. + * * @generated */ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFactory { /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static SubpackageFactory init() @@ -52,8 +53,8 @@ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFac } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public SubpackageFactoryImpl() @@ -63,6 +64,7 @@ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFac /** * + * * @generated */ @Override @@ -79,6 +81,7 @@ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFac /** * + * * @generated */ public Class2 createClass2() @@ -89,6 +92,7 @@ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFac /** * + * * @generated */ public SubpackagePackage getSubpackagePackage() @@ -98,6 +102,7 @@ public class SubpackageFactoryImpl extends EFactoryImpl implements SubpackageFac /** * + * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java index 91e812ba64..68e1ccded6 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/subpackage/impl/SubpackagePackageImpl.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SubpackagePackageImpl.java,v 1.6 2008-12-28 17:57:14 estepper Exp $ + * $Id: SubpackagePackageImpl.java,v 1.7 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.subpackage.impl; @@ -26,12 +26,14 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * An implementation of the model Package. + * * @generated */ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePackage { /** * + * * @generated */ private EClass class2EClass = null; @@ -56,27 +58,24 @@ public class SubpackagePackageImpl extends EPackageImpl implements SubpackagePac /** * + * * @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() @@ -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 SubpackageSwitch modelSwitch = new SubpackageSwitch() @@ -91,9 +92,10 @@ public class SubpackageAdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the target. - * - * @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 SubpackageSwitch { /** - * The cached model package - * + * The cached model package + * * @generated */ protected static SubpackagePackage modelPackage; /** - * Creates an instance of the switch. - * + * Creates an instance of the switch. + * * @generated */ public SubpackageSwitch() @@ -53,6 +54,7 @@ public class SubpackageSwitch /** * Calls caseXXX 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 SubpackageSwitch /** * Calls caseXXX 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 SubpackageSwitch /** * Calls caseXXX 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 SubpackageSwitch } /** - * Returns the result of interpreting the object as an instance of 'Class2'. - * This + * Returns the result of interpreting the object as an instance of 'Class2'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Class2'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -118,11 +123,12 @@ public class SubpackageSwitch } /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * This + * Returns the result of interpreting the object as an instance of 'EObject'. This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java index 99008abfe8..824ded48a8 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model3/src/org/eclipse/emf/cdo/tests/model3/util/Model3AdapterFactory.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: Model3AdapterFactory.java,v 1.4 2008-12-28 17:57:14 estepper Exp $ + * $Id: Model3AdapterFactory.java,v 1.5 2009-01-10 13:55:48 estepper Exp $ */ package org.eclipse.emf.cdo.tests.model3.util; @@ -24,21 +24,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.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 Model3Switch modelSwitch = new Model3Switch() @@ -98,9 +99,10 @@ public class Model3AdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the target. - * - * @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 Model3Switch { /** - * The cached model package - * + * The cached model package + * * @generated */ protected static Model3Package modelPackage; /** - * Creates an instance of the switch. - * + * Creates an instance of the switch. + * * @generated */ public Model3Switch() @@ -54,6 +55,7 @@ public class Model3Switch /** * Calls caseXXX 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 Model3Switch /** * Calls caseXXX 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 Model3Switch /** * Calls caseXXX 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 } /** - * Returns the result of interpreting the object as an instance of 'Class1'. - * This + * Returns the result of interpreting the object as an instance of 'Class1'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Class1'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -127,10 +132,11 @@ public class Model3Switch } /** - * Returns the result of interpreting the object as an instance of 'Meta Ref'. - * This + * Returns the result of interpreting the object as an instance of 'Meta Ref'. This * implementation returns null; returning a non-null result will terminate the switch. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'Meta Ref'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -141,11 +147,12 @@ public class Model3Switch } /** - * Returns the result of interpreting the object as an instance of 'EObject'. - * This + * Returns the result of interpreting the object as an instance of 'EObject'. This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. - * @param object the target of the switch. + * + * @param object + * the target of the switch. * @return the result of interpreting the object as an instance of 'EObject'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated -- cgit v1.2.3