Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. EMF Generator Patterns > Factories and Packages

10.8. Factories and Packages

So far, we have looked at the interfaces and classes that correspond to the EClassifiers contained in an EPackage. In addition to these, EMF by default generates two interfaces, along with implementations, corresponding to the EPackage itself: a package and a factory.

The package provides some static constants and convenience methods for accessing the metadata for the classifiers defined in the EPackage, while the factory, as its name implies, allows for their instantiation.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint