org.eclipse.emf.test.models.library.impl
Class LibraryPackageImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.EModelElementImpl
org.eclipse.emf.ecore.impl.ENamedElementImpl
org.eclipse.emf.ecore.impl.EPackageImpl
org.eclipse.emf.test.models.library.impl.LibraryPackageImpl
- All Implemented Interfaces:
- Notifier, EModelElement, ENamedElement, EObject, EPackage, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, BasicExtendedMetaData.EPackageExtendedMetaData.Holder, LibraryPackage
public class LibraryPackageImpl
- extends EPackageImpl
- implements LibraryPackage
An implementation of the model Package.
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 interface org.eclipse.emf.test.models.library.LibraryPackage |
BOOK, BOOK__AUTHOR, BOOK__CATEGORY, BOOK__PAGES, BOOK__TITLE, BOOK_CATEGORY, BOOK_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, LIBRARY, LIBRARY__BOOKS, LIBRARY__NAME, LIBRARY__WRITERS, LIBRARY_FEATURE_COUNT, WRITER, WRITER__BOOKS, WRITER__NAME, WRITER_FEATURE_COUNT |
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.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
init
public static LibraryPackage init()
- Creates, registers, and initializes the Package for this
model, and for any others upon which it depends. Simple
dependencies are satisfied by calling this method on all
dependent packages before doing anything else. This method drives
initialization for interdependent packages directly, in parallel
with this package, itself.
Of this package and its interdependencies, all packages which
have not yet been registered by their URI values are first created
and registered. The packages are then initialized in two steps:
meta-model objects for all of the packages are created before any
are initialized, since one package's meta-model objects may refer to
those of another.
Invocation of this method will not affect any packages that have
already been initialized.
- See Also:
LibraryPackage.eNS_URI
,
createPackageContents()
,
initializePackageContents()
getBook
public EClass getBook()
-
- Specified by:
getBook
in interface LibraryPackage
- Returns:
- the meta object for class 'Book'.
- See Also:
Book
getBook_Title
public EAttribute getBook_Title()
-
- Specified by:
getBook_Title
in interface LibraryPackage
- Returns:
- the meta object for the attribute 'Title'.
- See Also:
Book.getTitle()
,
LibraryPackage.getBook()
getBook_Pages
public EAttribute getBook_Pages()
-
- Specified by:
getBook_Pages
in interface LibraryPackage
- Returns:
- the meta object for the attribute 'Pages'.
- See Also:
Book.getPages()
,
LibraryPackage.getBook()
getBook_Category
public EAttribute getBook_Category()
-
- Specified by:
getBook_Category
in interface LibraryPackage
- Returns:
- the meta object for the attribute 'Category'.
- See Also:
Book.getCategory()
,
LibraryPackage.getBook()
getBook_Author
public EReference getBook_Author()
-
- Specified by:
getBook_Author
in interface LibraryPackage
- Returns:
- the meta object for the reference 'Author'.
- See Also:
Book.getAuthor()
,
LibraryPackage.getBook()
getLibrary
public EClass getLibrary()
-
- Specified by:
getLibrary
in interface LibraryPackage
- Returns:
- the meta object for class 'Library'.
- See Also:
Library
getLibrary_Name
public EAttribute getLibrary_Name()
-
- Specified by:
getLibrary_Name
in interface LibraryPackage
- Returns:
- the meta object for the attribute 'Name'.
- See Also:
Library.getName()
,
LibraryPackage.getLibrary()
getLibrary_Writers
public EReference getLibrary_Writers()
-
- Specified by:
getLibrary_Writers
in interface LibraryPackage
- Returns:
- the meta object for the containment reference list 'Writers'.
- See Also:
Library.getWriters()
,
LibraryPackage.getLibrary()
getLibrary_Books
public EReference getLibrary_Books()
-
- Specified by:
getLibrary_Books
in interface LibraryPackage
- Returns:
- the meta object for the containment reference list 'Books'.
- See Also:
Library.getBooks()
,
LibraryPackage.getLibrary()
getWriter
public EClass getWriter()
-
- Specified by:
getWriter
in interface LibraryPackage
- Returns:
- the meta object for class 'Writer'.
- See Also:
Writer
getWriter_Name
public EAttribute getWriter_Name()
-
- Specified by:
getWriter_Name
in interface LibraryPackage
- Returns:
- the meta object for the attribute 'Name'.
- See Also:
Writer.getName()
,
LibraryPackage.getWriter()
getWriter_Books
public EReference getWriter_Books()
-
- Specified by:
getWriter_Books
in interface LibraryPackage
- Returns:
- the meta object for the reference list 'Books'.
- See Also:
Writer.getBooks()
,
LibraryPackage.getWriter()
getBookCategory
public EEnum getBookCategory()
-
- Specified by:
getBookCategory
in interface LibraryPackage
- Returns:
- the meta object for enum 'Book Category'.
- See Also:
BookCategory
getLibraryFactory
public LibraryFactory getLibraryFactory()
-
- Specified by:
getLibraryFactory
in interface LibraryPackage
- 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.