org.eclipse.emf.henshin.wrap
Interface WrapFactory

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

public interface WrapFactory
extends EFactory

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

See Also:
WrapPackage

Field Summary
static WrapFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 WLink createWLink()
          Returns a new object of class 'WLink'.
 Map<EObject,WObject> createWModel(Collection<EObject> eObjects, boolean activateSync)
          Create a WModel for a given set of EObjects.
 Map<EObject,WObject> createWModelGraph(Collection<EObject> eObjects, boolean activateSync)
          Create a WModel for a given set of EObjects and all their transitively reachable EObjects.
 Map<EObject,WObject> createWModelTree(Collection<EObject> eObjects, boolean activateSync)
          Create a WModel for a given set of EObjects and all their transitively contained EObjects.
 WObject createWObject()
          Returns a new object of class 'WObject'.
 WValue createWValue()
          Returns a new object of class 'WValue'.
 WrapPackage getWrapPackage()
          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 WrapFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createWObject

WObject createWObject()
Returns a new object of class 'WObject'.

Returns:
a new object of class 'WObject'.

createWLink

WLink createWLink()
Returns a new object of class 'WLink'.

Returns:
a new object of class 'WLink'.

createWValue

WValue createWValue()
Returns a new object of class 'WValue'.

Returns:
a new object of class 'WValue'.

createWModel

Map<EObject,WObject> createWModel(Collection<EObject> eObjects,
                                  boolean activateSync)
Create a WModel for a given set of EObjects.

Parameters:
eObjects - A collection of EObjects.
activateSync - true if the synchronization should be activated.
Returns:
A map associating EObjects with their wrapper WObjects.

createWModelTree

Map<EObject,WObject> createWModelTree(Collection<EObject> eObjects,
                                      boolean activateSync)
Create a WModel for a given set of EObjects and all their transitively contained EObjects.

Parameters:
eObjects - A collection of EObjects.
activateSync - true if the synchronization should be activated.
Returns:
A map associating EObjects with their wrapper WObjects.

createWModelGraph

Map<EObject,WObject> createWModelGraph(Collection<EObject> eObjects,
                                       boolean activateSync)
Create a WModel for a given set of EObjects and all their transitively reachable EObjects.

Parameters:
eObjects - A collection of EObjects.
activateSync - true if the synchronization should be activated.
Returns:
A map associating EObjects with their wrapper WObjects.

getWrapPackage

WrapPackage getWrapPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.