org.eclipse.emf.ecore.xcore
Interface XcoreFactory

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

public interface XcoreFactory
extends EFactory

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

See Also:
XcorePackage

Field Summary
static XcoreFactory eINSTANCE
          The singleton instance of the factory
 
Method Summary
 XAnnotation createXAnnotation()
          Returns a new object of class 'XAnnotation'
 XAnnotationDirective createXAnnotationDirective()
          Returns a new object of class 'XAnnotation Directive'
 XAttribute createXAttribute()
          Returns a new object of class 'XAttribute'
 XClass createXClass()
          Returns a new object of class 'XClass'
 XDataType createXDataType()
          Returns a new object of class 'XData Type'
 XEnum createXEnum()
          Returns a new object of class 'XEnum'
 XEnumLiteral createXEnumLiteral()
          Returns a new object of class 'XEnum Literal'
 XGenericType createXGenericType()
          Returns a new object of class 'XGeneric Type'
 XImportDirective createXImportDirective()
          Returns a new object of class 'XImport Directive'
 XOperation createXOperation()
          Returns a new object of class 'XOperation'
 XPackage createXPackage()
          Returns a new object of class 'XPackage'
 XParameter createXParameter()
          Returns a new object of class 'XParameter'
 XReference createXReference()
          Returns a new object of class 'XReference'
 XTypeParameter createXTypeParameter()
          Returns a new object of class 'XType Parameter'
 XcorePackage getXcorePackage()
          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 XcoreFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createXAnnotation

XAnnotation createXAnnotation()
Returns a new object of class 'XAnnotation'.

Returns:
a new object of class 'XAnnotation'.

createXAnnotationDirective

XAnnotationDirective createXAnnotationDirective()
Returns a new object of class 'XAnnotation Directive'.

Returns:
a new object of class 'XAnnotation Directive'.

createXAttribute

XAttribute createXAttribute()
Returns a new object of class 'XAttribute'.

Returns:
a new object of class 'XAttribute'.

createXClass

XClass createXClass()
Returns a new object of class 'XClass'.

Returns:
a new object of class 'XClass'.

createXDataType

XDataType createXDataType()
Returns a new object of class 'XData Type'.

Returns:
a new object of class 'XData Type'.

createXEnum

XEnum createXEnum()
Returns a new object of class 'XEnum'.

Returns:
a new object of class 'XEnum'.

createXEnumLiteral

XEnumLiteral createXEnumLiteral()
Returns a new object of class 'XEnum Literal'.

Returns:
a new object of class 'XEnum Literal'.

createXOperation

XOperation createXOperation()
Returns a new object of class 'XOperation'.

Returns:
a new object of class 'XOperation'.

createXPackage

XPackage createXPackage()
Returns a new object of class 'XPackage'.

Returns:
a new object of class 'XPackage'.

createXParameter

XParameter createXParameter()
Returns a new object of class 'XParameter'.

Returns:
a new object of class 'XParameter'.

createXReference

XReference createXReference()
Returns a new object of class 'XReference'.

Returns:
a new object of class 'XReference'.

createXGenericType

XGenericType createXGenericType()
Returns a new object of class 'XGeneric Type'.

Returns:
a new object of class 'XGeneric Type'.

createXImportDirective

XImportDirective createXImportDirective()
Returns a new object of class 'XImport Directive'.

Returns:
a new object of class 'XImport Directive'.

createXTypeParameter

XTypeParameter createXTypeParameter()
Returns a new object of class 'XType Parameter'.

Returns:
a new object of class 'XType Parameter'.

getXcorePackage

XcorePackage getXcorePackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

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