org.eclipse.gmt.umlx.emof.adapter
Class EMOFPropertyAdapter

java.lang.Object
  extended by org.eclipse.gmt.umlx.alien.adapter.AlienEObjectAdapter
      extended by org.eclipse.gmt.umlx.emof.adapter.EMOFPropertyAdapter
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class EMOFPropertyAdapter
extends AlienEObjectAdapter

An EMOFPropertyAdapter provides the alien EMOF Property model element that adapts an Ecore model EStructuralFeature element maintaining the Ecore element as an EAttributeOrEReference until such time as it can be determined whether an EAttribute or EReference is appropriate.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
EMOFPropertyAdapter(EClassMap eClassMap, EAttributeOrEReference target)
           
 
Method Summary
 void eSet(org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object newValue)
          Setting any dfeature that is distinctively EReference or EAttribute is intercepted to resolve the Ecore element.
 void postLoad()
           
 void resolveProxy(org.eclipse.emf.ecore.EObject alienObject)
           
 
Methods inherited from class org.eclipse.gmt.umlx.alien.adapter.AlienEObjectAdapter
eAdapters, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eGet, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eIsSet, eIsSet, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eResource, eSet, eSetClass, eSetDeliver, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eUnset, eURIFragmentSegment, getMappingMetaData, getTarget, isAdapterForType, notifyChanged, preSave, setTarget, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EMOFPropertyAdapter

public EMOFPropertyAdapter(EClassMap eClassMap,
                           EAttributeOrEReference target)
Method Detail

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature feature,
                 java.lang.Object newValue)
Setting any dfeature that is distinctively EReference or EAttribute is intercepted to resolve the Ecore element.

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class AlienEObjectAdapter

postLoad

public void postLoad()
Overrides:
postLoad in class AlienEObjectAdapter

resolveProxy

public void resolveProxy(org.eclipse.emf.ecore.EObject alienObject)