blob: 5dab799490958484a3d6c06ac116b1c64c6bca66 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2010 Soyatec (http://www.soyatec.com) 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:
* Soyatec - initial API and implementation
*******************************************************************************/
package org.eclipse.xwt.emf.test.books;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Book</b></em>'. <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.xwt.emf.test.books.Book#getAuthor <em>Author</em>}</li>
* <li>{@link org.eclipse.xwt.emf.test.books.Book#getPrice <em>Price</em>}</li>
* <li>{@link org.eclipse.xwt.emf.test.books.Book#getYear <em>Year</em>}</li>
* <li>{@link org.eclipse.xwt.emf.test.books.Book#getTitle <em>Title</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.xwt.emf.test.books.BooksPackage#getBook()
* @model
* @generated
*/
public interface Book extends EObject {
/**
* Returns the value of the '<em><b>Title</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Title</em>' attribute isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Title</em>' containment reference.
* @see #setTitle(Title)
* @see org.eclipse.xwt.emf.test.books.BooksPackage#getBook_Title()
* @model containment="true"
* @generated
*/
Title getTitle();
/**
* Sets the value of the '
* {@link org.eclipse.xwt.emf.test.books.Book#getTitle <em>Title</em>}'
* containment reference. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Title</em>' containment reference.
* @see #getTitle()
* @generated
*/
void setTitle(Title value);
/**
* Returns the value of the '<em><b>Author</b></em>' attribute. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Author</em>' attribute isn't clear, there
* really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Author</em>' attribute.
* @see #setAuthor(String)
* @see org.eclipse.xwt.emf.test.books.BooksPackage#getBook_Author()
* @model
* @generated
*/
String getAuthor();
/**
* Sets the value of the '
* {@link org.eclipse.xwt.emf.test.books.Book#getAuthor <em>Author</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Author</em>' attribute.
* @see #getAuthor()
* @generated
*/
void setAuthor(String value);
/**
* 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 #setPrice(double)
* @see org.eclipse.xwt.emf.test.books.BooksPackage#getBook_Price()
* @model
* @generated
*/
double getPrice();
/**
* Sets the value of the '
* {@link org.eclipse.xwt.emf.test.books.Book#getPrice <em>Price</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Price</em>' attribute.
* @see #getPrice()
* @generated
*/
void setPrice(double value);
/**
* Returns the value of the '<em><b>Year</b></em>' attribute. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Year</em>' attribute isn't clear, there really
* should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Year</em>' attribute.
* @see #setYear(long)
* @see org.eclipse.xwt.emf.test.books.BooksPackage#getBook_Year()
* @model
* @generated
*/
long getYear();
/**
* Sets the value of the '
* {@link org.eclipse.xwt.emf.test.books.Book#getYear <em>Year</em>}'
* attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Year</em>' attribute.
* @see #getYear()
* @generated
*/
void setYear(long value);
} // Book