org.eclipse.emf.ecp.validation.test.test.impl
Class TestPackageImpl

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.ecp.validation.test.test.impl.TestPackageImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.ENamedElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EPackage, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.ecore.util.BasicExtendedMetaData.EPackageExtendedMetaData.Holder, TestPackage

public class TestPackageImpl
extends org.eclipse.emf.ecore.impl.EPackageImpl
implements TestPackage

An implementation of the model Package.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecp.validation.test.test.TestPackage
TestPackage.Literals
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EPackage
org.eclipse.emf.ecore.EPackage.Descriptor, org.eclipse.emf.ecore.EPackage.Registry
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecp.validation.test.test.TestPackage
BOOK, BOOK__PAGES, BOOK__TITLE, BOOK__WRITERS, BOOK_FEATURE_COUNT, eINSTANCE, eNAME, eNS_PREFIX, eNS_URI, LIBRARY, LIBRARY__BOOKS, LIBRARY__NAME, LIBRARY__WRITERS, LIBRARY_FEATURE_COUNT, WRITER, WRITER__BIRTH_DATE, WRITER__BOOKS, WRITER__EMAIL, WRITER__FIRST_NAME, WRITER__LAST_NAME, WRITER__LIBRARY, WRITER__PSEUDONYM, WRITER_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.
 org.eclipse.emf.ecore.EAttribute getBook_Pages()
           
 org.eclipse.emf.ecore.EAttribute getBook_Title()
           
 org.eclipse.emf.ecore.EReference getBook_Writers()
           
 org.eclipse.emf.ecore.EClass getBook()
           
 org.eclipse.emf.ecore.EReference getLibrary_Books()
           
 org.eclipse.emf.ecore.EAttribute getLibrary_Name()
           
 org.eclipse.emf.ecore.EReference getLibrary_Writers()
           
 org.eclipse.emf.ecore.EClass getLibrary()
           
 TestFactory getTestFactory()
           
 org.eclipse.emf.ecore.EAttribute getWriter_BirthDate()
           
 org.eclipse.emf.ecore.EReference getWriter_Books()
           
 org.eclipse.emf.ecore.EAttribute getWriter_EMail()
           
 org.eclipse.emf.ecore.EAttribute getWriter_FirstName()
           
 org.eclipse.emf.ecore.EAttribute getWriter_LastName()
           
 org.eclipse.emf.ecore.EReference getWriter_Library()
           
 org.eclipse.emf.ecore.EAttribute getWriter_Pseudonym()
           
 org.eclipse.emf.ecore.EClass getWriter()
           
static TestPackage 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
basicGetESuperPackage, basicSetEFactoryInstance, eBasicRemoveFromContainerFeature, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eSet, eSetProxyURI, eUnset, freeze, getEClassifier, getEClassifierGen, getEClassifiers, getEFactoryInstance, getESubpackages, getESuperPackage, getExtendedMetaData, getNsPrefix, getNsURI, setEFactoryInstance, setExtendedMetaData, 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
eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eClass, eContainerFeatureID, eDeliver, eDirectResource, eIsProxy, eProxyURI, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, 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 TestPackage init()
Creates, registers, and initializes the Package for this model, and for any others upon which it depends.

This method is used to initialize TestPackage.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:
TestPackage.eNS_URI, createPackageContents(), initializePackageContents()

getLibrary

public org.eclipse.emf.ecore.EClass getLibrary()

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

getLibrary_Name

public org.eclipse.emf.ecore.EAttribute getLibrary_Name()

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

getLibrary_Writers

public org.eclipse.emf.ecore.EReference getLibrary_Writers()

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

getLibrary_Books

public org.eclipse.emf.ecore.EReference getLibrary_Books()

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

getWriter

public org.eclipse.emf.ecore.EClass getWriter()

Specified by:
getWriter in interface TestPackage
Returns:
the meta object for class 'Writer'.
See Also:
Writer

getWriter_FirstName

public org.eclipse.emf.ecore.EAttribute getWriter_FirstName()

Specified by:
getWriter_FirstName in interface TestPackage
Returns:
the meta object for the attribute 'First Name'.
See Also:
Writer.getFirstName(), TestPackage.getWriter()

getWriter_LastName

public org.eclipse.emf.ecore.EAttribute getWriter_LastName()

Specified by:
getWriter_LastName in interface TestPackage
Returns:
the meta object for the attribute 'Last Name'.
See Also:
Writer.getLastName(), TestPackage.getWriter()

getWriter_EMail

public org.eclipse.emf.ecore.EAttribute getWriter_EMail()

Specified by:
getWriter_EMail in interface TestPackage
Returns:
the meta object for the attribute 'EMail'.
See Also:
Writer.getEMail(), TestPackage.getWriter()

getWriter_BirthDate

public org.eclipse.emf.ecore.EAttribute getWriter_BirthDate()

Specified by:
getWriter_BirthDate in interface TestPackage
Returns:
the meta object for the attribute 'Birth Date'.
See Also:
Writer.getBirthDate(), TestPackage.getWriter()

getWriter_Books

public org.eclipse.emf.ecore.EReference getWriter_Books()

Specified by:
getWriter_Books in interface TestPackage
Returns:
the meta object for the reference list 'Books'.
See Also:
Writer.getBooks(), TestPackage.getWriter()

getWriter_Pseudonym

public org.eclipse.emf.ecore.EAttribute getWriter_Pseudonym()

Specified by:
getWriter_Pseudonym in interface TestPackage
Returns:
the meta object for the attribute 'Pseudonym'.
See Also:
Writer.isPseudonym(), TestPackage.getWriter()

getWriter_Library

public org.eclipse.emf.ecore.EReference getWriter_Library()

Specified by:
getWriter_Library in interface TestPackage
Returns:
the meta object for the container reference 'Library'.
See Also:
Writer.getLibrary(), TestPackage.getWriter()

getBook

public org.eclipse.emf.ecore.EClass getBook()

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

getBook_Title

public org.eclipse.emf.ecore.EAttribute getBook_Title()

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

getBook_Pages

public org.eclipse.emf.ecore.EAttribute getBook_Pages()

Specified by:
getBook_Pages in interface TestPackage
Returns:
the meta object for the attribute 'Pages'.
See Also:
Book.getPages(), TestPackage.getBook()

getBook_Writers

public org.eclipse.emf.ecore.EReference getBook_Writers()

Specified by:
getBook_Writers in interface TestPackage
Returns:
the meta object for the reference 'Writers'.
See Also:
Book.getWriters(), TestPackage.getBook()

getTestFactory

public TestFactory getTestFactory()

Specified by:
getTestFactory in interface TestPackage
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 © 2014. All Rights Reserved.