From 13be6d40d57b13019cb7e880b7148e4c81b91763 Mon Sep 17 00:00:00 2001 From: Eike Stepper Date: Sat, 22 Aug 2009 09:35:38 +0000 Subject: regenerated all models --- .../src/org/gastro/business/BusinessDay.java | 41 ++-- .../src/org/gastro/business/BusinessFactory.java | 25 ++- .../src/org/gastro/business/BusinessPackage.java | 244 +++++++++++---------- .../src/org/gastro/business/Order.java | 51 +++-- .../src/org/gastro/business/OrderDetail.java | 37 ++-- .../src/org/gastro/business/OrderState.java | 75 ++++--- .../src/org/gastro/business/Waiter.java | 59 ++--- .../org/gastro/business/impl/BusinessDayImpl.java | 23 +- .../gastro/business/impl/BusinessFactoryImpl.java | 20 +- .../gastro/business/impl/BusinessPackageImpl.java | 54 ++++- .../org/gastro/business/impl/OrderDetailImpl.java | 23 +- .../src/org/gastro/business/impl/OrderImpl.java | 20 +- .../src/org/gastro/business/impl/WaiterImpl.java | 24 +- .../business/util/BusinessAdapterFactory.java | 28 +-- .../org/gastro/business/util/BusinessSwitch.java | 47 ++-- 15 files changed, 448 insertions(+), 323 deletions(-) (limited to 'plugins/org.gastro.business') diff --git a/plugins/org.gastro.business/src/org/gastro/business/BusinessDay.java b/plugins/org.gastro.business/src/org/gastro/business/BusinessDay.java index 60fbcf13f2..38f0620bd5 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/BusinessDay.java +++ b/plugins/org.gastro.business/src/org/gastro/business/BusinessDay.java @@ -23,18 +23,17 @@ import java.util.Date; /** * A representation of the model object 'Day'. - * *
* The following features are supported: *
* If the meaning of the 'Date' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Date' attribute. * @see #setDate(Date) * @see org.gastro.business.BusinessPackage#getBusinessDay_Date() @@ -69,13 +68,13 @@ public interface BusinessDay extends CDOObject void setDate(Date value); /** - * Returns the value of the 'Menu Card' reference. - * + * Returns the value of the 'Menu Card' reference. ** If the meaning of the 'Menu Card' reference isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Menu Card' reference. * @see #setMenuCard(MenuCard) * @see org.gastro.business.BusinessPackage#getBusinessDay_MenuCard() @@ -96,15 +95,15 @@ public interface BusinessDay extends CDOObject void setMenuCard(MenuCard value); /** - * Returns the value of the 'Orders' containment reference list. - * The list contents are of type {@link org.gastro.business.Order}. - * It is bidirectional and its opposite is '{@link org.gastro.business.Order#getBusinessDay Business Day}'. - * + * Returns the value of the 'Orders' containment reference list. The list contents are of type + * {@link org.gastro.business.Order}. It is bidirectional and its opposite is ' + * {@link org.gastro.business.Order#getBusinessDay Business Day}'. ** If the meaning of the 'Orders' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Orders' containment reference list. * @see org.gastro.business.BusinessPackage#getBusinessDay_Orders() * @see org.gastro.business.Order#getBusinessDay @@ -114,15 +113,15 @@ public interface BusinessDay extends CDOObject EList* If the meaning of the 'Waiters' containment reference list isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Waiters' containment reference list. * @see org.gastro.business.BusinessPackage#getBusinessDay_Waiters() * @see org.gastro.business.Waiter#getBusinessDay @@ -132,12 +131,12 @@ public interface BusinessDay extends CDOObject EList* If the meaning of the 'Closed' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Closed' attribute. * @see #setClosed(boolean) * @see org.gastro.business.BusinessPackage#getBusinessDay_Closed() diff --git a/plugins/org.gastro.business/src/org/gastro/business/BusinessFactory.java b/plugins/org.gastro.business/src/org/gastro/business/BusinessFactory.java index 30a9ffe827..84706d385a 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/BusinessFactory.java +++ b/plugins/org.gastro.business/src/org/gastro/business/BusinessFactory.java @@ -18,53 +18,54 @@ 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.gastro.business.BusinessPackage * @generated */ public interface BusinessFactory extends EFactory { /** - * The singleton instance of the factory. - * + * The singleton instance of the factory. + * * @generated */ BusinessFactory eINSTANCE = org.gastro.business.impl.BusinessFactoryImpl.init(); /** - * Returns a new object of class 'Day'. - * + * Returns a new object of class 'Day'. + * * @return a new object of class 'Day'. * @generated */ BusinessDay createBusinessDay(); /** - * 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 '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 'Waiter'. - * + * Returns a new object of class 'Waiter'. + * * @return a new object of class 'Waiter'. * @generated */ Waiter createWaiter(); /** - * 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.gastro.business/src/org/gastro/business/BusinessPackage.java b/plugins/org.gastro.business/src/org/gastro/business/BusinessPackage.java index 039706cd34..5bd349f5d4 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/BusinessPackage.java +++ b/plugins/org.gastro.business/src/org/gastro/business/BusinessPackage.java @@ -28,6 +28,7 @@ import org.eclipse.emf.ecore.EReference; ** The following features are supported: *
* If the meaning of the 'Business Day' container reference isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Business Day' container reference. * @see #setBusinessDay(BusinessDay) * @see org.gastro.business.BusinessPackage#getOrder_BusinessDay() @@ -60,19 +59,21 @@ public interface Order extends CDOObject /** * Sets the value of the '{@link org.gastro.business.Order#getBusinessDay Business Day}' container reference. * - * @param value the new value of the 'Business Day' container reference. + * + * @param value + * the new value of the 'Business Day' container reference. * @see #getBusinessDay() * @generated */ void setBusinessDay(BusinessDay value); /** - * Returns the value of the 'Table' reference. - * + * Returns the value of the 'Table' reference. ** If the meaning of the 'Table' reference isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Table' reference. * @see #setTable(Table) * @see org.gastro.business.BusinessPackage#getOrder_Table() @@ -82,25 +83,26 @@ public interface Order extends CDOObject Table getTable(); /** - * Sets the value of the '{@link org.gastro.business.Order#getTable Table}' reference. - * - * @param value the new value of the 'Table' reference. + * + * @param value + * the new value of the 'Table' reference. * @see #getTable() * @generated */ void setTable(Table value); /** - * Returns the value of the 'Order Details' containment reference list. - * The list contents are of type {@link org.gastro.business.OrderDetail}. - * It is bidirectional and its opposite is '{@link org.gastro.business.OrderDetail#getOrder Order}'. - * + * Returns the value of the 'Order Details' containment reference list. The list contents are of type + * {@link org.gastro.business.OrderDetail}. It is bidirectional and its opposite is ' + * {@link org.gastro.business.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.gastro.business.BusinessPackage#getOrder_OrderDetails() * @see org.gastro.business.OrderDetail#getOrder @@ -110,12 +112,12 @@ public interface Order extends CDOObject EList* If the meaning of the 'Number' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'Number' attribute. * @see #setNumber(int) * @see org.gastro.business.BusinessPackage#getOrder_Number() @@ -125,10 +127,11 @@ public interface Order extends CDOObject int getNumber(); /** - * Sets the value of the '{@link org.gastro.business.Order#getNumber Number}' attribute. - * - * @param value the new value of the 'Number' attribute. + * + * @param value + * the new value of the 'Number' attribute. * @see #getNumber() * @generated */ diff --git a/plugins/org.gastro.business/src/org/gastro/business/OrderDetail.java b/plugins/org.gastro.business/src/org/gastro/business/OrderDetail.java index eca25a202e..1cf4c33730 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/OrderDetail.java +++ b/plugins/org.gastro.business/src/org/gastro/business/OrderDetail.java @@ -19,18 +19,17 @@ import org.gastro.inventory.Offering; /** * A representation of the model object 'Order Detail'. - * ** The following features are supported: *
* If the meaning of the 'Order' container reference isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Order' container reference. * @see #setOrder(Order) * @see org.gastro.business.BusinessPackage#getOrderDetail_Order() @@ -68,13 +67,13 @@ public interface OrderDetail extends CDOObject void setOrder(Order value); /** - * Returns the value of the 'Offering' reference. - * + * Returns the value of the 'Offering' reference. ** If the meaning of the 'Offering' reference isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Offering' reference. * @see #setOffering(Offering) * @see org.gastro.business.BusinessPackage#getOrderDetail_Offering() @@ -95,13 +94,13 @@ public interface OrderDetail extends CDOObject void setOffering(Offering value); /** - * Returns the value of the 'Quantity' attribute. - * + * Returns the value of the 'Quantity' attribute. ** If the meaning of the 'Quantity' attribute isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Quantity' attribute. * @see #setQuantity(int) * @see org.gastro.business.BusinessPackage#getOrderDetail_Quantity() @@ -122,13 +121,13 @@ public interface OrderDetail extends CDOObject void setQuantity(int value); /** - * Returns the value of the 'State' attribute. - * The literals are from the enumeration {@link org.gastro.business.OrderState}. - * + * Returns the value of the 'State' attribute. The literals are from the enumeration + * {@link org.gastro.business.OrderState}. ** If the meaning of the 'State' attribute isn't clear, there really should be more of a description here... *
* + * * @return the value of the 'State' attribute. * @see org.gastro.business.OrderState * @see #setState(OrderState) @@ -151,12 +150,12 @@ public interface OrderDetail extends CDOObject void setState(OrderState 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 org.gastro.business.BusinessPackage#getOrderDetail_Price() * @model transient="true" changeable="false" volatile="true" derived="true" diff --git a/plugins/org.gastro.business/src/org/gastro/business/OrderState.java b/plugins/org.gastro.business/src/org/gastro/business/OrderState.java index 7d34fabe88..68982612e3 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/OrderState.java +++ b/plugins/org.gastro.business/src/org/gastro/business/OrderState.java @@ -22,6 +22,7 @@ import java.util.List; /** * A representation of the literals of the enumeration 'Order State', and * utility methods for working with them. + * * @see org.gastro.business.BusinessPackage#getOrderState() * @model * @generated @@ -29,8 +30,8 @@ import java.util.List; public enum OrderState implements Enumerator { /** - * The 'Ordered' literal object. - * + * The 'Ordered' literal object. + * * @see #ORDERED_VALUE * @generated * @ordered @@ -38,8 +39,8 @@ public enum OrderState implements Enumerator ORDERED(0, "Ordered", "Ordered"), /** - * The 'Acknowledged' literal object. - * + * The 'Acknowledged' literal object. + * * @see #ACKNOWLEDGED_VALUE * @generated * @ordered @@ -47,8 +48,8 @@ public enum OrderState implements Enumerator ACKNOWLEDGED(2, "Acknowledged", "Acknowledged"), /** - * The 'Prepared' literal object. - * + * The 'Prepared' literal object. + * * @see #PREPARED_VALUE * @generated * @ordered @@ -56,8 +57,8 @@ public enum OrderState implements Enumerator PREPARED(1, "Prepared", "Prepared"), /** - * The 'Served' literal object. - * + * The 'Served' literal object. + * * @see #SERVED_VALUE * @generated * @ordered @@ -65,8 +66,8 @@ public enum OrderState implements Enumerator SERVED(3, "Served", "Served"), /** - * The 'Paid' literal object. - * + * The 'Paid' literal object. + * * @see #PAID_VALUE * @generated * @ordered @@ -74,13 +75,13 @@ public enum OrderState implements Enumerator PAID(4, "Paid", "Paid"); /** - * The 'Ordered' literal value. - * + * The 'Ordered' literal value. ** If the meaning of 'Ordered' literal object isn't clear, there really should be more of a * description here... *
* + * * @see #ORDERED * @model name="Ordered" * @generated @@ -89,13 +90,13 @@ public enum OrderState implements Enumerator public static final int ORDERED_VALUE = 0; /** - * The 'Acknowledged' literal value. - * + * The 'Acknowledged' literal value. ** If the meaning of 'Acknowledged' literal object isn't clear, there really should be more of a * description here... *
* + * * @see #ACKNOWLEDGED * @model name="Acknowledged" * @generated @@ -104,13 +105,13 @@ public enum OrderState implements Enumerator public static final int ACKNOWLEDGED_VALUE = 2; /** - * The 'Prepared' literal value. - * + * The 'Prepared' literal value. ** If the meaning of 'Prepared' literal object isn't clear, there really should be more of a * description here... *
* + * * @see #PREPARED * @model name="Prepared" * @generated @@ -119,13 +120,13 @@ public enum OrderState implements Enumerator public static final int PREPARED_VALUE = 1; /** - * The 'Served' literal value. - * + * The 'Served' literal value. ** If the meaning of 'Served' literal object isn't clear, there really should be more of a description * here... *
* + * * @see #SERVED * @model name="Served" * @generated @@ -134,13 +135,13 @@ public enum OrderState implements Enumerator public static final int SERVED_VALUE = 3; /** - * The 'Paid' literal value. - * + * The 'Paid' literal value. ** If the meaning of 'Paid' literal object isn't clear, there really should be more of a description * here... *
* + * * @see #PAID * @model name="Paid" * @generated @@ -149,24 +150,24 @@ public enum OrderState implements Enumerator public static final int PAID_VALUE = 4; /** - * An array of all the 'Order State' enumerators. - * + * An array of all the 'Order State' enumerators. + * * @generated */ private static final OrderState[] VALUES_ARRAY = new OrderState[] { ORDERED, ACKNOWLEDGED, PREPARED, SERVED, PAID, }; /** - * A public read-only list of all the 'Order State' enumerators. - * + * * @generated */ public static final List* The following features are supported: *
* If the meaning of the 'Business Day' container reference isn't clear, there really should be more of a * description here... *
* + * * @return the value of the 'Business Day' container reference. * @see #setBusinessDay(BusinessDay) * @see org.gastro.business.BusinessPackage#getWaiter_BusinessDay() @@ -62,23 +61,25 @@ public interface Waiter extends CDOObject BusinessDay getBusinessDay(); /** - * Sets the value of the '{@link org.gastro.business.Waiter#getBusinessDay Business Day}' container reference. - * - * @param value the new value of the 'Business Day' container reference. + * Sets the value of the '{@link org.gastro.business.Waiter#getBusinessDay Business Day}' container + * reference. + * + * @param value + * the new value of the 'Business Day' container reference. * @see #getBusinessDay() * @generated */ void setBusinessDay(BusinessDay value); /** - * Returns the value of the 'Tables' reference list. - * The list contents are of type {@link org.gastro.inventory.Table}. - * + * Returns the value of the 'Tables' reference list. The list contents are of type + * {@link org.gastro.inventory.Table}. ** If the meaning of the 'Tables' reference list isn't clear, there really should be more of a description * here... *
* + * * @return the value of the 'Tables' reference list. * @see org.gastro.business.BusinessPackage#getWaiter_Tables() * @model @@ -87,13 +88,13 @@ public interface Waiter extends CDOObject EList