| /******************************************************************************* |
| * Copyright (c) 2013 RCP Vision (http://www.rcp-vision.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 |
| *******************************************************************************/ |
| /** |
| */ |
| package library; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Package</b> for the model. |
| * It contains accessors for the meta objects to represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @see library.LibraryFactory |
| * @model kind="package" |
| * @generated |
| */ |
| public interface LibraryPackage extends EPackage { |
| /** |
| * The package name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNAME = "library"; |
| |
| /** |
| * The package namespace URI. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_URI = "http://library/1.0"; |
| |
| /** |
| * The package namespace name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_PREFIX = "library"; |
| |
| /** |
| * The singleton instance of the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| LibraryPackage eINSTANCE = library.impl.LibraryPackageImpl.init(); |
| |
| /** |
| * The meta object id for the '{@link library.impl.AuthorImpl <em>Author</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.AuthorImpl |
| * @see library.impl.LibraryPackageImpl#getAuthor() |
| * @generated |
| */ |
| int AUTHOR = 0; |
| |
| /** |
| * The feature id for the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int AUTHOR__NAME = 0; |
| |
| /** |
| * The feature id for the '<em><b>Surname</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int AUTHOR__SURNAME = 1; |
| |
| /** |
| * The feature id for the '<em><b>Birthdate</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int AUTHOR__BIRTHDATE = 2; |
| |
| /** |
| * The number of structural features of the '<em>Author</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int AUTHOR_FEATURE_COUNT = 3; |
| |
| /** |
| * The number of operations of the '<em>Author</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int AUTHOR_OPERATION_COUNT = 0; |
| |
| /** |
| * The meta object id for the '{@link library.impl.BookImpl <em>Book</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.BookImpl |
| * @see library.impl.LibraryPackageImpl#getBook() |
| * @generated |
| */ |
| int BOOK = 1; |
| |
| /** |
| * The feature id for the '<em><b>Title</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int BOOK__TITLE = 0; |
| |
| /** |
| * The feature id for the '<em><b>Authors</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int BOOK__AUTHORS = 1; |
| |
| /** |
| * The feature id for the '<em><b>Pages</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int BOOK__PAGES = 2; |
| |
| /** |
| * The number of structural features of the '<em>Book</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int BOOK_FEATURE_COUNT = 3; |
| |
| /** |
| * The number of operations of the '<em>Book</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int BOOK_OPERATION_COUNT = 0; |
| |
| /** |
| * The meta object id for the '{@link library.impl.LibraryImpl <em>Library</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.LibraryImpl |
| * @see library.impl.LibraryPackageImpl#getLibrary() |
| * @generated |
| */ |
| int LIBRARY = 2; |
| |
| /** |
| * The feature id for the '<em><b>Books</b></em>' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int LIBRARY__BOOKS = 0; |
| |
| /** |
| * The feature id for the '<em><b>Authors</b></em>' containment reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int LIBRARY__AUTHORS = 1; |
| |
| /** |
| * The number of structural features of the '<em>Library</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int LIBRARY_FEATURE_COUNT = 2; |
| |
| /** |
| * The number of operations of the '<em>Library</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int LIBRARY_OPERATION_COUNT = 0; |
| |
| |
| /** |
| * Returns the meta object for class '{@link library.Author <em>Author</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Author</em>'. |
| * @see library.Author |
| * @generated |
| */ |
| EClass getAuthor(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link library.Author#getName <em>Name</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Name</em>'. |
| * @see library.Author#getName() |
| * @see #getAuthor() |
| * @generated |
| */ |
| EAttribute getAuthor_Name(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link library.Author#getSurname <em>Surname</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Surname</em>'. |
| * @see library.Author#getSurname() |
| * @see #getAuthor() |
| * @generated |
| */ |
| EAttribute getAuthor_Surname(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link library.Author#getBirthdate <em>Birthdate</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Birthdate</em>'. |
| * @see library.Author#getBirthdate() |
| * @see #getAuthor() |
| * @generated |
| */ |
| EAttribute getAuthor_Birthdate(); |
| |
| /** |
| * Returns the meta object for class '{@link library.Book <em>Book</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Book</em>'. |
| * @see library.Book |
| * @generated |
| */ |
| EClass getBook(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link library.Book#getTitle <em>Title</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Title</em>'. |
| * @see library.Book#getTitle() |
| * @see #getBook() |
| * @generated |
| */ |
| EAttribute getBook_Title(); |
| |
| /** |
| * Returns the meta object for the reference list '{@link library.Book#getAuthors <em>Authors</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the reference list '<em>Authors</em>'. |
| * @see library.Book#getAuthors() |
| * @see #getBook() |
| * @generated |
| */ |
| EReference getBook_Authors(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link library.Book#getPages <em>Pages</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Pages</em>'. |
| * @see library.Book#getPages() |
| * @see #getBook() |
| * @generated |
| */ |
| EAttribute getBook_Pages(); |
| |
| /** |
| * Returns the meta object for class '{@link library.Library <em>Library</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Library</em>'. |
| * @see library.Library |
| * @generated |
| */ |
| EClass getLibrary(); |
| |
| /** |
| * Returns the meta object for the containment reference list '{@link library.Library#getBooks <em>Books</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the containment reference list '<em>Books</em>'. |
| * @see library.Library#getBooks() |
| * @see #getLibrary() |
| * @generated |
| */ |
| EReference getLibrary_Books(); |
| |
| /** |
| * Returns the meta object for the containment reference list '{@link library.Library#getAuthors <em>Authors</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the containment reference list '<em>Authors</em>'. |
| * @see library.Library#getAuthors() |
| * @see #getLibrary() |
| * @generated |
| */ |
| EReference getLibrary_Authors(); |
| |
| /** |
| * Returns the factory that creates the instances of the model. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the factory that creates the instances of the model. |
| * @generated |
| */ |
| LibraryFactory getLibraryFactory(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * Defines literals for the meta objects that represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| interface Literals { |
| /** |
| * The meta object literal for the '{@link library.impl.AuthorImpl <em>Author</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.AuthorImpl |
| * @see library.impl.LibraryPackageImpl#getAuthor() |
| * @generated |
| */ |
| EClass AUTHOR = eINSTANCE.getAuthor(); |
| |
| /** |
| * The meta object literal for the '<em><b>Name</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute AUTHOR__NAME = eINSTANCE.getAuthor_Name(); |
| |
| /** |
| * The meta object literal for the '<em><b>Surname</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute AUTHOR__SURNAME = eINSTANCE.getAuthor_Surname(); |
| |
| /** |
| * The meta object literal for the '<em><b>Birthdate</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute AUTHOR__BIRTHDATE = eINSTANCE.getAuthor_Birthdate(); |
| |
| /** |
| * The meta object literal for the '{@link library.impl.BookImpl <em>Book</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.BookImpl |
| * @see library.impl.LibraryPackageImpl#getBook() |
| * @generated |
| */ |
| EClass BOOK = eINSTANCE.getBook(); |
| |
| /** |
| * The meta object literal for the '<em><b>Title</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute BOOK__TITLE = eINSTANCE.getBook_Title(); |
| |
| /** |
| * The meta object literal for the '<em><b>Authors</b></em>' reference list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference BOOK__AUTHORS = eINSTANCE.getBook_Authors(); |
| |
| /** |
| * The meta object literal for the '<em><b>Pages</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute BOOK__PAGES = eINSTANCE.getBook_Pages(); |
| |
| /** |
| * The meta object literal for the '{@link library.impl.LibraryImpl <em>Library</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see library.impl.LibraryImpl |
| * @see library.impl.LibraryPackageImpl#getLibrary() |
| * @generated |
| */ |
| EClass LIBRARY = eINSTANCE.getLibrary(); |
| |
| /** |
| * The meta object literal for the '<em><b>Books</b></em>' containment reference list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference LIBRARY__BOOKS = eINSTANCE.getLibrary_Books(); |
| |
| /** |
| * The meta object literal for the '<em><b>Authors</b></em>' containment reference list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference LIBRARY__AUTHORS = eINSTANCE.getLibrary_Authors(); |
| |
| } |
| |
| } //LibraryPackage |