org.eclipse.gmt.umlx.alien.adapter
Class AlienExtensionAdapter
java.lang.Object
org.eclipse.gmt.umlx.alien.adapter.AlienEObjectAdapter
org.eclipse.gmt.umlx.alien.adapter.AlienExtensionAdapter
- 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, org.eclipse.emf.ecore.xml.type.AnyType
public class AlienExtensionAdapter
- extends AlienEObjectAdapter
- implements org.eclipse.emf.ecore.xml.type.AnyType
An AlienExtensionAdapter behaves an EObject for an element of an alien model adapting
an ecore model in the same way as AlienEObjectAdapter but maintains the adapted ecore
state as AnyType feature maps, so that they are correctly serialised when saved as XMI.
The adapted state is typically only transiently valid between the presSave and postSave
serialisation phases.
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 |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Method Summary |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
|
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean resolve)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature)
|
org.eclipse.emf.ecore.util.FeatureMap |
getAny()
|
org.eclipse.emf.ecore.util.FeatureMap |
getAnyAttribute()
|
org.eclipse.emf.ecore.util.FeatureMap |
getMixed()
|
void |
postLoad()
|
void |
preSave()
|
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, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eIsSet, eNotificationRequired, eNotify, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eResource, eSet, eSet, eSetClass, eSetDeliver, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eUnset, eURIFragmentSegment, getMappingMetaData, getTarget, isAdapterForType, notifyChanged, setTarget, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eIsProxy, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
eAdapters, eDeliver, eNotify, eSetDeliver |
AlienExtensionAdapter
public AlienExtensionAdapter(EClassMap eClassMap,
org.eclipse.emf.ecore.EObject target)
eGet
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature)
- Specified by:
eGet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eGet
in class AlienEObjectAdapter
eGet
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean resolve)
- Specified by:
eGet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eGet
in class AlienEObjectAdapter
eIsSet
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature feature)
- Specified by:
eIsSet
in interface org.eclipse.emf.ecore.EObject
- Overrides:
eIsSet
in class AlienEObjectAdapter
getAny
public org.eclipse.emf.ecore.util.FeatureMap getAny()
- Specified by:
getAny
in interface org.eclipse.emf.ecore.xml.type.AnyType
getAnyAttribute
public org.eclipse.emf.ecore.util.FeatureMap getAnyAttribute()
- Specified by:
getAnyAttribute
in interface org.eclipse.emf.ecore.xml.type.AnyType
getMixed
public org.eclipse.emf.ecore.util.FeatureMap getMixed()
- Specified by:
getMixed
in interface org.eclipse.emf.ecore.xml.type.AnyType
postLoad
public void postLoad()
- Overrides:
postLoad
in class AlienEObjectAdapter
preSave
public void preSave()
- Overrides:
preSave
in class AlienEObjectAdapter