org.eclipse.emf.test.models.library
Interface LibraryPackage

All Superinterfaces:
EModelElement, ENamedElement, EObject, EPackage, Notifier
All Known Implementing Classes:
LibraryPackageImpl

public interface LibraryPackage
extends EPackage

The Package for the model. It contains accessors for the meta objects to represent

See Also:
LibraryFactory

Nested Class Summary
static interface LibraryPackage.Literals
          Defines literals for the meta objects that represent each class, each feature of each class, each enum, and each data type
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
 
Field Summary
static int BOOK
          The meta object id for the 'Book' class
static int BOOK__AUTHOR
          The feature id for the 'Author' reference
static int BOOK__CATEGORY
          The feature id for the 'Category' attribute
static int BOOK__PAGES
          The feature id for the 'Pages' attribute
static int BOOK__TITLE
          The feature id for the 'Title' attribute
static int BOOK_CATEGORY
          The meta object id for the 'Book Category' enum
static int BOOK_FEATURE_COUNT
          The number of structural features of the 'Book' class
static LibraryPackage eINSTANCE
          The singleton instance of the package
static java.lang.String eNAME
          The package name
static java.lang.String eNS_PREFIX
          The package namespace name
static java.lang.String eNS_URI
          The package namespace URI
static int LIBRARY
          The meta object id for the 'Library' class
static int LIBRARY__BOOKS
          The feature id for the 'Books' containment reference list
static int LIBRARY__NAME
          The feature id for the 'Name' attribute
static int LIBRARY__WRITERS
          The feature id for the 'Writers' containment reference list
static int LIBRARY_FEATURE_COUNT
          The number of structural features of the 'Library' class
static int WRITER
          The meta object id for the 'Writer' class
static int WRITER__BOOKS
          The feature id for the 'Books' reference list
static int WRITER__NAME
          The feature id for the 'Name' attribute
static int WRITER_FEATURE_COUNT
          The number of structural features of the 'Writer' class
 
Method Summary
 EReference getBook_Author()
          Returns the meta object for the reference 'Author'
 EAttribute getBook_Category()
          Returns the meta object for the attribute 'Category'
 EAttribute getBook_Pages()
          Returns the meta object for the attribute 'Pages'
 EAttribute getBook_Title()
          Returns the meta object for the attribute 'Title'
 EClass getBook()
          Returns the meta object for class 'Book'
 EEnum getBookCategory()
          Returns the meta object for enum 'Book Category'
 EReference getLibrary_Books()
          Returns the meta object for the containment reference list 'Books'
 EAttribute getLibrary_Name()
          Returns the meta object for the attribute 'Name'
 EReference getLibrary_Writers()
          Returns the meta object for the containment reference list 'Writers'
 EClass getLibrary()
          Returns the meta object for class 'Library'
 LibraryFactory getLibraryFactory()
          Returns the factory that creates the instances of the model
 EReference getWriter_Books()
          Returns the meta object for the reference list 'Books'
 EAttribute getWriter_Name()
          Returns the meta object for the attribute 'Name'
 EClass getWriter()
          Returns the meta object for class 'Writer'
 
Methods inherited from interface org.eclipse.emf.ecore.EPackage
getEClassifier, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getNsPrefix, getNsURI, setEFactoryInstance, setNsPrefix, setNsURI
 
Methods inherited from interface org.eclipse.emf.ecore.ENamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Field Detail

eNAME

static final java.lang.String eNAME
The package name.

See Also:
Constant Field Values

eNS_URI

static final java.lang.String eNS_URI
The package namespace URI.

See Also:
Constant Field Values

eNS_PREFIX

static final java.lang.String eNS_PREFIX
The package namespace name.

See Also:
Constant Field Values

eINSTANCE

static final LibraryPackage eINSTANCE
The singleton instance of the package.


BOOK

static final int BOOK
The meta object id for the 'Book' class.

See Also:
BookImpl, LibraryPackageImpl.getBook(), Constant Field Values

BOOK__TITLE

static final int BOOK__TITLE
The feature id for the 'Title' attribute.

See Also:
Constant Field Values

BOOK__PAGES

static final int BOOK__PAGES
The feature id for the 'Pages' attribute.

See Also:
Constant Field Values

BOOK__CATEGORY

static final int BOOK__CATEGORY
The feature id for the 'Category' attribute.

See Also:
Constant Field Values

BOOK__AUTHOR

static final int BOOK__AUTHOR
The feature id for the 'Author' reference.

