/* * Copyright (c) 2008, 2009, 2011, 2012, 2015, 2019 Eike Stepper (Loehne, 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.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * A representation of the model object 'Product'. * *

* The following features are supported: *

* * * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1() * @model * @generated */ public interface Product1 extends EObject { /** * Returns the value of the 'Name' attribute. * *

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

* * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product1#getName Name}' attribute. * * @param value * the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Order Details' reference list. * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.OrderDetail}. * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct Product}'. * *

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

* * @return the value of the 'Order Details' reference list. * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_OrderDetails() * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct * @model opposite="product" * @generated */ EList getOrderDetails(); /** * Returns the value of the 'Vat' attribute. * The default value is "vat15". * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. * *

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

* * @return the value of the 'Vat' attribute. * @see org.eclipse.emf.cdo.tests.model1.VAT * @see #setVat(VAT) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Vat() * @model default="vat15" * @generated */ VAT getVat(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product1#getVat Vat}' attribute. * * @param value * the new value of the 'Vat' attribute. * @see org.eclipse.emf.cdo.tests.model1.VAT * @see #getVat() * @generated */ void setVat(VAT value); /** * Returns the value of the 'Other VA Ts' attribute list. * The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.VAT}. * The literals are from the enumeration {@link org.eclipse.emf.cdo.tests.model1.VAT}. * *

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

* * @return the value of the 'Other VA Ts' attribute list. * @see org.eclipse.emf.cdo.tests.model1.VAT * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_OtherVATs() * @model default="vat15" * @generated */ EList getOtherVATs(); /** * Returns the value of the 'Description' attribute. * *

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

* * @return the value of the 'Description' attribute. * @see #setDescription(String) * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Description() * @model transient="true" * @generated */ String getDescription(); /** * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription Description}' attribute. * * @param value the new value of the 'Description' attribute. * @see #getDescription() * @generated */ void setDescription(String value); } // Product