From a448c447c3de30946233cd0592679165524ab0b1 Mon Sep 17 00:00:00 2001 From: Eike Stepper Date: Mon, 10 Sep 2007 09:58:10 +0000 Subject: Changed comment line width from 80 to 120. --- .../org/eclipse/emf/cdo/tests/model1/Address.java | 36 +-- .../org/eclipse/emf/cdo/tests/model1/Category.java | 36 +-- .../org/eclipse/emf/cdo/tests/model1/Company.java | 64 ++-- .../org/eclipse/emf/cdo/tests/model1/Customer.java | 13 +- .../emf/cdo/tests/model1/Model1Factory.java | 40 +-- .../emf/cdo/tests/model1/Model1Package.java | 327 +++++++++------------ .../org/eclipse/emf/cdo/tests/model1/Order.java | 16 +- .../eclipse/emf/cdo/tests/model1/OrderDetail.java | 33 +-- .../org/eclipse/emf/cdo/tests/model1/Product.java | 24 +- .../emf/cdo/tests/model1/PurchaseOrder.java | 22 +- .../eclipse/emf/cdo/tests/model1/SalesOrder.java | 21 +- .../org/eclipse/emf/cdo/tests/model1/Supplier.java | 13 +- .../emf/cdo/tests/model1/impl/AddressImpl.java | 3 +- .../emf/cdo/tests/model1/impl/CategoryImpl.java | 3 +- .../emf/cdo/tests/model1/impl/CompanyImpl.java | 3 +- .../emf/cdo/tests/model1/impl/CustomerImpl.java | 3 +- .../cdo/tests/model1/impl/Model1FactoryImpl.java | 9 +- .../cdo/tests/model1/impl/Model1PackageImpl.java | 42 ++- .../emf/cdo/tests/model1/impl/OrderDetailImpl.java | 4 +- .../emf/cdo/tests/model1/impl/OrderImpl.java | 3 +- .../emf/cdo/tests/model1/impl/ProductImpl.java | 3 +- .../cdo/tests/model1/impl/PurchaseOrderImpl.java | 4 +- .../emf/cdo/tests/model1/impl/SalesOrderImpl.java | 4 +- .../emf/cdo/tests/model1/impl/SupplierImpl.java | 3 +- .../tests/model1/util/Model1AdapterFactory.java | 75 ++--- .../emf/cdo/tests/model1/util/Model1Switch.java | 92 +++--- .../tests/model1/validation/AddressValidator.java | 8 +- .../tests/model1/validation/CategoryValidator.java | 8 +- .../tests/model1/validation/CompanyValidator.java | 8 +- .../tests/model1/validation/CustomerValidator.java | 8 +- .../model1/validation/OrderDetailValidator.java | 8 +- .../tests/model1/validation/OrderValidator.java | 8 +- .../tests/model1/validation/ProductValidator.java | 8 +- .../model1/validation/PurchaseOrderValidator.java | 8 +- .../model1/validation/SalesOrderValidator.java | 8 +- .../tests/model1/validation/SupplierValidator.java | 8 +- 36 files changed, 406 insertions(+), 570 deletions(-) (limited to 'plugins/org.eclipse.emf.cdo.tests.model1/src') 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 3d58e8d3f3..e70ef30322 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 @@ -9,8 +9,7 @@ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.cdo.CDOObject; /** - * A representation of the model object 'Address'. - * + * A representation of the model object 'Address'. *
* The following features are supported: *
- * If the meaning of the 'Name' attribute isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -45,8 +43,8 @@ public interface Address extends CDOObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getName Name}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getName Name}' attribute. * * @param value * the new value of the 'Name' attribute. @@ -56,11 +54,10 @@ public interface Address extends CDOObject 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... + * If the meaning of the 'Street' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -73,8 +70,8 @@ public interface Address extends CDOObject String getStreet(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getStreet Street}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getStreet Street}' attribute. + * * * @param value * the new value of the 'Street' attribute. @@ -84,11 +81,10 @@ public interface Address extends CDOObject 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... + * If the meaning of the 'City' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -101,8 +97,8 @@ public interface Address extends CDOObject String getCity(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getCity City}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Address#getCity City}' attribute. * * @param value * the new value of the 'City' attribute. 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 b00bd7f727..2e80c874c6 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 @@ -11,8 +11,7 @@ import org.eclipse.emf.cdo.CDOObject; import org.eclipse.emf.common.util.EList; /** - * A representation of the model object 'Category'. - * + * A representation of the model object 'Category'. ** The following features are supported: *
- * If the meaning of the 'Name' attribute isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -47,8 +45,8 @@ public interface Category extends CDOObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Category#getName Name}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Category#getName Name}' attribute. * * @param value * the new value of the 'Name' attribute. @@ -58,17 +56,15 @@ public interface Category extends CDOObject 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... + * 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. + * @return the value of the 'Categories' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Categories() * @model containment="true" * @generated @@ -76,17 +72,15 @@ public interface Category extends CDOObject EList- * If the meaning of the 'Products' containment reference list - * isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Products' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Products() * @model containment="true" * @generated 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 1dba717be4..982db4a2fc 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 @@ -9,8 +9,7 @@ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.common.util.EList; /** - * A representation of the model object 'Company'. - * + * A representation of the model object 'Company'. ** The following features are supported: *
- * If the meaning of the 'Categories' containment reference list - * isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Categories' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Categories() * @model containment="true" * @generated @@ -47,17 +44,15 @@ public interface Company extends Address EList- * If the meaning of the 'Suppliers' containment reference list - * isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Suppliers' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Suppliers() * @model containment="true" * @generated @@ -65,37 +60,31 @@ public interface Company extends Address EList- * If the meaning of the 'Purchase Orders' containment reference - * list isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Purchase Orders' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_PurchaseOrders() - * @model type="org.eclipse.emf.cdo.tests.model1.PurchaseOrder" - * containment="true" + * @model type="org.eclipse.emf.cdo.tests.model1.PurchaseOrder" containment="true" * @generated */ EList- * If the meaning of the 'Customers' containment reference list - * isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Customers' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Customers() * @model containment="true" * @generated @@ -103,18 +92,15 @@ public interface Company extends Address EList- * If the meaning of the 'Sales Orders' containment reference - * list isn't clear, there really should be more of a description here... + * 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. + * @return the value of the 'Sales Orders' containment reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_SalesOrders() * @model containment="true" * @generated 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 9ba6388242..c306e0068d 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 @@ -9,8 +9,7 @@ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.common.util.EList; /** - * A representation of the model object 'Customer'. - * + * A representation of the model object 'Customer'. ** The following features are supported: *
- * If the meaning of the 'Sales Orders' reference list isn't - * clear, there really should be more of a description here... + * If the meaning of the 'Sales Orders' reference list isn't clear, there really should be more of a + * description here... *
* * 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 adba9f842e..686ca83fed 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 @@ -9,8 +9,8 @@ package org.eclipse.emf.cdo.tests.model1; 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.model1.Model1Package * @generated @@ -18,16 +18,14 @@ import org.eclipse.emf.ecore.EFactory; public interface Model1Factory extends EFactory { /** - * 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 @@ -35,8 +33,7 @@ public interface Model1Factory extends EFactory Address createAddress(); /** - * Returns a new object of class 'Supplier'. + * Returns a new object of class 'Supplier'. * * @return a new object of class 'Supplier'. * @generated @@ -44,8 +41,7 @@ public interface Model1Factory extends EFactory 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 @@ -53,8 +49,7 @@ public interface Model1Factory extends EFactory 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 @@ -62,8 +57,7 @@ public interface Model1Factory extends EFactory OrderDetail createOrderDetail(); /** - * Returns a new object of class 'Product'. + * Returns a new object of class 'Product'. * * @return a new object of class 'Product'. * @generated @@ -71,8 +65,7 @@ public interface Model1Factory extends EFactory Product createProduct(); /** - * Returns a new object of class 'Category'. + * Returns a new object of class 'Category'. * * @return a new object of class 'Category'. * @generated @@ -80,8 +73,7 @@ public interface Model1Factory extends EFactory Category createCategory(); /** - * Returns a new object of class 'Company'. + * Returns a new object of class 'Company'. * * @return a new object of class 'Company'. * @generated @@ -89,8 +81,7 @@ public interface Model1Factory extends EFactory Company createCompany(); /** - * Returns a new object of class 'Customer'. + * Returns a new object of class 'Customer'. * * @return a new object of class 'Customer'. * @generated @@ -98,8 +89,7 @@ public interface Model1Factory extends EFactory Customer createCustomer(); /** - * Returns a new object of class 'Order'. - * + * Returns a new object of class 'Order'. * * @return a new object of class 'Order'. * @generated @@ -107,8 +97,7 @@ public interface Model1Factory extends EFactory 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 @@ -116,8 +105,7 @@ public interface Model1Factory extends EFactory 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 d40ce420ae..fe210485fd 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 @@ -12,8 +12,7 @@ import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** - * The Package for the model. It contains - * accessors for the meta objects to represent + * The Package for the model. It contains accessors for the meta objects to represent ** The following features are supported: *
- * If the meaning of the 'Order Details' containment reference - * list isn't clear, there really should be more of a description here... + * 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. + * @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 * @model opposite="order" containment="true" 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 3c30f5f13c..726d9b398c 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 @@ -9,8 +9,8 @@ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.cdo.CDOObject; /** - * A representation of the model object 'Order Detail'. - * + * A representation of the model object 'Order Detail'. ** The following features are supported: *
- * If the meaning of the 'Order' container reference isn't clear, - * there really should be more of a description here... + * If the meaning of the 'Order' container reference isn't clear, there really should be more of a + * description here... *
* * @@ -47,8 +46,8 @@ public interface OrderDetail extends CDOObject Order getOrder(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder 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. @@ -58,12 +57,11 @@ public interface OrderDetail extends CDOObject 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.Product#getOrderDetails Order Details}'. + * Returns the value of the 'Product' reference. It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Product#getOrderDetails Order Details}'. * *- * If the meaning of the 'Product' reference isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Product' reference isn't clear, there really should be more of a description + * here... *
* * @@ -88,11 +86,10 @@ public interface OrderDetail extends CDOObject void setProduct(Product 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... + * If the meaning of the 'Price' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -105,8 +102,8 @@ public interface OrderDetail extends CDOObject float getPrice(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}' - * attribute. + * 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. diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product.java index ce5d30c0e8..f6080dc0c9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product.java +++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product.java @@ -11,8 +11,7 @@ import org.eclipse.emf.cdo.CDOObject; import org.eclipse.emf.common.util.EList; /** - * A representation of the model object 'Product'. - * + * A representation of the model object 'Product'. ** The following features are supported: *
- * If the meaning of the 'Name' attribute isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Name' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -46,8 +44,8 @@ public interface Product extends CDOObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product#getName Name}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product#getName Name}' attribute. * * @param value * the new value of the 'Name' attribute. @@ -57,14 +55,12 @@ public interface Product extends CDOObject 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... + * If the meaning of the 'Order Details' reference list isn't clear, there really should be more of a + * description here... *
* * 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 053c4ca24b..ff6c2db931 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 @@ -9,8 +9,8 @@ package org.eclipse.emf.cdo.tests.model1; import java.util.Date; /** - * A representation of the model object 'Purchase Order'. - * + * A representation of the model object 'Purchase Order'. ** The following features are supported: *
- * If the meaning of the 'Date' attribute isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Date' attribute isn't clear, there really should be more of a description + * here... *
* * @@ -43,8 +42,8 @@ public interface PurchaseOrder extends Order Date getDate(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate Date}' - * attribute. + * 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. @@ -54,11 +53,10 @@ public interface PurchaseOrder extends Order void setDate(Date value); /** - * Returns the value of the 'Supplier' reference. + * Returns the value of the 'Supplier' reference. *- * If the meaning of the 'Supplier' reference isn't clear, there - * really should be more of a description here... + * If the meaning of the 'Supplier' reference isn't clear, there really should be more of a description + * here... *
* * 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 c5d7951d7e..7ecf63ac3a 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 @@ -7,8 +7,8 @@ package org.eclipse.emf.cdo.tests.model1; /** - * A representation of the model object 'Sales Order'. - * + * A representation of the model object 'Sales Order'. ** The following features are supported: *
- * If the meaning of the 'Id' attribute isn't clear, there really - * should be more of a description here... + * If the meaning of the 'Id' attribute isn't clear, there really should be more of a description here... *
* * @@ -41,8 +39,8 @@ public interface SalesOrder extends Order int getId(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId Id}' - * attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId Id}' attribute. * * @param value * the new value of the 'Id' attribute. @@ -52,12 +50,11 @@ 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... + * If the meaning of the 'Customer' reference isn't clear, there really should be more of a description + * here... *
* * 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 a625443c03..21fda2e638 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 @@ -9,8 +9,7 @@ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.common.util.EList; /** - * A representation of the model object 'Supplier'. - * + * A representation of the model object 'Supplier'. ** The following features are supported: *
- * If the meaning of the 'Purchase Orders' reference list isn't - * clear, there really should be more of a description here... + * If the meaning of the 'Purchase Orders' reference list isn't clear, there really should be more of a + * description here... *
* * 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 85b4422373..1d004d1e3b 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 @@ -14,8 +14,7 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.internal.cdo.CDOObjectImpl; /** - * An implementation of the model object 'Address'. - * + * An implementation of the model object 'Address'. ** The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
- * Note: the correct way to create the package is via the static factory - * method {@link #init init()}, which also performs initialization of the - * package, or returns the registered package, if one already exists. * * @see org.eclipse.emf.ecore.EPackage.Registry @@ -131,20 +128,17 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package 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. + * 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. + * 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. + * Invocation of this method will not affect any packages that have already been initialized. + * * * @see #eNS_URI * @see #createPackageContents() @@ -522,9 +516,8 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package 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 */ @@ -586,9 +579,8 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package 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 */ 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 292e50c444..6b8af5f55d 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 @@ -15,8 +15,8 @@ import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.internal.cdo.CDOObjectImpl; /** - * An implementation of the model object 'Order Detail'. - * + * An implementation of the model object 'Order Detail'. *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
* The following features are implemented: *
createXXX
method for each class of the
- * model.
+ * 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
@@ -41,8 +40,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
protected static Model1Package modelPackage;
/**
- * Creates an instance of the adapter factory.
+ * Creates an instance of the adapter factory.
*
* @generated
*/
@@ -55,10 +53,9 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * 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.
- *
+ * 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
@@ -78,8 +75,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * The switch the delegates to the createXXX
methods.
+ * The switch the delegates to the createXXX
methods.
*
* @generated
*/
@@ -153,8 +149,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
};
/**
- * Creates an adapter for the target
.
- *
+ * Creates an adapter for the target
.
*
* @param target
* the object to adapt.
@@ -169,9 +164,8 @@ 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.
+ * 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
@@ -184,9 +178,8 @@ 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.
+ * 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
@@ -199,9 +192,8 @@ 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 ignore cases; it's useful to ignore a case when inheritance will
- * catch all the cases anyway.
+ * 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
@@ -214,9 +206,8 @@ 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 ignore cases; it's useful to ignore a case when inheritance will
- * catch all the cases anyway.
+ * 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
@@ -229,9 +220,8 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
/**
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Product Product}'.
- * 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.
+ * 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.Product
@@ -244,9 +234,8 @@ 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.
+ * 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
@@ -259,9 +248,8 @@ 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.
+ * 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
@@ -274,9 +262,8 @@ 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.
+ * 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
@@ -289,9 +276,8 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
/**
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order 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.
+ * 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.Order
@@ -304,9 +290,8 @@ 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 ignore cases; it's useful to ignore a case when inheritance will
- * catch all the cases anyway.
+ * 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
@@ -318,8 +303,8 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case. This
- * default implementation returns null.
+ * Creates a new adapter for the default case. 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 e46117641f..633e2919e1 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
@@ -24,12 +24,10 @@ import org.eclipse.emf.ecore.EObject;
import java.util.List;
/**
- * The Switch for the model's inheritance
- * hierarchy. It supports the call {@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.
+ * The Switch for the model's inheritance hierarchy. It supports the call
+ * {@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
@@ -44,8 +42,7 @@ public class Model1SwitchcaseXXX
for each class of the model until one returns
- * a non null result; it yields that result.
+ * 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.
+ * @return the first non-null result returned by a caseXXX
call.
* @generated
*/
public T doSwitch(EObject theEObject)
@@ -72,12 +67,10 @@ public class Model1SwitchcaseXXX
for each class of the model until one returns
- * a non null result; it yields that result.
+ * 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.
+ * @return the first non-null result returned by a caseXXX
call.
* @generated
*/
protected T doSwitch(EClass theEClass, EObject theEObject)
@@ -94,12 +87,10 @@ public class Model1SwitchcaseXXX
for each class of the model until one returns
- * a non null result; it yields that result.
+ * 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.
+ * @return the first non-null result returned by a caseXXX
call.
* @generated
*/
protected T doSwitch(int classifierID, EObject theEObject)
@@ -187,9 +178,8 @@ public class Model1Switch