org.eclipse.gmt.umlx.alien.adapter
Class AlienEFactoryAdapter

java.lang.Object
  extended by org.eclipse.gmt.umlx.alien.adapter.AlienEFactoryAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject

public class AlienEFactoryAdapter
extends java.lang.Object
implements org.eclipse.emf.ecore.EFactory

An AlienEFactoryAdapter is used in place of the normal EFactoryImpl for an alien model adapting an ecore model. All functionality except creation is delegated to the standard factory. Creation is passed to the mappingMetaData so that the appropriate adapter is created.


Constructor Summary
AlienEFactoryAdapter(MappingMetaData mappingMetaData, org.eclipse.emf.ecore.EFactory adaptedEFactory)
           
 
Method Summary
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType dataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType dataType, java.lang.String literalValue)
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
           
 org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> eAllContents()
           
 org.eclipse.emf.ecore.EClass eClass()
           
 org.eclipse.emf.ecore.EObject eContainer()
           
 org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
           
 org.eclipse.emf.ecore.EReference eContainmentFeature()
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
           
 boolean eDeliver()
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature, boolean resolve)
           
 boolean eIsProxy()
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 void eNotify(org.eclipse.emf.common.notify.Notification notification)
           
 org.eclipse.emf.ecore.resource.Resource eResource()
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object newValue)
           
 void eSetDeliver(boolean deliver)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 org.eclipse.emf.ecore.EAnnotation getEAnnotation(java.lang.String source)
           
 org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAnnotation> getEAnnotations()
           
 org.eclipse.emf.ecore.EPackage getEPackage()
           
 void setEPackage(org.eclipse.emf.ecore.EPackage value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlienEFactoryAdapter

public AlienEFactoryAdapter(MappingMetaData mappingMetaData,
                            org.eclipse.emf.ecore.EFactory adaptedEFactory)
Method Detail

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType dataType,
                                        java.lang.Object instanceValue)
Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory

create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
Specified by:
create in interface org.eclipse.emf.ecore.EFactory

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType dataType,
                                         java.lang.String literalValue)
Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory

getEPackage

public org.eclipse.emf.ecore.EPackage getEPackage()
Specified by:
getEPackage in interface org.eclipse.emf.ecore.EFactory

setEPackage

public void setEPackage(org.eclipse.emf.ecore.EPackage value)
Specified by:
setEPackage in interface org.eclipse.emf.ecore.EFactory

getEAnnotation

public org.eclipse.emf.ecore.EAnnotation getEAnnotation(java.lang.String source)
Specified by:
getEAnnotation in interface org.eclipse.emf.ecore.EModelElement

getEAnnotations

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EAnnotation> getEAnnotations()
Specified by:
getEAnnotations in interface org.eclipse.emf.ecore.EModelElement

eAllContents

public org.eclipse.emf.common.util.TreeIterator<org.eclipse.emf.ecore.EObject> eAllContents()
Specified by:
eAllContents in interface org.eclipse.emf.ecore.EObject

eClass

public org.eclipse.emf.ecore.EClass eClass()
Specified by:
eClass in interface org.eclipse.emf.ecore.EObject

eContainer

public org.eclipse.emf.ecore.EObject eContainer()
Specified by:
eContainer in interface org.eclipse.emf.ecore.EObject

eContainingFeature

public org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
Specified by:
eContainingFeature in interface org.eclipse.emf.ecore.EObject

eContainmentFeature

public org.eclipse.emf.ecore.EReference eContainmentFeature()
Specified by:
eContainmentFeature in interface org.eclipse.emf.ecore.EObject

eContents

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eContents()
Specified by:
eContents in interface org.eclipse.emf.ecore.EObject

eCrossReferences

public org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject> eCrossReferences()
Specified by:
eCrossReferences in interface org.eclipse.emf.ecore.EObject

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature,
                             boolean resolve)
Specified by:
eGet in interface org.eclipse.emf.ecore.EObject

eIsProxy

public boolean eIsProxy()
Specified by:
eIsProxy in interface org.eclipse.emf.ecore.EObject

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature)
Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject

eResource

public org.eclipse.emf.ecore.resource.Resource eResource()
Specified by:
eResource in interface org.eclipse.emf.ecore.EObject

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature feature,
                 java.lang.Object newValue)
Specified by:
eSet in interface org.eclipse.emf.ecore.EObject

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject

eAdapters

public org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> eAdapters()
Specified by:
eAdapters in interface org.eclipse.emf.common.notify.Notifier

eDeliver

public boolean eDeliver()
Specified by:
eDeliver in interface org.eclipse.emf.common.notify.Notifier

eNotify

public void eNotify(org.eclipse.emf.common.notify.Notification notification)
Specified by:
eNotify in interface org.eclipse.emf.common.notify.Notifier

eSetDeliver

public void eSetDeliver(boolean deliver)
Specified by:
eSetDeliver in interface org.eclipse.emf.common.notify.Notifier