org.eclipse.emf.test.models.lib.impl
Class LibPackageImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.ENamedElementImpl
                          extended by org.eclipse.emf.ecore.impl.EPackageImpl
                              extended by org.eclipse.emf.test.models.lib.impl.LibPackageImpl
All Implemented Interfaces:
Notifier, EModelElement, ENamedElement, EObject, EPackage, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, BasicExtendedMetaData.EPackageExtendedMetaData.Holder, LibPackage

public class LibPackageImpl
extends EPackageImpl
implements LibPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.test.models.lib.LibPackage
LibPackage.Literals
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
EPackage.Descriptor, EPackage.Registry
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
eClassifiers, ecoreFactory, ecorePackage, eFactoryInstance, eNameToEClassifierMap, ePackageExtendedMetaData, eSubpackages, IS_ABSTRACT, IS_CHANGEABLE, IS_COMPOSITE, IS_DERIVED, IS_GENERATED_INSTANCE_CLASS, IS_ID, IS_INTERFACE, IS_ORDERED, IS_RESOLVABLE, IS_RESOLVE_PROXIES, IS_SERIALIZABLE, IS_TRANSIENT, IS_UNIQUE, IS_UNSETTABLE, IS_VOLATILE, NS_PREFIX_EDEFAULT, NS_URI_EDEFAULT, nsPrefix, nsURI
 
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.test.models.lib.LibPackage
ADDRESS, ADDRESS__POSTAL_CODE, ADDRESS_FEATURE_COUNT, BOOK, BOOK__TITLE, BOOK_FEATURE_COUNT, CAFETERIA, CAFETERIA__LIBRARY, CAFETERIA__NAME, CAFETERIA_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, LIBRARY, LIBRARY__ADDRESS, LIBRARY__BOOKS, LIBRARY__CAFETERIA, LIBRARY__NAME, LIBRARY__WRITERS, LIBRARY_FEATURE_COUNT, PERSON, PERSON__LIBRARY, PERSON__NAME, PERSON_FEATURE_COUNT
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void createPackageContents()
          Creates the meta-model objects for the package.
 EAttribute getAddress_PostalCode()
           
 EClass getAddress()
           
 EAttribute getBook_Title()
           
 EClass getBook()
           
 EReference getCafeteria_Library()
           
 EAttribute getCafeteria_Name()
           
 EClass getCafeteria()
           
 LibFactory getLibFactory()
           
 EReference getLibrary_Address()
           
 EReference getLibrary_Books()
           
 EReference getLibrary_Cafeteria()
           
 EAttribute getLibrary_Name()
           
 EReference getLibrary_Writers()
           
 EClass getLibrary()
           
 EReference getPerson_Library()
           
 EAttribute getPerson_Name()
           
 EClass getPerson()
           
static LibPackage init()
          Creates, registers, and initializes the Package for this model, and for any others upon which it depends.
 void initializePackageContents()
          Complete the initialization of the package and its meta-model.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EPackageImpl
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addEEnumLiteral, addEException, addEException, addEOperation, addEOperation, addEOperation, addEParameter, addEParameter, addEParameter, addEParameter, addEParameter, addETypeParameter, addETypeParameter, basicGetESuperPackage, basicSetEFactoryInstance, createEAttribute, createEClass, createEDataType, createEEnum, createEGenericType, createEGenericType, createEGenericType, createEOperation, createEReference, createResource, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eStaticClass, eUnset, fixEClassifiers, fixEEnumLiterals, fixEOperations, fixEStructuralFeatures, fixInstanceClass, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEAttribute, initEClass, initEClass, initEClass, initEDataType, initEDataType, initEDataType, initEEnum, initEOperation, initEOperation, initEOperation, initEOperation, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initEReference, initializeFromLoadedEPackage, setEFactoryInstance, setExtendedMetaData, setGeneratedClassName, setInstanceTypeName, setNamespaceURI, setNsPrefix, setNsURI, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl
eContents, eCrossReferences, getName, getNameGen, setName
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

