/** * <copyright> * * Copyright (c) 2005-2006 IBM Corporation 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: * IBM - Initial API and implementation * * </copyright> * * $Id: Library.java,v 1.7 2008/05/04 17:03:17 emerks Exp $ */ package org.eclipse.emf.examples.extlibrary; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.util.FeatureMap; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Library</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getName <em>Name</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getWriters <em>Writers</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getEmployees <em>Employees</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getBorrowers <em>Borrowers</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getStock <em>Stock</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getBooks <em>Books</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getBranches <em>Branches</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getParentBranch <em>Parent Branch</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getCasts <em>Casts</em>}</li> * <li>{@link org.eclipse.emf.examples.extlibrary.Library#getReaders <em>Readers</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary() * @model * @generated */ public interface Library extends Addressable { /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.emf.examples.extlibrary.Library#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the '<em><b>Writers</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Writer}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Writers</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Writers() * @model containment="true" derived="true" * @generated */ EList<Writer> getWriters(); /** * Returns the value of the '<em><b>Employees</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Employee}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Employees</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Employees() * @model containment="true" derived="true" * @generated */ EList<Employee> getEmployees(); /** * Returns the value of the '<em><b>Borrowers</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Borrower}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Borrowers</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Borrowers() * @model containment="true" derived="true" * @generated */ EList<Borrower> getBorrowers(); /** * Returns the value of the '<em><b>Stock</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Item}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Stock</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Stock() * @model containment="true" ordered="false" * @generated */ EList<Item> getStock(); /** * Returns the value of the '<em><b>Books</b></em>' reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Book}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Books</em>' reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Books() * @model transient="true" derived="true" ordered="false" * @generated */ EList<Book> getBooks(); /** * Returns the value of the '<em><b>Branches</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Library}. * It is bidirectional and its opposite is '{@link org.eclipse.emf.examples.extlibrary.Library#getParentBranch <em>Parent Branch</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Branches</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Branches() * @see org.eclipse.emf.examples.extlibrary.Library#getParentBranch * @model opposite="parentBranch" containment="true" resolveProxies="true" * @generated */ EList<Library> getBranches(); /** * Returns the value of the '<em><b>Parent Branch</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.emf.examples.extlibrary.Library#getBranches <em>Branches</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the value of the '<em>Parent Branch</em>' container reference. * @see #setParentBranch(Library) * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_ParentBranch() * @see org.eclipse.emf.examples.extlibrary.Library#getBranches * @model opposite="branches" transient="false" * @generated */ Library getParentBranch(); /** * Sets the value of the '{@link org.eclipse.emf.examples.extlibrary.Library#getParentBranch <em>Parent Branch</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Parent Branch</em>' container reference. * @see #getParentBranch() * @generated */ void setParentBranch(Library value); /** * Returns the value of the '<em><b>Casts</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Person}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Casts</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>Casts</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Casts() * @model containment="true" derived="true" * @generated */ EList<Person> getCasts(); /** * Returns the value of the '<em><b>Readers</b></em>' containment reference list. * The list contents are of type {@link org.eclipse.emf.examples.extlibrary.Person}. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Readers</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>Readers</em>' containment reference list. * @see org.eclipse.emf.examples.extlibrary.EXTLibraryPackage#getLibrary_Readers() * @model containment="true" derived="true" * @generated */ EList<Person> getReaders(); } // Library