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

All Superinterfaces:
EFactory, EModelElement, EObject, Notifier
All Known Implementing Classes:
LibFactoryImpl

public interface LibFactory
extends EFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
LibPackage

Field Summary
static LibFactory eINSTANCE
          The singleton instance of the factory
 
Method Summary
 Address createAddress()
          Returns a new object of class 'Address'
 Book createBook()
          Returns a new object of class 'Book'
 Cafeteria createCafeteria()
          Returns a new object of class 'Cafeteria'
 Library createLibrary()
          Returns a new object of class 'Library'
 Person createPerson()
          Returns a new object of class 'Person'
 LibPackage getLibPackage()
          Returns the package supported by this factory
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, getEPackage, setEPackage
 
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

eINSTANCE

static final LibFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createLibrary

Library createLibrary()
Returns a new object of class 'Library'.

Returns:
a new object of class 'Library'.

createBook

Book createBook()
Returns a new object of class 'Book'.

Returns:
a new object of class 'Book'.

createAddress

Address createAddress()
Returns a new object of class 'Address'.

Returns:
a new object of class 'Address'.

createPerson

Person createPerson()
Returns a new object of class 'Person'.

Returns:
a new object of class 'Person'.

createCafeteria

Cafeteria createCafeteria()
Returns a new object of class 'Cafeteria'.

Returns:
a new object of class 'Cafeteria'.

getLibPackage

LibPackage getLibPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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