init

public static LibPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize LibPackage.eINSTANCE when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.

See Also:
LibPackage.eNS_URI, createPackageContents(), initializePackageContents()

getLibrary

public EClass getLibrary()

Specified by:
getLibrary in interface LibPackage
Returns:
the meta object for class 'Library'.
See Also:
Library

getLibrary_Name

public EAttribute getLibrary_Name()

Specified by:
getLibrary_Name in interface LibPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Library.getName(), LibPackage.getLibrary()

getLibrary_Books

public EReference getLibrary_Books()

Specified by:
getLibrary_Books in interface LibPackage
Returns:
the meta object for the containment reference list 'Books'.
See Also:
Library.getBooks(), LibPackage.getLibrary()

getLibrary_Address

public EReference getLibrary_Address()

Specified by:
getLibrary_Address in interface LibPackage
Returns:
the meta object for the containment reference 'Address'.
See Also:
Library.getAddress(), LibPackage.getLibrary()

getLibrary_Writers

public EReference getLibrary_Writers()

Specified by:
getLibrary_Writers in interface LibPackage
Returns:
the meta object for the containment reference list 'Writers'.
See Also:
Library.getWriters(), LibPackage.getLibrary()

getLibrary_Cafeteria

public EReference getLibrary_Cafeteria()

Specified by:
getLibrary_Cafeteria in interface LibPackage
Returns:
the meta object for the containment reference 'Cafeteria'.
See Also:
Library.getCafeteria(), LibPackage.getLibrary()

getBook

public EClass getBook()

Specified by:
getBook in interface LibPackage
Returns:
the meta object for class 'Book'.
See Also:
Book

getBook_Title

public EAttribute getBook_Title()

Specified by:
getBook_Title in interface LibPackage
Returns:
the meta object for the attribute 'Title'.
See Also:
Book.getTitle(), LibPackage.getBook()

getAddress

public EClass getAddress()

Specified by:
getAddress in interface LibPackage
Returns:
the meta object for class 'Address'.
See Also:
Address

getAddress_PostalCode

public EAttribute getAddress_PostalCode()

Specified by:
getAddress_PostalCode in interface LibPackage
Returns:
the meta object for the attribute 'Postal Code'.
See Also:
Address.getPostalCode(), LibPackage.getAddress()

getPerson

public EClass getPerson()

Specified by:
getPerson in interface LibPackage
Returns:
the meta object for class 'Person'.
See Also:
Person

getPerson_Name

public EAttribute getPerson_Name()

Specified by:
getPerson_Name in interface LibPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Person.getName(), LibPackage.getPerson()

getPerson_Library

public EReference getPerson_Library()

Specified by:
getPerson_Library in interface LibPackage
Returns:
the meta object for the container reference 'Library'.
See Also:
Person.getLibrary(), LibPackage.getPerson()

getCafeteria

public EClass getCafeteria()

Specified by:
getCafeteria in interface LibPackage
Returns:
the meta object for class 'Cafeteria'.
See Also:
Cafeteria

getCafeteria_Name

public EAttribute getCafeteria_Name()

Specified by:
getCafeteria_Name in interface LibPackage
Returns:
the meta object for the attribute 'Name'.
See Also:
Cafeteria.getName(), LibPackage.getCafeteria()

getCafeteria_Library

public EReference getCafeteria_Library()

Specified by:
getCafeteria_Library in interface LibPackage
Returns:
the meta object for the container reference 'Library'.
See Also:
Cafeteria.getLibrary(), LibPackage.getCafeteria()

getLibFactory

public LibFactory getLibFactory()

Specified by:
getLibFactory in interface LibPackage
Returns:
the factory that creates the instances of the model.

createPackageContents

public void createPackageContents()
Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its first.


initializePackageContents

public void initializePackageContents()
Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any invocation but its first.


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