See Also:
Constant Field Values

BOOK_FEATURE_COUNT

static final int BOOK_FEATURE_COUNT
The number of structural features of the 'Book' class.

See Also:
Constant Field Values

LIBRARY

static final int LIBRARY
The meta object id for the 'Library' class.

See Also:
LibraryImpl, LibraryPackageImpl.getLibrary(), Constant Field Values

LIBRARY__NAME

static final int LIBRARY__NAME
The feature id for the 'Name' attribute.

See Also:
Constant Field Values

LIBRARY__WRITERS

static final int LIBRARY__WRITERS
The feature id for the 'Writers' containment reference list.

See Also:
Constant Field Values

LIBRARY__BOOKS

static final int LIBRARY__BOOKS
The feature id for the 'Books' containment reference list.

See Also:
Constant Field Values

LIBRARY_FEATURE_COUNT

static final int LIBRARY_FEATURE_COUNT
The number of structural features of the 'Library' class.

See Also:
Constant Field Values

WRITER

static final int WRITER
The meta object id for the 'Writer' class.

See Also:
WriterImpl, LibraryPackageImpl.getWriter(), Constant Field Values

WRITER__NAME

static final int WRITER__NAME
The feature id for the 'Name' attribute.

See Also:
Constant Field Values

WRITER__BOOKS

static final int WRITER__BOOKS
The feature id for the 'Books' reference list.

See Also:
Constant Field Values

WRITER_FEATURE_COUNT

static final int WRITER_FEATURE_COUNT
The number of structural features of the 'Writer' class.

See Also:
Constant Field Values

BOOK_CATEGORY

static final int BOOK_CATEGORY
The meta object id for the 'Book Category' enum.

See Also:
BookCategory, LibraryPackageImpl.getBookCategory(), Constant Field Values
Method Detail

getBook

EClass getBook()
Returns the meta object for class 'Book'.

Returns:
the meta object for class 'Book'.
See Also:
Book

getBook_Title

EAttribute getBook_Title()
Returns the meta object for the attribute 'Title'.

Returns:
the meta object for the attribute 'Title'.
See Also:
Book.getTitle(), getBook()

getBook_Pages

EAttribute getBook_Pages()
Returns the meta object for the attribute 'Pages'.

Returns:
the meta object for the attribute 'Pages'.
See Also:
Book.getPages(), getBook()

getBook_Category

EAttribute getBook_Category()
Returns the meta object for the attribute 'Category'.

Returns:
the meta object for the attribute 'Category'.
See Also:
Book.getCategory(), getBook()

getBook_Author

EReference getBook_Author()
Returns the meta object for the reference 'Author'.

Returns:
the meta object for the reference 'Author'.
See Also:
Book.getAuthor(), getBook()

getLibrary

EClass getLibrary()
Returns the meta object for class 'Library'.

Returns:
the meta object for class 'Library'.
See Also:
Library

getLibrary_Name

EAttribute getLibrary_Name()
Returns the meta object for the attribute 'Name'.

Returns:
the meta object for the attribute 'Name'.
See Also:
Library.getName(), getLibrary()

getLibrary_Writers

EReference getLibrary_Writers()
Returns the meta object for the containment reference list 'Writers'.

Returns:
the meta object for the containment reference list 'Writers'.
See Also:
Library.getWriters(), getLibrary()

getLibrary_Books

EReference getLibrary_Books()
Returns the meta object for the containment reference list 'Books'.

Returns:
the meta object for the containment reference list 'Books'.
See Also:
Library.getBooks(), getLibrary()

getWriter

EClass getWriter()
Returns the meta object for class 'Writer'.

Returns:
the meta object for class 'Writer'.
See Also:
Writer

getWriter_Name

EAttribute getWriter_Name()
Returns the meta object for the attribute 'Name'.

Returns:
the meta object for the attribute 'Name'.
See Also:
Writer.getName(), getWriter()

getWriter_Books

EReference getWriter_Books()
Returns the meta object for the reference list 'Books'.

Returns:
the meta object for the reference list 'Books'.
See Also:
Writer.getBooks(), getWriter()

getBookCategory

EEnum getBookCategory()
Returns the meta object for enum 'Book Category'.

Returns:
the meta object for enum 'Book Category'.
See Also:
BookCategory

getLibraryFactory

LibraryFactory getLibraryFactory()
Returns the factory that creates the instances of the model.

Returns:
the factory that creates the instances of the model.

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.