Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2009-08-22 09:35:38 +0000
committerEike Stepper2009-08-22 09:35:38 +0000
commit13be6d40d57b13019cb7e880b7148e4c81b91763 (patch)
treeb19db1b35c7b450c3cde7ad8e8e59d381b13e08f /plugins/org.gastro.business
parent3457f7cac3d02a18c4b5b16b5e0b68e7f2d9e885 (diff)
downloadcdo-13be6d40d57b13019cb7e880b7148e4c81b91763.tar.gz
cdo-13be6d40d57b13019cb7e880b7148e4c81b91763.tar.xz
cdo-13be6d40d57b13019cb7e880b7148e4c81b91763.zip
regenerated all models
Diffstat (limited to 'plugins/org.gastro.business')
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/BusinessDay.java41
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/BusinessFactory.java25
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/BusinessPackage.java244
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/Order.java51
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/OrderDetail.java37
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/OrderState.java75
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/Waiter.java59
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/BusinessDayImpl.java23
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/BusinessFactoryImpl.java20
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/BusinessPackageImpl.java54
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/OrderDetailImpl.java23
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/OrderImpl.java20
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/impl/WaiterImpl.java24
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/util/BusinessAdapterFactory.java28
-rw-r--r--plugins/org.gastro.business/src/org/gastro/business/util/BusinessSwitch.java47
15 files changed, 448 insertions, 323 deletions
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;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Day</b></em>'. <!-- end-user-doc -->
- *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.gastro.business.BusinessDay#getDate <em>Date</em>}</li>
- * <li>{@link org.gastro.business.BusinessDay#getMenuCard <em>Menu Card</em>}</li>
- * <li>{@link org.gastro.business.BusinessDay#getOrders <em>Orders</em>}</li>
- * <li>{@link org.gastro.business.BusinessDay#getWaiters <em>Waiters</em>}</li>
- * <li>{@link org.gastro.business.BusinessDay#isClosed <em>Closed</em>}</li>
+ * <li>{@link org.gastro.business.BusinessDay#getDate <em>Date</em>}</li>
+ * <li>{@link org.gastro.business.BusinessDay#getMenuCard <em>Menu Card</em>}</li>
+ * <li>{@link org.gastro.business.BusinessDay#getOrders <em>Orders</em>}</li>
+ * <li>{@link org.gastro.business.BusinessDay#getWaiters <em>Waiters</em>}</li>
+ * <li>{@link org.gastro.business.BusinessDay#isClosed <em>Closed</em>}</li>
* </ul>
* </p>
- *
+ *
* @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 '<em><b>Date</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Date</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Date</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Date</em>' 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 '<em><b>Menu Card</b></em>' reference.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Menu Card</b></em>' reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Menu Card</em>' reference isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Menu Card</em>' 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 '<em><b>Orders</b></em>' 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 <em>Business Day</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Orders</b></em>' 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 <em>Business Day</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Orders</em>' containment reference list isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Orders</em>' 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<Order> getOrders();
/**
- * Returns the value of the '<em><b>Waiters</b></em>' 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 <em>Business Day</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Waiters</b></em>' 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 <em>Business Day</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Waiters</em>' containment reference list isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Waiters</em>' 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<Waiter> getWaiters();
/**
- * Returns the value of the '<em><b>Closed</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Closed</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Closed</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Closed</em>' 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;
/**
* <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
* the model. <!-- end-user-doc -->
+ *
* @see org.gastro.business.BusinessPackage
* @generated
*/
public interface BusinessFactory extends EFactory
{
/**
- * The singleton instance of the factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
BusinessFactory eINSTANCE = org.gastro.business.impl.BusinessFactoryImpl.init();
/**
- * Returns a new object of class '<em>Day</em>'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns a new object of class '<em>Day</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Day</em>'.
* @generated
*/
BusinessDay createBusinessDay();
/**
- * Returns a new object of class '<em>Order</em>'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns a new object of class '<em>Order</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Order</em>'.
* @generated
*/
Order createOrder();
/**
- * Returns a new object of class '<em>Order Detail</em>'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns a new object of class '<em>Order Detail</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Order Detail</em>'.
* @generated
*/
OrderDetail createOrderDetail();
/**
- * Returns a new object of class '<em>Waiter</em>'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns a new object of class '<em>Waiter</em>'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return a new object of class '<em>Waiter</em>'.
* @generated
*/
Waiter createWaiter();
/**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @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.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNAME = "business";
/**
- * The package namespace URI.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_URI = "http://www.gastro.org/business/1.0";
/**
- * The package namespace name.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
String eNS_PREFIX = "business";
/**
- * The singleton instance of the package.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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 '<em><b>Date</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Date</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY__DATE = 0;
/**
- * The feature id for the '<em><b>Menu Card</b></em>' reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Menu Card</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY__MENU_CARD = 1;
/**
- * The feature id for the '<em><b>Orders</b></em>' containment reference list.
- * <!-- begin-user-doc --> <!--
+ * The feature id for the '<em><b>Orders</b></em>' containment reference list. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY__ORDERS = 2;
/**
- * The feature id for the '<em><b>Waiters</b></em>' containment reference list.
- * <!-- begin-user-doc --> <!--
+ * The feature id for the '<em><b>Waiters</b></em>' containment reference list. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY__WAITERS = 3;
/**
- * The feature id for the '<em><b>Closed</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Closed</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY__CLOSED = 4;
/**
- * The number of structural features of the '<em>Day</em>' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The number of structural features of the '<em>Day</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int BUSINESS_DAY_FEATURE_COUNT = 5;
/**
- * The meta object id for the '{@link org.gastro.business.impl.OrderImpl <em>Order</em>}' class.
- * <!-- begin-user-doc
+ * The meta object id for the '{@link org.gastro.business.impl.OrderImpl <em>Order</em>}' class. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @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 '<em><b>Business Day</b></em>' container reference.
- * <!-- begin-user-doc --> <!--
+ * The feature id for the '<em><b>Business Day</b></em>' container reference. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER__BUSINESS_DAY = 0;
/**
- * The feature id for the '<em><b>Table</b></em>' reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Table</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER__TABLE = 1;
/**
- * The feature id for the '<em><b>Order Details</b></em>' containment reference list.
- * <!-- begin-user-doc --> <!--
+ * The feature id for the '<em><b>Order Details</b></em>' containment reference list. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER__ORDER_DETAILS = 2;
/**
- * The feature id for the '<em><b>Number</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Number</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER__NUMBER = 3;
/**
- * The number of structural features of the '<em>Order</em>' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The number of structural features of the '<em>Order</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
@@ -185,40 +186,40 @@ public interface BusinessPackage extends EPackage
int ORDER_DETAIL = 2;
/**
- * The feature id for the '<em><b>Order</b></em>' container reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Order</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER_DETAIL__ORDER = 0;
/**
- * The feature id for the '<em><b>Offering</b></em>' reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Offering</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER_DETAIL__OFFERING = 1;
/**
- * The feature id for the '<em><b>Quantity</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Quantity</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER_DETAIL__QUANTITY = 2;
/**
- * The feature id for the '<em><b>State</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>State</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int ORDER_DETAIL__STATE = 3;
/**
- * The feature id for the '<em><b>Price</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Price</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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 <em>Waiter</em>}' class.
- * <!-- begin-user-doc
+ * The meta object id for the '{@link org.gastro.business.impl.WaiterImpl <em>Waiter</em>}' class. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @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 '<em><b>Business Day</b></em>' container reference.
- * <!-- begin-user-doc --> <!--
+ * The feature id for the '<em><b>Business Day</b></em>' container reference. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER__BUSINESS_DAY = 0;
/**
- * The feature id for the '<em><b>Tables</b></em>' reference list.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Tables</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER__TABLES = 1;
/**
- * The feature id for the '<em><b>Employee</b></em>' reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Employee</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER__EMPLOYEE = 2;
/**
- * The feature id for the '<em><b>From</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>From</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER__FROM = 3;
/**
- * The feature id for the '<em><b>Until</b></em>' attribute.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The feature id for the '<em><b>Until</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER__UNTIL = 4;
/**
- * The number of structural features of the '<em>Waiter</em>' class.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The number of structural features of the '<em>Waiter</em>' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
* @ordered
*/
int WAITER_FEATURE_COUNT = 5;
/**
- * The meta object id for the '{@link org.gastro.business.OrderState <em>Order State</em>}' enum.
- * <!-- begin-user-doc
+ * The meta object id for the '{@link org.gastro.business.OrderState <em>Order State</em>}' enum. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @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 <em>Day</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for class '{@link org.gastro.business.BusinessDay <em>Day</em>}'. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Day</em>'.
* @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 <em>Menu Card</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Menu Card</em>'.
* @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 <em>Orders</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getOrders
+ * <em>Orders</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Orders</em>'.
* @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 <em>Waiters</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '{@link org.gastro.business.BusinessDay#getWaiters
+ * <em>Waiters</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Waiters</em>'.
* @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 <em>Order</em>}'.
- * <!-- begin-user-doc --> <!--
+ * Returns the meta object for class '{@link org.gastro.business.Order <em>Order</em>}'. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @return the meta object for class '<em>Order</em>'.
* @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 <em>Business Day</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the container reference '{@link org.gastro.business.Order#getBusinessDay
+ * <em>Business Day</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the container reference '<em>Business Day</em>'.
* @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 <em>Order Details</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the containment reference list '{@link org.gastro.business.Order#getOrderDetails
+ * <em>Order Details</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the containment reference list '<em>Order Details</em>'.
* @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 <em>Order</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the container reference '{@link org.gastro.business.OrderDetail#getOrder
+ * <em>Order</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the container reference '<em>Order</em>'.
* @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 <em>Offering</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the reference '<em>Offering</em>'.
* @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 <em>Quantity</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the attribute '<em>Quantity</em>'.
* @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 <em>Waiter</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the meta object for class '{@link org.gastro.business.Waiter <em>Waiter</em>}'. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @return the meta object for class '<em>Waiter</em>'.
* @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 <em>Business Day</em>}'.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the meta object for the container reference '{@link org.gastro.business.Waiter#getBusinessDay
+ * <em>Business Day</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the meta object for the container reference '<em>Business Day</em>'.
* @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 <em>Order State</em>}'.
- * <!-- begin-user-doc
+ * Returns the meta object for enum '{@link org.gastro.business.OrderState <em>Order State</em>}'. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @return the meta object for enum '<em>Order State</em>'.
* @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.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the factory that creates the instances of the model.
* @generated
*/
@@ -569,6 +579,7 @@ public interface BusinessPackage extends EPackage
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
+ *
* @generated
*/
interface Literals
@@ -584,41 +595,41 @@ public interface BusinessPackage extends EPackage
EClass BUSINESS_DAY = eINSTANCE.getBusinessDay();
/**
- * The meta object literal for the '<em><b>Date</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Date</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EAttribute BUSINESS_DAY__DATE = eINSTANCE.getBusinessDay_Date();
/**
- * The meta object literal for the '<em><b>Menu Card</b></em>' reference feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Menu Card</b></em>' reference feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EReference BUSINESS_DAY__MENU_CARD = eINSTANCE.getBusinessDay_MenuCard();
/**
- * The meta object literal for the '<em><b>Orders</b></em>' containment reference list feature.
- * <!-- begin-user-doc
+ * The meta object literal for the '<em><b>Orders</b></em>' containment reference list feature. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference BUSINESS_DAY__ORDERS = eINSTANCE.getBusinessDay_Orders();
/**
- * The meta object literal for the '<em><b>Waiters</b></em>' containment reference list feature.
- * <!-- begin-user-doc
+ * The meta object literal for the '<em><b>Waiters</b></em>' containment reference list feature. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference BUSINESS_DAY__WAITERS = eINSTANCE.getBusinessDay_Waiters();
/**
- * The meta object literal for the '<em><b>Closed</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Closed</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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 '<em><b>Business Day</b></em>' container reference feature.
- * <!-- begin-user-doc
+ * The meta object literal for the '<em><b>Business Day</b></em>' container reference feature. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference ORDER__BUSINESS_DAY = eINSTANCE.getOrder_BusinessDay();
/**
- * The meta object literal for the '<em><b>Table</b></em>' reference feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Table</b></em>' reference feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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 '<em><b>Number</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Number</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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 <em>Order Detail</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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 '<em><b>Order</b></em>' container reference feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Order</b></em>' container reference feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EReference ORDER_DETAIL__ORDER = eINSTANCE.getOrderDetail_Order();
/**
- * The meta object literal for the '<em><b>Offering</b></em>' reference feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Offering</b></em>' reference feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EReference ORDER_DETAIL__OFFERING = eINSTANCE.getOrderDetail_Offering();
/**
- * The meta object literal for the '<em><b>Quantity</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Quantity</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EAttribute ORDER_DETAIL__QUANTITY = eINSTANCE.getOrderDetail_Quantity();
/**
- * The meta object literal for the '<em><b>State</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>State</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EAttribute ORDER_DETAIL__STATE = eINSTANCE.getOrderDetail_State();
/**
- * The meta object literal for the '<em><b>Price</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Price</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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 '<em><b>Business Day</b></em>' container reference feature.
- * <!-- begin-user-doc
+ * The meta object literal for the '<em><b>Business Day</b></em>' container reference feature. <!-- begin-user-doc
* --> <!-- end-user-doc -->
+ *
* @generated
*/
EReference WAITER__BUSINESS_DAY = eINSTANCE.getWaiter_BusinessDay();
/**
- * The meta object literal for the '<em><b>Tables</b></em>' reference list feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Tables</b></em>' reference list feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EReference WAITER__TABLES = eINSTANCE.getWaiter_Tables();
/**
- * The meta object literal for the '<em><b>Employee</b></em>' reference feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Employee</b></em>' reference feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EReference WAITER__EMPLOYEE = eINSTANCE.getWaiter_Employee();
/**
- * The meta object literal for the '<em><b>From</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>From</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
EAttribute WAITER__FROM = eINSTANCE.getWaiter_From();
/**
- * The meta object literal for the '<em><b>Until</b></em>' attribute feature.
- * <!-- begin-user-doc --> <!--
+ * The meta object literal for the '<em><b>Until</b></em>' attribute feature. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Order</b></em>'. <!-- end-user-doc -->
- *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.gastro.business.Order#getBusinessDay <em>Business Day</em>}</li>
- * <li>{@link org.gastro.business.Order#getTable <em>Table</em>}</li>
- * <li>{@link org.gastro.business.Order#getOrderDetails <em>Order Details</em>}</li>
- * <li>{@link org.gastro.business.Order#getNumber <em>Number</em>}</li>
+ * <li>{@link org.gastro.business.Order#getBusinessDay <em>Business Day</em>}</li>
+ * <li>{@link org.gastro.business.Order#getTable <em>Table</em>}</li>
+ * <li>{@link org.gastro.business.Order#getOrderDetails <em>Order Details</em>}</li>
+ * <li>{@link org.gastro.business.Order#getNumber <em>Number</em>}</li>
* </ul>
* </p>
- *
+ *
* @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 '<em><b>Business Day</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.gastro.business.BusinessDay#getOrders <em>Orders</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Business Day</b></em>' container reference. It is bidirectional and its opposite
+ * is '{@link org.gastro.business.BusinessDay#getOrders <em>Orders</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Business Day</em>' container reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Business Day</em>' 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 <em>Business Day</em>}' container reference.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Business Day</em>' container reference.
+ *
+ * @param value
+ * the new value of the '<em>Business Day</em>' container reference.
* @see #getBusinessDay()
* @generated
*/
void setBusinessDay(BusinessDay value);
/**
- * Returns the value of the '<em><b>Table</b></em>' reference.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Table</b></em>' reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Table</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Table</em>' 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 <em>Table</em>}' reference.
- * <!-- begin-user-doc
+ * Sets the value of the '{@link org.gastro.business.Order#getTable <em>Table</em>}' reference. <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Table</em>' reference.
+ *
+ * @param value
+ * the new value of the '<em>Table</em>' reference.
* @see #getTable()
* @generated
*/
void setTable(Table value);
/**
- * Returns the value of the '<em><b>Order Details</b></em>' 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 <em>Order</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Order Details</b></em>' 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 <em>Order</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Order Details</em>' containment reference list isn't clear, there really should be more
* of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Order Details</em>' 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<OrderDetail> getOrderDetails();
/**
- * Returns the value of the '<em><b>Number</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Number</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Number</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Number</em>' 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 <em>Number</em>}' attribute.
- * <!-- begin-user-doc
+ * Sets the value of the '{@link org.gastro.business.Order#getNumber <em>Number</em>}' attribute. <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Number</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Number</em>' 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;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Order Detail</b></em>'. <!-- end-user-doc -->
- *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.gastro.business.OrderDetail#getOrder <em>Order</em>}</li>
- * <li>{@link org.gastro.business.OrderDetail#getOffering <em>Offering</em>}</li>
- * <li>{@link org.gastro.business.OrderDetail#getQuantity <em>Quantity</em>}</li>
- * <li>{@link org.gastro.business.OrderDetail#getState <em>State</em>}</li>
- * <li>{@link org.gastro.business.OrderDetail#getPrice <em>Price</em>}</li>
+ * <li>{@link org.gastro.business.OrderDetail#getOrder <em>Order</em>}</li>
+ * <li>{@link org.gastro.business.OrderDetail#getOffering <em>Offering</em>}</li>
+ * <li>{@link org.gastro.business.OrderDetail#getQuantity <em>Quantity</em>}</li>
+ * <li>{@link org.gastro.business.OrderDetail#getState <em>State</em>}</li>
+ * <li>{@link org.gastro.business.OrderDetail#getPrice <em>Price</em>}</li>
* </ul>
* </p>
- *
+ *
* @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 '<em><b>Order</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.gastro.business.Order#getOrderDetails <em>Order Details</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Order</b></em>' container reference. It is bidirectional and its opposite is '
+ * {@link org.gastro.business.Order#getOrderDetails <em>Order Details</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Order</em>' container reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Order</em>' 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 '<em><b>Offering</b></em>' reference.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Offering</b></em>' reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Offering</em>' reference isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Offering</em>' 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 '<em><b>Quantity</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Quantity</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Quantity</em>' attribute isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Quantity</em>' 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 '<em><b>State</b></em>' attribute.
- * The literals are from the enumeration {@link org.gastro.business.OrderState}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>State</b></em>' attribute. The literals are from the enumeration
+ * {@link org.gastro.business.OrderState}. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>State</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>State</em>' 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 '<em><b>Price</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Price</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Price</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Price</em>' 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;
/**
* <!-- begin-user-doc --> A representation of the literals of the enumeration '<em><b>Order State</b></em>', and
* utility methods for working with them. <!-- end-user-doc -->
+ *
* @see org.gastro.business.BusinessPackage#getOrderState()
* @model
* @generated
@@ -29,8 +30,8 @@ import java.util.List;
public enum OrderState implements Enumerator
{
/**
- * The '<em><b>Ordered</b></em>' literal object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The '<em><b>Ordered</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #ORDERED_VALUE
* @generated
* @ordered
@@ -38,8 +39,8 @@ public enum OrderState implements Enumerator
ORDERED(0, "Ordered", "Ordered"),
/**
- * The '<em><b>Acknowledged</b></em>' literal object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The '<em><b>Acknowledged</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #ACKNOWLEDGED_VALUE
* @generated
* @ordered
@@ -47,8 +48,8 @@ public enum OrderState implements Enumerator
ACKNOWLEDGED(2, "Acknowledged", "Acknowledged"),
/**
- * The '<em><b>Prepared</b></em>' literal object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The '<em><b>Prepared</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PREPARED_VALUE
* @generated
* @ordered
@@ -56,8 +57,8 @@ public enum OrderState implements Enumerator
PREPARED(1, "Prepared", "Prepared"),
/**
- * The '<em><b>Served</b></em>' literal object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The '<em><b>Served</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #SERVED_VALUE
* @generated
* @ordered
@@ -65,8 +66,8 @@ public enum OrderState implements Enumerator
SERVED(3, "Served", "Served"),
/**
- * The '<em><b>Paid</b></em>' literal object.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The '<em><b>Paid</b></em>' literal object. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #PAID_VALUE
* @generated
* @ordered
@@ -74,13 +75,13 @@ public enum OrderState implements Enumerator
PAID(4, "Paid", "Paid");
/**
- * The '<em><b>Ordered</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>Ordered</b></em>' literal value. <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Ordered</b></em>' literal object isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #ORDERED
* @model name="Ordered"
* @generated
@@ -89,13 +90,13 @@ public enum OrderState implements Enumerator
public static final int ORDERED_VALUE = 0;
/**
- * The '<em><b>Acknowledged</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>Acknowledged</b></em>' literal value. <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Acknowledged</b></em>' literal object isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #ACKNOWLEDGED
* @model name="Acknowledged"
* @generated
@@ -104,13 +105,13 @@ public enum OrderState implements Enumerator
public static final int ACKNOWLEDGED_VALUE = 2;
/**
- * The '<em><b>Prepared</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>Prepared</b></em>' literal value. <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Prepared</b></em>' literal object isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #PREPARED
* @model name="Prepared"
* @generated
@@ -119,13 +120,13 @@ public enum OrderState implements Enumerator
public static final int PREPARED_VALUE = 1;
/**
- * The '<em><b>Served</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>Served</b></em>' literal value. <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Served</b></em>' literal object isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @see #SERVED
* @model name="Served"
* @generated
@@ -134,13 +135,13 @@ public enum OrderState implements Enumerator
public static final int SERVED_VALUE = 3;
/**
- * The '<em><b>Paid</b></em>' literal value.
- * <!-- begin-user-doc -->
+ * The '<em><b>Paid</b></em>' literal value. <!-- begin-user-doc -->
* <p>
* If the meaning of '<em><b>Paid</b></em>' literal object isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @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 '<em><b>Order State</b></em>' enumerators.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * An array of all the '<em><b>Order State</b></em>' enumerators. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static final OrderState[] VALUES_ARRAY = new OrderState[] { ORDERED, ACKNOWLEDGED, PREPARED, SERVED, PAID, };
/**
- * A public read-only list of all the '<em><b>Order State</b></em>' enumerators.
- * <!-- begin-user-doc --> <!--
+ * A public read-only list of all the '<em><b>Order State</b></em>' enumerators. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
public static final List<OrderState> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
/**
- * Returns the '<em><b>Order State</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc --> <!--
+ * Returns the '<em><b>Order State</b></em>' literal with the specified literal value. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
public static OrderState get(String literal)
@@ -183,9 +184,9 @@ public enum OrderState implements Enumerator
}
/**
- * Returns the '<em><b>Order State</b></em>' literal with the specified name.
- * <!-- begin-user-doc --> <!--
+ * Returns the '<em><b>Order State</b></em>' literal with the specified name. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
public static OrderState getByName(String name)
@@ -202,9 +203,9 @@ public enum OrderState implements Enumerator
}
/**
- * Returns the '<em><b>Order State</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc --> <!--
+ * Returns the '<em><b>Order State</b></em>' literal with the specified integer value. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @generated
*/
public static OrderState get(int value)
@@ -227,25 +228,28 @@ public enum OrderState implements Enumerator
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final int value;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final String name;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private final String literal;
/**
- * Only this class can construct instances.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Only this class can construct instances. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private OrderState(int value, String name, String literal)
@@ -257,6 +261,7 @@ public enum OrderState implements Enumerator
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getValue()
@@ -266,6 +271,7 @@ public enum OrderState implements Enumerator
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String getName()
@@ -275,6 +281,7 @@ public enum OrderState implements Enumerator
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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.
- * <!-- begin-user-doc --> <!--
+ * Returns the literal value of the enumerator, which is its string representation. <!-- begin-user-doc --> <!--
* end-user-doc -->
+ *
* @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;
/**
* <!-- begin-user-doc --> A representation of the model object '<em><b>Waiter</b></em>'. <!-- end-user-doc -->
- *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.gastro.business.Waiter#getBusinessDay <em>Business Day</em>}</li>
- * <li>{@link org.gastro.business.Waiter#getTables <em>Tables</em>}</li>
- * <li>{@link org.gastro.business.Waiter#getEmployee <em>Employee</em>}</li>
- * <li>{@link org.gastro.business.Waiter#getFrom <em>From</em>}</li>
- * <li>{@link org.gastro.business.Waiter#getUntil <em>Until</em>}</li>
+ * <li>{@link org.gastro.business.Waiter#getBusinessDay <em>Business Day</em>}</li>
+ * <li>{@link org.gastro.business.Waiter#getTables <em>Tables</em>}</li>
+ * <li>{@link org.gastro.business.Waiter#getEmployee <em>Employee</em>}</li>
+ * <li>{@link org.gastro.business.Waiter#getFrom <em>From</em>}</li>
+ * <li>{@link org.gastro.business.Waiter#getUntil <em>Until</em>}</li>
* </ul>
* </p>
- *
+ *
* @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 '<em><b>Business Day</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.gastro.business.BusinessDay#getWaiters <em>Waiters</em>}'.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Business Day</b></em>' container reference. It is bidirectional and its opposite
+ * is '{@link org.gastro.business.BusinessDay#getWaiters <em>Waiters</em>}'. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Business Day</em>' container reference isn't clear, there really should be more of a
* description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Business Day</em>' 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 <em>Business Day</em>}' container reference.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Business Day</em>' container reference.
+ * Sets the value of the '{@link org.gastro.business.Waiter#getBusinessDay <em>Business Day</em>}' container
+ * reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param value
+ * the new value of the '<em>Business Day</em>' container reference.
* @see #getBusinessDay()
* @generated
*/
void setBusinessDay(BusinessDay value);
/**
- * Returns the value of the '<em><b>Tables</b></em>' reference list.
- * The list contents are of type {@link org.gastro.inventory.Table}.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Tables</b></em>' reference list. The list contents are of type
+ * {@link org.gastro.inventory.Table}. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Tables</em>' reference list isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Tables</em>' reference list.
* @see org.gastro.business.BusinessPackage#getWaiter_Tables()
* @model
@@ -87,13 +88,13 @@ public interface Waiter extends CDOObject
EList<Table> getTables();
/**
- * Returns the value of the '<em><b>Employee</b></em>' reference.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Employee</b></em>' reference. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Employee</em>' reference isn't clear, there really should be more of a description
* here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Employee</em>' 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 '<em><b>From</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>From</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>From</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>From</em>' 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 <em>From</em>}' attribute.
- * <!-- begin-user-doc -->
+ * Sets the value of the '{@link org.gastro.business.Waiter#getFrom <em>From</em>}' attribute. <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @param value the new value of the '<em>From</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>From</em>' attribute.
* @see #getFrom()
* @generated
*/
void setFrom(Date value);
/**
- * Returns the value of the '<em><b>Until</b></em>' attribute.
- * <!-- begin-user-doc -->
+ * Returns the value of the '<em><b>Until</b></em>' attribute. <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Until</em>' attribute isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
+ *
* @return the value of the '<em>Until</em>' 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 <em>Until</em>}' attribute.
- * <!-- begin-user-doc
+ * Sets the value of the '{@link org.gastro.business.Waiter#getUntil <em>Until</em>}' attribute. <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @param value the new value of the '<em>Until</em>' attribute.
+ *
+ * @param value
+ * the new value of the '<em>Until</em>' 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;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.gastro.business.impl.BusinessDayImpl#getDate <em>Date</em>}</li>
- * <li>{@link org.gastro.business.impl.BusinessDayImpl#getMenuCard <em>Menu Card</em>}</li>
- * <li>{@link org.gastro.business.impl.BusinessDayImpl#getOrders <em>Orders</em>}</li>
- * <li>{@link org.gastro.business.impl.BusinessDayImpl#getWaiters <em>Waiters</em>}</li>
- * <li>{@link org.gastro.business.impl.BusinessDayImpl#isClosed <em>Closed</em>}</li>
+ * <li>{@link org.gastro.business.impl.BusinessDayImpl#getDate <em>Date</em>}</li>
+ * <li>{@link org.gastro.business.impl.BusinessDayImpl#getMenuCard <em>Menu Card</em>}</li>
+ * <li>{@link org.gastro.business.impl.BusinessDayImpl#getOrders <em>Orders</em>}</li>
+ * <li>{@link org.gastro.business.impl.BusinessDayImpl#getWaiters <em>Waiters</em>}</li>
+ * <li>{@link org.gastro.business.impl.BusinessDayImpl#isClosed <em>Closed</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected BusinessDayImpl()
@@ -54,6 +55,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -64,6 +66,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,6 +77,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Date getDate()
@@ -83,6 +87,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setDate(Date newDate)
@@ -92,6 +97,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public MenuCard getMenuCard()
@@ -101,6 +107,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setMenuCard(MenuCard newMenuCard)
@@ -110,6 +117,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -120,6 +128,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -130,6 +139,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public boolean isClosed()
@@ -139,6 +149,7 @@ public class BusinessDayImpl extends CDOObjectImpl implements BusinessDay
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
{
/**
- * Creates the default factory implementation.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public static BusinessFactory init()
@@ -58,8 +59,8 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
}
/**
- * Creates an instance of the factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessFactoryImpl()
@@ -69,6 +70,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -91,6 +93,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -107,6 +110,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -123,6 +127,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessDay createBusinessDay()
@@ -133,6 +138,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Order createOrder()
@@ -143,6 +149,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public OrderDetail createOrderDetail()
@@ -153,6 +160,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Waiter createWaiter()
@@ -163,6 +171,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public OrderState createOrderStateFromString(EDataType eDataType, String initialValue)
@@ -176,6 +185,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public String convertOrderStateToString(EDataType eDataType, Object instanceValue)
@@ -185,6 +195,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessPackage getBusinessPackage()
@@ -194,6 +205,7 @@ public class BusinessFactoryImpl extends EFactoryImpl implements BusinessFactory
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass businessDayEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass orderEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass orderDetailEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EClass waiterEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum orderStateEEnum = null;
@@ -85,17 +91,18 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>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.
- * <!-- begin-user-doc -->
+ * <p>
+ * 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. <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
@@ -132,6 +139,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getBusinessDay()
@@ -141,6 +149,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getBusinessDay_Date()
@@ -150,6 +159,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getBusinessDay_MenuCard()
@@ -159,6 +169,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getBusinessDay_Orders()
@@ -168,6 +179,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getBusinessDay_Waiters()
@@ -177,6 +189,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getBusinessDay_Closed()
@@ -186,6 +199,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOrder()
@@ -195,6 +209,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOrder_BusinessDay()
@@ -204,6 +219,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOrder_Table()
@@ -213,6 +229,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOrder_OrderDetails()
@@ -222,6 +239,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getOrder_Number()
@@ -231,6 +249,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getOrderDetail()
@@ -240,6 +259,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOrderDetail_Order()
@@ -249,6 +269,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getOrderDetail_Offering()
@@ -258,6 +279,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getOrderDetail_Quantity()
@@ -267,6 +289,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getOrderDetail_State()
@@ -276,6 +299,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getOrderDetail_Price()
@@ -285,6 +309,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EClass getWaiter()
@@ -294,6 +319,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getWaiter_BusinessDay()
@@ -303,6 +329,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getWaiter_Tables()
@@ -312,6 +339,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EReference getWaiter_Employee()
@@ -321,6 +349,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getWaiter_From()
@@ -330,6 +359,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EAttribute getWaiter_Until()
@@ -339,6 +369,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EEnum getOrderState()
@@ -348,6 +379,7 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessFactory getBusinessFactory()
@@ -357,14 +389,15 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
+ * first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents()
@@ -407,14 +440,15 @@ public class BusinessPackageImpl extends EPackageImpl implements BusinessPackage
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
+ * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.gastro.business.impl.OrderDetailImpl#getOrder <em>Order</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderDetailImpl#getOffering <em>Offering</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderDetailImpl#getQuantity <em>Quantity</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderDetailImpl#getState <em>State</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderDetailImpl#getPrice <em>Price</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderDetailImpl#getOrder <em>Order</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderDetailImpl#getOffering <em>Offering</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderDetailImpl#getQuantity <em>Quantity</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderDetailImpl#getState <em>State</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderDetailImpl#getPrice <em>Price</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected OrderDetailImpl()
@@ -51,6 +52,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,6 +63,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -71,6 +74,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Order getOrder()
@@ -80,6 +84,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setOrder(Order newOrder)
@@ -89,6 +94,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Offering getOffering()
@@ -98,6 +104,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setOffering(Offering newOffering)
@@ -107,6 +114,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getQuantity()
@@ -116,6 +124,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setQuantity(int newQuantity)
@@ -125,6 +134,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public OrderState getState()
@@ -134,6 +144,7 @@ public class OrderDetailImpl extends CDOObjectImpl implements OrderDetail
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.gastro.business.impl.OrderImpl#getBusinessDay <em>Business Day</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderImpl#getTable <em>Table</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderImpl#getOrderDetails <em>Order Details</em>}</li>
- * <li>{@link org.gastro.business.impl.OrderImpl#getNumber <em>Number</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderImpl#getBusinessDay <em>Business Day</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderImpl#getTable <em>Table</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderImpl#getOrderDetails <em>Order Details</em>}</li>
+ * <li>{@link org.gastro.business.impl.OrderImpl#getNumber <em>Number</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class OrderImpl extends CDOObjectImpl implements Order
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected OrderImpl()
@@ -51,6 +52,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -61,6 +63,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -71,6 +74,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessDay getBusinessDay()
@@ -80,6 +84,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setBusinessDay(BusinessDay newBusinessDay)
@@ -89,6 +94,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Table getTable()
@@ -98,6 +104,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setTable(Table newTable)
@@ -107,6 +114,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -117,6 +125,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public int getNumber()
@@ -126,6 +135,7 @@ public class OrderImpl extends CDOObjectImpl implements Order
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.gastro.business.impl.WaiterImpl#getBusinessDay <em>Business Day</em>}</li>
- * <li>{@link org.gastro.business.impl.WaiterImpl#getTables <em>Tables</em>}</li>
- * <li>{@link org.gastro.business.impl.WaiterImpl#getEmployee <em>Employee</em>}</li>
- * <li>{@link org.gastro.business.impl.WaiterImpl#getFrom <em>From</em>}</li>
- * <li>{@link org.gastro.business.impl.WaiterImpl#getUntil <em>Until</em>}</li>
+ * <li>{@link org.gastro.business.impl.WaiterImpl#getBusinessDay <em>Business Day</em>}</li>
+ * <li>{@link org.gastro.business.impl.WaiterImpl#getTables <em>Tables</em>}</li>
+ * <li>{@link org.gastro.business.impl.WaiterImpl#getEmployee <em>Employee</em>}</li>
+ * <li>{@link org.gastro.business.impl.WaiterImpl#getFrom <em>From</em>}</li>
+ * <li>{@link org.gastro.business.impl.WaiterImpl#getUntil <em>Until</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class WaiterImpl extends CDOObjectImpl implements Waiter
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected WaiterImpl()
@@ -54,6 +55,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -64,6 +66,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -74,6 +77,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessDay getBusinessDay()
@@ -83,6 +87,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setBusinessDay(BusinessDay newBusinessDay)
@@ -92,6 +97,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
@SuppressWarnings("unchecked")
@@ -102,6 +108,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Employee getEmployee()
@@ -111,6 +118,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setEmployee(Employee newEmployee)
@@ -120,6 +128,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Date getFrom()
@@ -129,6 +138,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void setFrom(Date newFrom)
@@ -138,6 +148,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public Date getUntil()
@@ -147,6 +158,7 @@ public class WaiterImpl extends CDOObjectImpl implements Waiter
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @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;
/**
* <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code>
* method for each class of the model. <!-- end-user-doc -->
+ *
* @see org.gastro.business.BusinessPackage
* @generated
*/
public class BusinessAdapterFactory extends AdapterFactoryImpl
{
/**
- * The cached model package.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static BusinessPackage modelPackage;
/**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessAdapterFactory()
@@ -53,10 +54,10 @@ public class BusinessAdapterFactory extends AdapterFactoryImpl
}
/**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc --> This implementation
+ * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation
* returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!--
* end-user-doc -->
+ *
* @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 <code>createXXX</code> methods.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected BusinessSwitch<Adapter> modelSwitch = new BusinessSwitch<Adapter>()
@@ -113,9 +114,10 @@ public class BusinessAdapterFactory extends AdapterFactoryImpl
};
/**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @param target the object to adapt.
+ * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -182,9 +184,9 @@ public class BusinessAdapterFactory extends AdapterFactoryImpl
}
/**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc --> This default implementation returns null. <!--
+ * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!--
* end-user-doc -->
+ *
* @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 <code>caseXXX</code> 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. <!-- end-user-doc -->
+ *
* @see org.gastro.business.BusinessPackage
* @generated
*/
public class BusinessSwitch<T>
{
/**
- * The cached model package
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * The cached model package <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
protected static BusinessPackage modelPackage;
/**
- * Creates an instance of the switch.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public BusinessSwitch()
@@ -57,6 +58,7 @@ public class BusinessSwitch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -68,6 +70,7 @@ public class BusinessSwitch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -87,6 +90,7 @@ public class BusinessSwitch<T>
/**
* Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @return the first non-null result returned by a <code>caseXXX</code> call.
* @generated
*/
@@ -132,10 +136,11 @@ public class BusinessSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Day</em>'.
- * <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>Day</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- * @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 '<em>Day</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -146,10 +151,11 @@ public class BusinessSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Order</em>'.
- * <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>Order</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- * @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 '<em>Order</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -160,10 +166,11 @@ public class BusinessSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Order Detail</em>'.
- * <!-- begin-user-doc -->
+ * Returns the result of interpreting the object as an instance of '<em>Order Detail</em>'. <!-- begin-user-doc -->
* This implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- * @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 '<em>Order Detail</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -174,10 +181,11 @@ public class BusinessSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Waiter</em>'.
- * <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>Waiter</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch. <!-- end-user-doc -->
- * @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 '<em>Waiter</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -188,11 +196,12 @@ public class BusinessSwitch<T>
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc --> This
+ * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This
* implementation returns null; returning a non-null result will terminate the switch, but this is the last case
* anyway. <!-- end-user-doc -->
- * @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 '<em>EObject</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject)
* @generated

Back to the top