org.eclipse.emf.java
Interface JavaFactory

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

public interface JavaFactory
extends EFactory

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

See Also:
JavaPackage

Field Summary
static JavaFactory eINSTANCE
          The singleton instance of the factory
 
Method Summary
 JClass createJClass()
          Returns a new object of class 'JClass'
 JCompilationUnit createJCompilationUnit()
          Returns a new object of class 'JCompilation Unit'
 JField createJField()
          Returns a new object of class 'JField'
 JInitializer createJInitializer()
          Returns a new object of class 'JInitializer'
 JMethod createJMethod()
          Returns a new object of class 'JMethod'
 JPackage createJPackage()
          Returns a new object of class 'JPackage'
 JParameter createJParameter()
          Returns a new object of class 'JParameter'
 JavaPackage getJavaPackage()
          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 JavaFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createJClass

JClass createJClass()
Returns a new object of class 'JClass'.

Returns:
a new object of class 'JClass'.

createJCompilationUnit

JCompilationUnit createJCompilationUnit()
Returns a new object of class 'JCompilation Unit'.

Returns:
a new object of class 'JCompilation Unit'.

createJField

JField createJField()
Returns a new object of class 'JField'.

Returns:
a new object of class 'JField'.

createJInitializer

JInitializer createJInitializer()
Returns a new object of class 'JInitializer'.

Returns:
a new object of class 'JInitializer'.

createJMethod

JMethod createJMethod()
Returns a new object of class 'JMethod'.

Returns:
a new object of class 'JMethod'.

createJParameter

JParameter createJParameter()
Returns a new object of class 'JParameter'.

Returns:
a new object of class 'JParameter'.

createJPackage

JPackage createJPackage()
Returns a new object of class 'JPackage'.

Returns:
a new object of class 'JPackage'.

getJavaPackage

JavaPackage getJavaPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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