org.eclipse.emf.test.models.lib
Interface LibPackage

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

public interface LibPackage
extends EPackage

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

See Also:
LibFactory

Nested Class Summary
static interface LibPackage.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 ADDRESS
          The meta object id for the 'Address' class
static int ADDRESS__POSTAL_CODE
          The feature id for the 'Postal Code' attribute
static int ADDRESS_FEATURE_COUNT
          The number of structural features of the 'Address' class
static int BOOK
          The meta object id for the 'Book' class
static int BOOK__TITLE
          The feature id for the 'Title' attribute
static int BOOK_FEATURE_COUNT
          The number of structural features of the 'Book' class
static int CAFETERIA
          The meta object id for the 'Cafeteria' class
static int CAFETERIA__LIBRARY
          The feature id for the 'Library' container reference
static int CAFETERIA__NAME
          The feature id for the 'Name' attribute
static int CAFETERIA_FEATURE_COUNT
          The number of structural features of the 'Cafeteria' class
static LibPackage 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__ADDRESS
          The feature id for the 'Address' containment reference
static int LIBRARY__BOOKS
          The feature id for the 'Books' containment reference list
static int LIBRARY__CAFETERIA
          The feature id for the 'Cafeteria' containment reference
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 PERSON
          The meta object id for the 'Person' class
static int PERSON__LIBRARY
          The feature id for the 'Library' container reference
static int PERSON__NAME
          The feature id for the 'Name' attribute
static int PERSON_FEATURE_COUNT
          The number of structural features of the 'Person' class
 
Method Summary
 EAttribute getAddress_PostalCode()
          Returns the meta object for the attribute 'Postal Code'
 EClass getAddress()
          Returns the meta object for class 'Address'
 EAttribute getBook_Title()
          Returns the meta object for the attribute 'Title'
 EClass getBook()
          Returns the meta object for class 'Book'
 EReference getCafeteria_Library()
          Returns the meta object for the container reference 'Library'
 EAttribute getCafeteria_Name()
          Returns the meta object for the attribute 'Name'
 EClass getCafeteria()
          Returns the meta object for class 'Cafeteria'
 LibFactory getLibFactory()
          Returns the factory that creates the instances of the model
 EReference getLibrary_Address()
          Returns the meta object for the containment reference 'Address'
 EReference getLibrary_Books()
          Returns the meta object for the containment reference list 'Books'
 EReference getLibrary_Cafeteria()
          Returns the meta object for the containment reference 'Cafeteria'
 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'
 EReference getPerson_Library()
          Returns the meta object for the container reference 'Library'
 EAttribute getPerson_Name()
          Returns the meta object for the attribute 'Name'
 EClass getPerson()
          Returns the meta object for class 'Person'
 
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 LibPackage eINSTANCE
The singleton instance of the package.


LIBRARY

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

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

LIBRARY__NAME

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

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__ADDRESS

static final int LIBRARY__ADDRESS
The feature id for the 'Address' containment reference.

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__CAFETERIA

static final int LIBRARY__CAFETERIA
The feature id for the 'Cafeteria' containment reference.

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

BOOK

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

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

BOOK__TITLE

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

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

ADDRESS

static final int ADDRESS
The meta object id for the 'Address' class.

See Also:
AddressImpl, LibPackageImpl.getAddress(), Constant Field Values

ADDRESS__POSTAL_CODE

static final int ADDRESS__POSTAL_CODE
The feature id for the 'Postal Code' attribute.

See Also:
Constant Field Values

ADDRESS_FEATURE_COUNT

static final int ADDRESS_FEATURE_COUNT
The number of structural features of the 'Address' class.

See Also:
Constant Field Values

PERSON

static final int PERSON
The meta object id for the 'Person' class.

See Also:
PersonImpl, LibPackageImpl.getPerson(), Constant Field Values

PERSON__NAME

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

See Also:
Constant Field Values

PERSON__LIBRARY

static final int PERSON__LIBRARY
The feature id for the 'Library' container reference.

See Also:
Constant Field Values

PERSON_FEATURE_COUNT

static final int PERSON_FEATURE_COUNT
The number of structural features of the 'Person' class.

See Also:
Constant Field Values

CAFETERIA

static final int CAFETERIA
The meta object id for the 'Cafeteria' class.

See Also:
CafeteriaImpl, LibPackageImpl.getCafeteria(), Constant Field Values

CAFETERIA__NAME

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

See Also:
Constant Field Values

CAFETERIA__LIBRARY

static final int CAFETERIA__LIBRARY
The feature id for the 'Library' container reference.

See Also:
Constant Field Values

CAFETERIA_FEATURE_COUNT

static final int CAFETERIA_FEATURE_COUNT
The number of structural features of the 'Cafeteria' class.

See Also:
Constant Field Values
Method Detail

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_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()

getLibrary_Address

EReference getLibrary_Address()
Returns the meta object for the containment reference 'Address'.

Returns:
the meta object for the containment reference 'Address'.
See Also:
Library.getAddress(), 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_Cafeteria

EReference getLibrary_Cafeteria()
Returns the meta object for the containment reference 'Cafeteria'.

Returns:
the meta object for the containment reference 'Cafeteria'.
See Also:
Library.getCafeteria(), getLibrary()

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()

getAddress

EClass getAddress()
Returns the meta object for class 'Address'.

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

getAddress_PostalCode

EAttribute getAddress_PostalCode()
Returns the meta object for the attribute 'Postal Code'.

Returns:
the meta object for the attribute 'Postal Code'.
See Also:
Address.getPostalCode(), getAddress()

getPerson

EClass getPerson()
Returns the meta object for class 'Person'.

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

getPerson_Name

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

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

getPerson_Library

EReference getPerson_Library()
Returns the meta object for the container reference 'Library'.

Returns:
the meta object for the container reference 'Library'.
See Also:
Person.getLibrary(), getPerson()

getCafeteria

EClass getCafeteria()
Returns the meta object for class 'Cafeteria'.

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

getCafeteria_Name

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

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

getCafeteria_Library

EReference getCafeteria_Library()
Returns the meta object for the container reference 'Library'.

Returns:
the meta object for the container reference 'Library'.
See Also:
Cafeteria.getLibrary(), getCafeteria()

getLibFactory

LibFactory getLibFactory()
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.