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

*

- * + * * @see org.gastro.business.BusinessPackage#getBusinessDay() * @model * @extends CDOObject @@ -43,12 +42,12 @@ import java.util.Date; public interface BusinessDay extends CDOObject { /** - * 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.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 getOrders(); /** - * Returns the value of the 'Waiters' containment reference list. - * The list contents are of type {@link org.gastro.business.Waiter}. - * It is bidirectional and its opposite is '{@link org.gastro.business.Waiter#getBusinessDay Business Day}'. - * + * Returns the value of the 'Waiters' containment reference list. The list contents are of type + * {@link org.gastro.business.Waiter}. It is bidirectional and its opposite is ' + * {@link org.gastro.business.Waiter#getBusinessDay Business Day}'. *

* 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 getWaiters(); /** - * Returns the value of the 'Closed' attribute. - * + * Returns the value of the 'Closed' attribute. *

* 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; *
  • and each data type
  • * * + * * @see org.gastro.business.BusinessFactory * @model kind="package" * @generated @@ -35,29 +36,29 @@ import org.eclipse.emf.ecore.EReference; public interface BusinessPackage extends EPackage { /** - * The package name. - * + * The package name. + * * @generated */ String eNAME = "business"; /** - * The package namespace URI. - * + * The package namespace URI. + * * @generated */ String eNS_URI = "http://www.gastro.org/business/1.0"; /** - * The package namespace name. - * + * The package namespace name. + * * @generated */ String eNS_PREFIX = "business"; /** - * The singleton instance of the package. - * + * The singleton instance of the package. + * * @generated */ BusinessPackage eINSTANCE = org.gastro.business.impl.BusinessPackageImpl.init(); @@ -73,59 +74,59 @@ public interface BusinessPackage extends EPackage int BUSINESS_DAY = 0; /** - * The feature id for the 'Date' attribute. - * + * The feature id for the 'Date' attribute. + * * @generated * @ordered */ int BUSINESS_DAY__DATE = 0; /** - * The feature id for the 'Menu Card' reference. - * + * The feature id for the 'Menu Card' reference. + * * @generated * @ordered */ int BUSINESS_DAY__MENU_CARD = 1; /** - * The feature id for the 'Orders' containment reference list. - * + * * @generated * @ordered */ int BUSINESS_DAY__ORDERS = 2; /** - * The feature id for the 'Waiters' containment reference list. - * + * * @generated * @ordered */ int BUSINESS_DAY__WAITERS = 3; /** - * The feature id for the 'Closed' attribute. - * + * The feature id for the 'Closed' attribute. + * * @generated * @ordered */ int BUSINESS_DAY__CLOSED = 4; /** - * The number of structural features of the 'Day' class. - * + * The number of structural features of the 'Day' class. + * * @generated * @ordered */ int BUSINESS_DAY_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.gastro.business.impl.OrderImpl Order}' class. - * + * * @see org.gastro.business.impl.OrderImpl * @see org.gastro.business.impl.BusinessPackageImpl#getOrder() * @generated @@ -133,42 +134,42 @@ public interface BusinessPackage extends EPackage int ORDER = 1; /** - * The feature id for the 'Business Day' container reference. - * + * * @generated * @ordered */ int ORDER__BUSINESS_DAY = 0; /** - * The feature id for the 'Table' reference. - * + * The feature id for the 'Table' reference. + * * @generated * @ordered */ int ORDER__TABLE = 1; /** - * The feature id for the 'Order Details' containment reference list. - * + * * @generated * @ordered */ int ORDER__ORDER_DETAILS = 2; /** - * The feature id for the 'Number' attribute. - * + * The feature id for the 'Number' attribute. + * * @generated * @ordered */ int ORDER__NUMBER = 3; /** - * The number of structural features of the 'Order' class. - * + * The number of structural features of the 'Order' class. + * * @generated * @ordered */ @@ -185,40 +186,40 @@ public interface BusinessPackage extends EPackage int ORDER_DETAIL = 2; /** - * 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 'Offering' reference. - * + * The feature id for the 'Offering' reference. + * * @generated * @ordered */ int ORDER_DETAIL__OFFERING = 1; /** - * The feature id for the 'Quantity' attribute. - * + * The feature id for the 'Quantity' attribute. + * * @generated * @ordered */ int ORDER_DETAIL__QUANTITY = 2; /** - * The feature id for the 'State' attribute. - * + * The feature id for the 'State' attribute. + * * @generated * @ordered */ int ORDER_DETAIL__STATE = 3; /** - * The feature id for the 'Price' attribute. - * + * The feature id for the 'Price' attribute. + * * @generated * @ordered */ @@ -234,9 +235,9 @@ public interface BusinessPackage extends EPackage int ORDER_DETAIL_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.gastro.business.impl.WaiterImpl Waiter}' class. - * + * * @see org.gastro.business.impl.WaiterImpl * @see org.gastro.business.impl.BusinessPackageImpl#getWaiter() * @generated @@ -244,58 +245,58 @@ public interface BusinessPackage extends EPackage int WAITER = 3; /** - * The feature id for the 'Business Day' container reference. - * + * * @generated * @ordered */ int WAITER__BUSINESS_DAY = 0; /** - * The feature id for the 'Tables' reference list. - * + * The feature id for the 'Tables' reference list. + * * @generated * @ordered */ int WAITER__TABLES = 1; /** - * The feature id for the 'Employee' reference. - * + * The feature id for the 'Employee' reference. + * * @generated * @ordered */ int WAITER__EMPLOYEE = 2; /** - * The feature id for the 'From' attribute. - * + * The feature id for the 'From' attribute. + * * @generated * @ordered */ int WAITER__FROM = 3; /** - * The feature id for the 'Until' attribute. - * + * The feature id for the 'Until' attribute. + * * @generated * @ordered */ int WAITER__UNTIL = 4; /** - * The number of structural features of the 'Waiter' class. - * + * The number of structural features of the 'Waiter' class. + * * @generated * @ordered */ int WAITER_FEATURE_COUNT = 5; /** - * The meta object id for the '{@link org.gastro.business.OrderState Order State}' enum. - * + * * @see org.gastro.business.OrderState * @see org.gastro.business.impl.BusinessPackageImpl#getOrderState() * @generated @@ -303,9 +304,9 @@ public interface BusinessPackage extends EPackage int ORDER_STATE = 4; /** - * Returns the meta object for class '{@link org.gastro.business.BusinessDay Day}'. - * + * Returns the meta object for class '{@link org.gastro.business.BusinessDay Day}'. * + * * @return the meta object for class 'Day'. * @see org.gastro.business.BusinessDay * @generated @@ -326,6 +327,7 @@ public interface BusinessPackage extends EPackage /** * Returns the meta object for the reference '{@link org.gastro.business.BusinessDay#getMenuCard Menu Card}'. * + * * @return the meta object for the reference 'Menu Card'. * @see org.gastro.business.BusinessDay#getMenuCard() * @see #getBusinessDay() @@ -334,8 +336,9 @@ public interface BusinessPackage extends EPackage EReference getBusinessDay_MenuCard(); /** - * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getOrders Orders}'. - * + * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getOrders + * Orders}'. + * * @return the meta object for the containment reference list 'Orders'. * @see org.gastro.business.BusinessDay#getOrders() * @see #getBusinessDay() @@ -344,8 +347,9 @@ public interface BusinessPackage extends EPackage EReference getBusinessDay_Orders(); /** - * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getWaiters Waiters}'. - * + * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getWaiters + * Waiters}'. + * * @return the meta object for the containment reference list 'Waiters'. * @see org.gastro.business.BusinessDay#getWaiters() * @see #getBusinessDay() @@ -365,9 +369,9 @@ public interface BusinessPackage extends EPackage EAttribute getBusinessDay_Closed(); /** - * Returns the meta object for class '{@link org.gastro.business.Order Order}'. - * + * * @return the meta object for class 'Order'. * @see org.gastro.business.Order * @generated @@ -375,8 +379,9 @@ public interface BusinessPackage extends EPackage EClass getOrder(); /** - * Returns the meta object for the container reference '{@link org.gastro.business.Order#getBusinessDay Business Day}'. - * + * Returns the meta object for the container reference '{@link org.gastro.business.Order#getBusinessDay + * Business Day}'. + * * @return the meta object for the container reference 'Business Day'. * @see org.gastro.business.Order#getBusinessDay() * @see #getOrder() @@ -396,8 +401,9 @@ public interface BusinessPackage extends EPackage EReference getOrder_Table(); /** - * Returns the meta object for the containment reference list '{@link org.gastro.business.Order#getOrderDetails Order Details}'. - * + * Returns the meta object for the containment reference list '{@link org.gastro.business.Order#getOrderDetails + * Order Details}'. + * * @return the meta object for the containment reference list 'Order Details'. * @see org.gastro.business.Order#getOrderDetails() * @see #getOrder() @@ -427,8 +433,9 @@ public interface BusinessPackage extends EPackage EClass getOrderDetail(); /** - * Returns the meta object for the container reference '{@link org.gastro.business.OrderDetail#getOrder Order}'. - * + * Returns the meta object for the container reference '{@link org.gastro.business.OrderDetail#getOrder + * Order}'. + * * @return the meta object for the container reference 'Order'. * @see org.gastro.business.OrderDetail#getOrder() * @see #getOrderDetail() @@ -439,6 +446,7 @@ public interface BusinessPackage extends EPackage /** * Returns the meta object for the reference '{@link org.gastro.business.OrderDetail#getOffering Offering}'. * + * * @return the meta object for the reference 'Offering'. * @see org.gastro.business.OrderDetail#getOffering() * @see #getOrderDetail() @@ -449,6 +457,7 @@ public interface BusinessPackage extends EPackage /** * Returns the meta object for the attribute '{@link org.gastro.business.OrderDetail#getQuantity Quantity}'. * + * * @return the meta object for the attribute 'Quantity'. * @see org.gastro.business.OrderDetail#getQuantity() * @see #getOrderDetail() @@ -479,9 +488,9 @@ public interface BusinessPackage extends EPackage EAttribute getOrderDetail_Price(); /** - * Returns the meta object for class '{@link org.gastro.business.Waiter Waiter}'. - * + * Returns the meta object for class '{@link org.gastro.business.Waiter Waiter}'. * + * * @return the meta object for class 'Waiter'. * @see org.gastro.business.Waiter * @generated @@ -489,8 +498,9 @@ public interface BusinessPackage extends EPackage EClass getWaiter(); /** - * Returns the meta object for the container reference '{@link org.gastro.business.Waiter#getBusinessDay Business Day}'. - * + * Returns the meta object for the container reference '{@link org.gastro.business.Waiter#getBusinessDay + * Business Day}'. + * * @return the meta object for the container reference 'Business Day'. * @see org.gastro.business.Waiter#getBusinessDay() * @see #getWaiter() @@ -543,9 +553,9 @@ public interface BusinessPackage extends EPackage EAttribute getWaiter_Until(); /** - * Returns the meta object for enum '{@link org.gastro.business.OrderState Order State}'. - * + * * @return the meta object for enum 'Order State'. * @see org.gastro.business.OrderState * @generated @@ -553,8 +563,8 @@ public interface BusinessPackage extends EPackage EEnum getOrderState(); /** - * 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 */ @@ -569,6 +579,7 @@ public interface BusinessPackage extends EPackage *
  • and each data type
  • * * + * * @generated */ interface Literals @@ -584,41 +595,41 @@ public interface BusinessPackage extends EPackage EClass BUSINESS_DAY = eINSTANCE.getBusinessDay(); /** - * The meta object literal for the 'Date' attribute feature. - * + * * @generated */ EAttribute BUSINESS_DAY__DATE = eINSTANCE.getBusinessDay_Date(); /** - * The meta object literal for the 'Menu Card' reference feature. - * + * * @generated */ EReference BUSINESS_DAY__MENU_CARD = eINSTANCE.getBusinessDay_MenuCard(); /** - * The meta object literal for the 'Orders' containment reference list feature. - * + * * @generated */ EReference BUSINESS_DAY__ORDERS = eINSTANCE.getBusinessDay_Orders(); /** - * The meta object literal for the 'Waiters' containment reference list feature. - * + * * @generated */ EReference BUSINESS_DAY__WAITERS = eINSTANCE.getBusinessDay_Waiters(); /** - * The meta object literal for the 'Closed' attribute feature. - * + * * @generated */ EAttribute BUSINESS_DAY__CLOSED = eINSTANCE.getBusinessDay_Closed(); @@ -634,17 +645,17 @@ public interface BusinessPackage extends EPackage EClass ORDER = eINSTANCE.getOrder(); /** - * The meta object literal for the 'Business Day' container reference feature. - * + * * @generated */ EReference ORDER__BUSINESS_DAY = eINSTANCE.getOrder_BusinessDay(); /** - * The meta object literal for the 'Table' reference feature. - * + * * @generated */ EReference ORDER__TABLE = eINSTANCE.getOrder_Table(); @@ -658,9 +669,9 @@ public interface BusinessPackage extends EPackage EReference ORDER__ORDER_DETAILS = eINSTANCE.getOrder_OrderDetails(); /** - * The meta object literal for the 'Number' attribute feature. - * + * * @generated */ EAttribute ORDER__NUMBER = eINSTANCE.getOrder_Number(); @@ -668,6 +679,7 @@ public interface BusinessPackage extends EPackage /** * The meta object literal for the '{@link org.gastro.business.impl.OrderDetailImpl Order Detail}' class. * + * * @see org.gastro.business.impl.OrderDetailImpl * @see org.gastro.business.impl.BusinessPackageImpl#getOrderDetail() * @generated @@ -675,41 +687,41 @@ public interface BusinessPackage 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 'Offering' reference feature. - * + * * @generated */ EReference ORDER_DETAIL__OFFERING = eINSTANCE.getOrderDetail_Offering(); /** - * The meta object literal for the 'Quantity' attribute feature. - * + * * @generated */ EAttribute ORDER_DETAIL__QUANTITY = eINSTANCE.getOrderDetail_Quantity(); /** - * The meta object literal for the 'State' attribute feature. - * + * * @generated */ EAttribute ORDER_DETAIL__STATE = eINSTANCE.getOrderDetail_State(); /** - * The meta object literal for the 'Price' attribute feature. - * + * * @generated */ EAttribute ORDER_DETAIL__PRICE = eINSTANCE.getOrderDetail_Price(); @@ -725,41 +737,41 @@ public interface BusinessPackage extends EPackage EClass WAITER = eINSTANCE.getWaiter(); /** - * The meta object literal for the 'Business Day' container reference feature. - * + * * @generated */ EReference WAITER__BUSINESS_DAY = eINSTANCE.getWaiter_BusinessDay(); /** - * The meta object literal for the 'Tables' reference list feature. - * + * * @generated */ EReference WAITER__TABLES = eINSTANCE.getWaiter_Tables(); /** - * The meta object literal for the 'Employee' reference feature. - * + * * @generated */ EReference WAITER__EMPLOYEE = eINSTANCE.getWaiter_Employee(); /** - * The meta object literal for the 'From' attribute feature. - * + * * @generated */ EAttribute WAITER__FROM = eINSTANCE.getWaiter_From(); /** - * The meta object literal for the 'Until' attribute feature. - * + * * @generated */ EAttribute WAITER__UNTIL = eINSTANCE.getWaiter_Until(); diff --git a/plugins/org.gastro.business/src/org/gastro/business/Order.java b/plugins/org.gastro.business/src/org/gastro/business/Order.java index 35e23a1404..2da763af41 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/Order.java +++ b/plugins/org.gastro.business/src/org/gastro/business/Order.java @@ -21,17 +21,16 @@ import org.gastro.inventory.Table; /** * A representation of the model object 'Order'. - * *

    * The following features are supported: *

    *

    - * + * * @see org.gastro.business.BusinessPackage#getOrder() * @model * @extends CDOObject @@ -40,14 +39,14 @@ import org.gastro.inventory.Table; public interface Order extends CDOObject { /** - * Returns the value of the 'Business Day' container reference. - * It is bidirectional and its opposite is '{@link org.gastro.business.BusinessDay#getOrders Orders}'. - * + * Returns the value of the 'Business Day' container reference. It is bidirectional and its opposite + * is '{@link org.gastro.business.BusinessDay#getOrders Orders}'. *

    * 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 getOrderDetails(); /** - * Returns the value of the 'Number' attribute. - * + * Returns the value of the 'Number' attribute. *

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

      - *
    • {@link org.gastro.business.OrderDetail#getOrder Order}
    • - *
    • {@link org.gastro.business.OrderDetail#getOffering Offering}
    • - *
    • {@link org.gastro.business.OrderDetail#getQuantity Quantity}
    • - *
    • {@link org.gastro.business.OrderDetail#getState State}
    • - *
    • {@link org.gastro.business.OrderDetail#getPrice Price}
    • + *
    • {@link org.gastro.business.OrderDetail#getOrder Order}
    • + *
    • {@link org.gastro.business.OrderDetail#getOffering Offering}
    • + *
    • {@link org.gastro.business.OrderDetail#getQuantity Quantity}
    • + *
    • {@link org.gastro.business.OrderDetail#getState State}
    • + *
    • {@link org.gastro.business.OrderDetail#getPrice Price}
    • *
    *

    - * + * * @see org.gastro.business.BusinessPackage#getOrderDetail() * @model * @extends CDOObject @@ -39,14 +38,14 @@ import org.gastro.inventory.Offering; public interface OrderDetail extends CDOObject { /** - * Returns the value of the 'Order' container reference. - * It is bidirectional and its opposite is '{@link org.gastro.business.Order#getOrderDetails Order Details}'. - * + * Returns the value of the 'Order' container reference. It is bidirectional and its opposite is ' + * {@link org.gastro.business.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.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 VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); /** - * Returns the 'Order State' literal with the specified literal value. - * + * * @generated */ public static OrderState get(String literal) @@ -183,9 +184,9 @@ public enum OrderState implements Enumerator } /** - * Returns the 'Order State' literal with the specified name. - * + * * @generated */ public static OrderState getByName(String name) @@ -202,9 +203,9 @@ public enum OrderState implements Enumerator } /** - * Returns the 'Order State' literal with the specified integer value. - * + * * @generated */ public static OrderState get(int value) @@ -227,25 +228,28 @@ public enum OrderState 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 OrderState(int value, String name, String literal) @@ -257,6 +261,7 @@ public enum OrderState implements Enumerator /** * + * * @generated */ public int getValue() @@ -266,6 +271,7 @@ public enum OrderState implements Enumerator /** * + * * @generated */ public String getName() @@ -275,6 +281,7 @@ public enum OrderState implements Enumerator /** * + * * @generated */ public String getLiteral() @@ -283,9 +290,9 @@ public enum OrderState implements Enumerator } /** - * Returns the literal value of the enumerator, which is its string representation. - * + * * @generated */ @Override diff --git a/plugins/org.gastro.business/src/org/gastro/business/Waiter.java b/plugins/org.gastro.business/src/org/gastro/business/Waiter.java index 37fc3d22ad..17b82daf47 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/Waiter.java +++ b/plugins/org.gastro.business/src/org/gastro/business/Waiter.java @@ -24,18 +24,17 @@ import java.util.Date; /** * A representation of the model object 'Waiter'. - * *

    * The following features are supported: *

      - *
    • {@link org.gastro.business.Waiter#getBusinessDay Business Day}
    • - *
    • {@link org.gastro.business.Waiter#getTables Tables}
    • - *
    • {@link org.gastro.business.Waiter#getEmployee Employee}
    • - *
    • {@link org.gastro.business.Waiter#getFrom From}
    • - *
    • {@link org.gastro.business.Waiter#getUntil Until}
    • + *
    • {@link org.gastro.business.Waiter#getBusinessDay Business Day}
    • + *
    • {@link org.gastro.business.Waiter#getTables Tables}
    • + *
    • {@link org.gastro.business.Waiter#getEmployee Employee}
    • + *
    • {@link org.gastro.business.Waiter#getFrom From}
    • + *
    • {@link org.gastro.business.Waiter#getUntil Until}
    • *
    *

    - * + * * @see org.gastro.business.BusinessPackage#getWaiter() * @model * @extends CDOObject @@ -44,14 +43,14 @@ import java.util.Date; public interface Waiter extends CDOObject { /** - * Returns the value of the 'Business Day' container reference. - * It is bidirectional and its opposite is '{@link org.gastro.business.BusinessDay#getWaiters Waiters}'. - * + * Returns the value of the 'Business Day' container reference. It is bidirectional and its opposite + * is '{@link org.gastro.business.BusinessDay#getWaiters Waiters}'. *

    * 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 getTables(); /** - * Returns the value of the 'Employee' reference. - * + * Returns the value of the 'Employee' reference. *

    * If the meaning of the 'Employee' reference isn't clear, there really should be more of a description * here... *

    * + * * @return the value of the 'Employee' reference. * @see #setEmployee(Employee) * @see org.gastro.business.BusinessPackage#getWaiter_Employee() @@ -114,12 +115,12 @@ public interface Waiter extends CDOObject void setEmployee(Employee value); /** - * Returns the value of the 'From' attribute. - * + * Returns the value of the 'From' attribute. *

    * If the meaning of the 'From' attribute isn't clear, there really should be more of a description here... *

    * + * * @return the value of the 'From' attribute. * @see #setFrom(Date) * @see org.gastro.business.BusinessPackage#getWaiter_From() @@ -129,22 +130,23 @@ public interface Waiter extends CDOObject Date getFrom(); /** - * Sets the value of the '{@link org.gastro.business.Waiter#getFrom From}' attribute. - * + * Sets the value of the '{@link org.gastro.business.Waiter#getFrom From}' attribute. * - * @param value the new value of the 'From' attribute. + * + * @param value + * the new value of the 'From' attribute. * @see #getFrom() * @generated */ void setFrom(Date value); /** - * Returns the value of the 'Until' attribute. - * + * Returns the value of the 'Until' attribute. *

    * If the meaning of the 'Until' attribute isn't clear, there really should be more of a description here... *

    * + * * @return the value of the 'Until' attribute. * @see #setUntil(Date) * @see org.gastro.business.BusinessPackage#getWaiter_Until() @@ -154,10 +156,11 @@ public interface Waiter extends CDOObject Date getUntil(); /** - * Sets the value of the '{@link org.gastro.business.Waiter#getUntil Until}' attribute. - * - * @param value the new value of the 'Until' attribute. + * + * @param value + * the new value of the 'Until' attribute. * @see #getUntil() * @generated */ diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessDayImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessDayImpl.java index 568dd90ead..e7c548cdf9 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessDayImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessDayImpl.java @@ -31,20 +31,21 @@ import java.util.Date; *

    * The following features are implemented: *

      - *
    • {@link org.gastro.business.impl.BusinessDayImpl#getDate Date}
    • - *
    • {@link org.gastro.business.impl.BusinessDayImpl#getMenuCard Menu Card}
    • - *
    • {@link org.gastro.business.impl.BusinessDayImpl#getOrders Orders}
    • - *
    • {@link org.gastro.business.impl.BusinessDayImpl#getWaiters Waiters}
    • - *
    • {@link org.gastro.business.impl.BusinessDayImpl#isClosed Closed}
    • + *
    • {@link org.gastro.business.impl.BusinessDayImpl#getDate Date}
    • + *
    • {@link org.gastro.business.impl.BusinessDayImpl#getMenuCard Menu Card}
    • + *
    • {@link org.gastro.business.impl.BusinessDayImpl#getOrders Orders}
    • + *
    • {@link org.gastro.business.impl.BusinessDayImpl#getWaiters Waiters}
    • + *
    • {@link org.gastro.business.impl.BusinessDayImpl#isClosed Closed}
    • *
    *

    - * + * * @generated */ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay { /** * + * * @generated */ protected BusinessDayImpl() @@ -54,6 +55,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ @Override @@ -64,6 +66,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ @Override @@ -74,6 +77,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public Date getDate() @@ -83,6 +87,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public void setDate(Date newDate) @@ -92,6 +97,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public MenuCard getMenuCard() @@ -101,6 +107,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public void setMenuCard(MenuCard newMenuCard) @@ -110,6 +117,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -120,6 +128,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -130,6 +139,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public boolean isClosed() @@ -139,6 +149,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay /** * + * * @generated */ public void setClosed(boolean newClosed) diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java index 6b7a9ef2d9..2e492a81ce 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java @@ -30,13 +30,14 @@ import org.gastro.business.Waiter; /** * An implementation of the model Factory. + * * @generated */ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory { /** - * Creates the default factory implementation. - * + * Creates the default factory implementation. + * * @generated */ public static BusinessFactory init() @@ -58,8 +59,8 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory } /** - * Creates an instance of the factory. - * + * Creates an instance of the factory. + * * @generated */ public BusinessFactoryImpl() @@ -69,6 +70,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ @Override @@ -91,6 +93,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ @Override @@ -107,6 +110,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ @Override @@ -123,6 +127,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public BusinessDay createBusinessDay() @@ -133,6 +138,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public Order createOrder() @@ -143,6 +149,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public OrderDetail createOrderDetail() @@ -153,6 +160,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public Waiter createWaiter() @@ -163,6 +171,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public OrderState createOrderStateFromString(EDataType eDataType, String initialValue) @@ -176,6 +185,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public String convertOrderStateToString(EDataType eDataType, Object instanceValue) @@ -185,6 +195,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @generated */ public BusinessPackage getBusinessPackage() @@ -194,6 +205,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory /** * + * * @deprecated * @generated */ diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessPackageImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessPackageImpl.java index f097877659..d3458a4426 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessPackageImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/BusinessPackageImpl.java @@ -31,36 +31,42 @@ import org.gastro.inventory.InventoryPackage; /** * An implementation of the model Package. + * * @generated */ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage { /** * + * * @generated */ private EClass businessDayEClass = null; /** * + * * @generated */ private EClass orderEClass = null; /** * + * * @generated */ private EClass orderDetailEClass = null; /** * + * * @generated */ private EClass waiterEClass = null; /** * + * * @generated */ private EEnum orderStateEEnum = null; @@ -85,17 +91,18 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

    This method is used to initialize {@link BusinessPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * + *

    + * This method is used to initialize {@link BusinessPackage#eINSTANCE} when that field is accessed. Clients should not + * invoke it directly. Instead, they should simply access that field to obtain the package. * + * * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -132,6 +139,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EClass getBusinessDay() @@ -141,6 +149,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getBusinessDay_Date() @@ -150,6 +159,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getBusinessDay_MenuCard() @@ -159,6 +169,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getBusinessDay_Orders() @@ -168,6 +179,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getBusinessDay_Waiters() @@ -177,6 +189,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getBusinessDay_Closed() @@ -186,6 +199,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EClass getOrder() @@ -195,6 +209,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getOrder_BusinessDay() @@ -204,6 +219,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getOrder_Table() @@ -213,6 +229,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getOrder_OrderDetails() @@ -222,6 +239,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getOrder_Number() @@ -231,6 +249,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EClass getOrderDetail() @@ -240,6 +259,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getOrderDetail_Order() @@ -249,6 +269,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getOrderDetail_Offering() @@ -258,6 +279,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getOrderDetail_Quantity() @@ -267,6 +289,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getOrderDetail_State() @@ -276,6 +299,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getOrderDetail_Price() @@ -285,6 +309,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EClass getWaiter() @@ -294,6 +319,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getWaiter_BusinessDay() @@ -303,6 +329,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getWaiter_Tables() @@ -312,6 +339,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EReference getWaiter_Employee() @@ -321,6 +349,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getWaiter_From() @@ -330,6 +359,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EAttribute getWaiter_Until() @@ -339,6 +369,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public EEnum getOrderState() @@ -348,6 +379,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @generated */ public BusinessFactory getBusinessFactory() @@ -357,14 +389,15 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @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() @@ -407,14 +440,15 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage /** * + * * @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.gastro.business/src/org/gastro/business/impl/OrderDetailImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/OrderDetailImpl.java index b758873f89..a583338b14 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/OrderDetailImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/OrderDetailImpl.java @@ -28,20 +28,21 @@ import org.gastro.inventory.Offering; *

    * The following features are implemented: *

      - *
    • {@link org.gastro.business.impl.OrderDetailImpl#getOrder Order}
    • - *
    • {@link org.gastro.business.impl.OrderDetailImpl#getOffering Offering}
    • - *
    • {@link org.gastro.business.impl.OrderDetailImpl#getQuantity Quantity}
    • - *
    • {@link org.gastro.business.impl.OrderDetailImpl#getState State}
    • - *
    • {@link org.gastro.business.impl.OrderDetailImpl#getPrice Price}
    • + *
    • {@link org.gastro.business.impl.OrderDetailImpl#getOrder Order}
    • + *
    • {@link org.gastro.business.impl.OrderDetailImpl#getOffering Offering}
    • + *
    • {@link org.gastro.business.impl.OrderDetailImpl#getQuantity Quantity}
    • + *
    • {@link org.gastro.business.impl.OrderDetailImpl#getState State}
    • + *
    • {@link org.gastro.business.impl.OrderDetailImpl#getPrice Price}
    • *
    *

    - * + * * @generated */ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail { /** * + * * @generated */ protected OrderDetailImpl() @@ -51,6 +52,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ @Override @@ -61,6 +63,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ @Override @@ -71,6 +74,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public Order getOrder() @@ -80,6 +84,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setOrder(Order newOrder) @@ -89,6 +94,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public Offering getOffering() @@ -98,6 +104,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setOffering(Offering newOffering) @@ -107,6 +114,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public int getQuantity() @@ -116,6 +124,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setQuantity(int newQuantity) @@ -125,6 +134,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public OrderState getState() @@ -134,6 +144,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail /** * + * * @generated */ public void setState(OrderState newState) diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/OrderImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/OrderImpl.java index db17d921f9..68f646a48d 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/OrderImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/OrderImpl.java @@ -29,19 +29,20 @@ import org.gastro.inventory.Table; *

    * The following features are implemented: *

      - *
    • {@link org.gastro.business.impl.OrderImpl#getBusinessDay Business Day}
    • - *
    • {@link org.gastro.business.impl.OrderImpl#getTable Table}
    • - *
    • {@link org.gastro.business.impl.OrderImpl#getOrderDetails Order Details}
    • - *
    • {@link org.gastro.business.impl.OrderImpl#getNumber Number}
    • + *
    • {@link org.gastro.business.impl.OrderImpl#getBusinessDay Business Day}
    • + *
    • {@link org.gastro.business.impl.OrderImpl#getTable Table}
    • + *
    • {@link org.gastro.business.impl.OrderImpl#getOrderDetails Order Details}
    • + *
    • {@link org.gastro.business.impl.OrderImpl#getNumber Number}
    • *
    *

    - * + * * @generated */ public class OrderImpl extends CDOObjectImpl implements Order { /** * + * * @generated */ protected OrderImpl() @@ -51,6 +52,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @Override @@ -61,6 +63,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @Override @@ -71,6 +74,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public BusinessDay getBusinessDay() @@ -80,6 +84,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public void setBusinessDay(BusinessDay newBusinessDay) @@ -89,6 +94,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public Table getTable() @@ -98,6 +104,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public void setTable(Table newTable) @@ -107,6 +114,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -117,6 +125,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public int getNumber() @@ -126,6 +135,7 @@ public class OrderImpl extends CDOObjectImpl implements Order /** * + * * @generated */ public void setNumber(int newNumber) diff --git a/plugins/org.gastro.business/src/org/gastro/business/impl/WaiterImpl.java b/plugins/org.gastro.business/src/org/gastro/business/impl/WaiterImpl.java index 453d1a6e36..475c3c942f 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/impl/WaiterImpl.java +++ b/plugins/org.gastro.business/src/org/gastro/business/impl/WaiterImpl.java @@ -31,20 +31,21 @@ import java.util.Date; *

    * The following features are implemented: *

      - *
    • {@link org.gastro.business.impl.WaiterImpl#getBusinessDay Business Day}
    • - *
    • {@link org.gastro.business.impl.WaiterImpl#getTables Tables}
    • - *
    • {@link org.gastro.business.impl.WaiterImpl#getEmployee Employee}
    • - *
    • {@link org.gastro.business.impl.WaiterImpl#getFrom From}
    • - *
    • {@link org.gastro.business.impl.WaiterImpl#getUntil Until}
    • + *
    • {@link org.gastro.business.impl.WaiterImpl#getBusinessDay Business Day}
    • + *
    • {@link org.gastro.business.impl.WaiterImpl#getTables Tables}
    • + *
    • {@link org.gastro.business.impl.WaiterImpl#getEmployee Employee}
    • + *
    • {@link org.gastro.business.impl.WaiterImpl#getFrom From}
    • + *
    • {@link org.gastro.business.impl.WaiterImpl#getUntil Until}
    • *
    *

    - * + * * @generated */ public class WaiterImpl extends CDOObjectImpl implements Waiter { /** * + * * @generated */ protected WaiterImpl() @@ -54,6 +55,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ @Override @@ -64,6 +66,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ @Override @@ -74,6 +77,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public BusinessDay getBusinessDay() @@ -83,6 +87,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public void setBusinessDay(BusinessDay newBusinessDay) @@ -92,6 +97,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ @SuppressWarnings("unchecked") @@ -102,6 +108,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public Employee getEmployee() @@ -111,6 +118,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public void setEmployee(Employee newEmployee) @@ -120,6 +128,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public Date getFrom() @@ -129,6 +138,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public void setFrom(Date newFrom) @@ -138,6 +148,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public Date getUntil() @@ -147,6 +158,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter /** * + * * @generated */ public void setUntil(Date newUntil) diff --git a/plugins/org.gastro.business/src/org/gastro/business/util/BusinessAdapterFactory.java b/plugins/org.gastro.business/src/org/gastro/business/util/BusinessAdapterFactory.java index e869489a4e..d412270355 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/util/BusinessAdapterFactory.java +++ b/plugins/org.gastro.business/src/org/gastro/business/util/BusinessAdapterFactory.java @@ -27,21 +27,22 @@ import org.gastro.business.Waiter; /** * The Adapter Factory for the model. It provides an adapter createXXX * method for each class of the model. + * * @see org.gastro.business.BusinessPackage * @generated */ public class BusinessAdapterFactory extends AdapterFactoryImpl { /** - * The cached model package. - * + * The cached model package. + * * @generated */ protected static BusinessPackage modelPackage; /** - * Creates an instance of the adapter factory. - * + * Creates an instance of the adapter factory. + * * @generated */ public BusinessAdapterFactory() @@ -53,10 +54,10 @@ public class BusinessAdapterFactory 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 BusinessAdapterFactory extends AdapterFactoryImpl } /** - * The switch that delegates to the createXXX methods. - * + * The switch that delegates to the createXXX methods. + * * @generated */ protected BusinessSwitch modelSwitch = new BusinessSwitch() @@ -113,9 +114,10 @@ public class BusinessAdapterFactory 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 */ @@ -182,9 +184,9 @@ public class BusinessAdapterFactory 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.gastro.business/src/org/gastro/business/util/BusinessSwitch.java b/plugins/org.gastro.business/src/org/gastro/business/util/BusinessSwitch.java index 431d412822..82697d1cc0 100644 --- a/plugins/org.gastro.business/src/org/gastro/business/util/BusinessSwitch.java +++ b/plugins/org.gastro.business/src/org/gastro/business/util/BusinessSwitch.java @@ -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.gastro.business.BusinessPackage * @generated */ public class BusinessSwitch { /** - * The cached model package - * + * The cached model package + * * @generated */ protected static BusinessPackage modelPackage; /** - * Creates an instance of the switch. - * + * Creates an instance of the switch. + * * @generated */ public BusinessSwitch() @@ -57,6 +58,7 @@ public class BusinessSwitch /** * 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 BusinessSwitch /** * 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 BusinessSwitch /** * 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 */ @@ -132,10 +136,11 @@ public class BusinessSwitch } /** - * Returns the result of interpreting the object as an instance of 'Day'. - * This + * Returns the result of interpreting the object as an instance of 'Day'. 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 'Day'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -146,10 +151,11 @@ public class BusinessSwitch } /** - * 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 @@ -160,10 +166,11 @@ public class BusinessSwitch } /** - * 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 @@ -174,10 +181,11 @@ public class BusinessSwitch } /** - * Returns the result of interpreting the object as an instance of 'Waiter'. - * This + * Returns the result of interpreting the object as an instance of 'Waiter'. 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 'Waiter'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -188,11 +196,12 @@ public class BusinessSwitch } /** - * 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