org.eclipse.emf.henshin.wrap.impl
Class WrapFactoryImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.emf.henshin.wrap.impl.WrapFactoryImpl
All Implemented Interfaces:
Notifier, EFactory, EModelElement, EObject, EStructuralFeature.Internal.DynamicValueHolder, InternalEObject, WrapFactory

public class WrapFactoryImpl
extends EFactoryImpl
implements WrapFactory

An implementation of the model Factory.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
EDATE_FORMATS, ePackage
 
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.henshin.wrap.WrapFactory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
WrapFactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 EObject create(EClass eClass)
           
 WLink createWLink()
           
 Map<EObject,WObject> createWModel(Collection<EObject> eObjects, boolean activateSync)
           
 Map<EObject,WObject> createWModelGraph(Collection<EObject> eObjects, boolean activateSync)
           
 Map<EObject,WObject> createWModelTree(Collection<EObject> eObjects, boolean activateSync)
           
 WObject createWObject()
           
 WValue createWValue()
           
static WrapPackage getPackage()
          Deprecated.  
 WrapPackage getWrapPackage()
           
static WrapFactory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicCreate, basicSetEPackage, collapseWhiteSpace, convertToString, convertToString, createFromString, createFromString, eGet, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eSet, eStaticClass, eUnset, getEPackage, replaceWhiteSpace, setEPackage, split
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, 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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Constructor Detail

WrapFactoryImpl

public WrapFactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static WrapFactory init()
Creates the default factory implementation.


create

public EObject create(EClass eClass)

Specified by:
create in interface EFactory
Overrides:
create in class EFactoryImpl

createWObject

public WObject createWObject()

Specified by:
createWObject in interface WrapFactory
Returns:
a new object of class 'WObject'.

createWLink

public WLink createWLink()

Specified by:
createWLink in interface WrapFactory
Returns:
a new object of class 'WLink'.

createWValue

public WValue createWValue()

Specified by:
createWValue in interface WrapFactory
Returns:
a new object of class 'WValue'.

createWModel

public Map<EObject,WObject> createWModel(Collection<EObject> eObjects,
                                         boolean activateSync)

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

createWModelTree

public Map<EObject,WObject> createWModelTree(Collection<EObject> eObjects,
                                             boolean activateSync)

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

createWModelGraph

public Map<EObject,WObject> createWModelGraph(Collection<EObject> eObjects,
                                              boolean activateSync)

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

getWrapPackage

public WrapPackage getWrapPackage()

Specified by:
getWrapPackage in interface WrapFactory
Returns:
the package supported by this factory.

getPackage

@Deprecated
public static WrapPackage getPackage()
Deprecated.