/* * Copyright (c) 2009, 2011, 2012 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Eike Stepper - initial API and implementation * * Initial Publication: * Eclipse Magazin - http://www.eclipse-magazin.de */ package org.gastro.business; import org.eclipse.emf.cdo.CDOObject; import org.eclipse.emf.common.util.EList; import org.gastro.inventory.Table; /** * A representation of the model object 'Order'. * *

* The following features are supported: *

*

* * @see org.gastro.business.BusinessPackage#getOrder() * @model * @extends CDOObject * @generated */ public interface Order extends CDOObject { /** * Returns the value of the 'Business Day' container reference. * It is bidirectional and its opposite is '{@link org.gastro.business.BusinessDay#getOrders Orders}'. * *

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

* * @return the value of the 'Business Day' container reference. * @see #setBusinessDay(BusinessDay) * @see org.gastro.business.BusinessPackage#getOrder_BusinessDay() * @see org.gastro.business.BusinessDay#getOrders * @model opposite="orders" required="true" transient="false" * @generated */ BusinessDay getBusinessDay(); /** * Sets the value of the '{@link org.gastro.business.Order#getBusinessDay Business Day}' container reference. * * @param value the new value of the 'Business Day' container reference. * @see #getBusinessDay() * @generated */ void setBusinessDay(BusinessDay value); /** * Returns the value of the 'Table' reference. * *

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

* * @return the value of the 'Table' reference. * @see #setTable(Table) * @see org.gastro.business.BusinessPackage#getOrder_Table() * @model required="true" * @generated */ Table getTable(); /** * Sets the value of the '{@link org.gastro.business.Order#getTable Table}' reference. * * @param value the new value of the 'Table' reference. * @see #getTable() * @generated */ void setTable(Table value); /** * Returns the value of the 'Order Details' containment reference list. * The list contents are of type {@link org.gastro.business.OrderDetail}. * It is bidirectional and its opposite is '{@link org.gastro.business.OrderDetail#getOrder Order}'. * *

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

* * @return the value of the 'Order Details' containment reference list. * @see org.gastro.business.BusinessPackage#getOrder_OrderDetails() * @see org.gastro.business.OrderDetail#getOrder * @model opposite="order" containment="true" required="true" * @generated */ EList getOrderDetails(); /** * Returns the value of the 'Number' attribute. * *

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

* * @return the value of the 'Number' attribute. * @see #setNumber(int) * @see org.gastro.business.BusinessPackage#getOrder_Number() * @model * @generated */ int getNumber(); /** * Sets the value of the '{@link org.gastro.business.Order#getNumber Number}' attribute. * * @param value the new value of the 'Number' attribute. * @see #getNumber() * @generated */ void setNumber(int value); } // Order