/* * Copyright (c) 2004 - 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 */ package org.eclipse.emf.cdo.tests.model1; import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Order Detail'. * *

* The following features are supported: *

*

* * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail() * @model * @generated */ public interface OrderDetail extends EObject { /** * Returns the value of the 'Order' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails Order Details}'. * *

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

* * @return the value of the 'Order' container reference. * @see #setOrder(Order) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Order() * @see org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails * @model opposite="orderDetails" required="true" transient="false" * @generated */ Order getOrder(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder Order}' container reference. * * @param value the new value of the 'Order' container reference. * @see #getOrder() * @generated */ void setOrder(Order value); /** * Returns the value of the 'Product' reference. * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails Order Details}'. * *

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

* * @return the value of the 'Product' reference. * @see #setProduct(Product1) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Product() * @see org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails * @model opposite="orderDetails" * @generated */ Product1 getProduct(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}' reference. * * @param value the new value of the 'Product' reference. * @see #getProduct() * @generated */ void setProduct(Product1 value); /** * Returns the value of the 'Price' attribute. * *

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

* * @return the value of the 'Price' attribute. * @see #setPrice(float) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Price() * @model * @generated */ float getPrice(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice Price}' attribute. * * @param value the new value of the 'Price' attribute. * @see #getPrice() * @generated */ void setPrice(float value); } // OrderDetail