org.eclipse.ocl.examples.pivot.uml
Class UMLElementExtension

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.EObjectImpl
              extended by org.eclipse.emf.ecore.impl.DynamicEObjectImpl
                  extended by org.eclipse.ocl.examples.pivot.uml.UMLElementExtension
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject

public class UMLElementExtension
extends org.eclipse.emf.ecore.impl.DynamicEObjectImpl
implements org.eclipse.emf.common.notify.Adapter.Internal

UMLElementExtension reifies the extension of a UML element by a Stereotype application as an EObject.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.DynamicEObjectImpl
org.eclipse.emf.ecore.impl.DynamicEObjectImpl.BasicEMapEntry<K,V>, org.eclipse.emf.ecore.impl.DynamicEObjectImpl.DynamicEPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
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
protected  org.eclipse.uml2.uml.Stereotype umlDynamicStereotype
           
protected  org.eclipse.uml2.uml.Element umlElement
           
protected  org.eclipse.uml2.uml.Stereotype umlStaticStereotype
           
 
Fields inherited from class org.eclipse.emf.ecore.impl.DynamicEObjectImpl
eClass, ENO_SETTINGS, eSettings
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
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.ecore.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
UMLElementExtension(org.eclipse.uml2.uml.Element umlElement, org.eclipse.uml2.uml.Stereotype umlDynamicStereotype, org.eclipse.uml2.uml.Stereotype umlStaticStereotype)
           
 
Method Summary
 org.eclipse.uml2.uml.Stereotype getDynamicStereotype()
           
 org.eclipse.uml2.uml.Stereotype getStaticStereotype()
           
 org.eclipse.uml2.uml.Element getTarget()
           
static java.lang.Object getUMLElementExtension(Stereotype staticType, org.eclipse.uml2.uml.Element umlElement)
           
 java.lang.Object getValue(IdResolver idResolver, Property property)
           
 boolean isAdapterForType(java.lang.Object type)
           
 void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
           
 void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
           
 void unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget)
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.DynamicEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eClass, eDerivedOperationID, eDerivedStructuralFeatureID, eDynamicClass, eHasSettings, eInvoke, eProperties, eSetClass, eSettings, eStaticFeatureCount, eStaticOperationCount
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetDeliver, eSetProxyURI, eStaticClass
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStore, eUnset, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, 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.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

umlElement

@NonNull
protected final org.eclipse.uml2.uml.Element umlElement

umlDynamicStereotype

@NonNull
protected final org.eclipse.uml2.uml.Stereotype umlDynamicStereotype

umlStaticStereotype

@NonNull
protected final org.eclipse.uml2.uml.Stereotype umlStaticStereotype
Constructor Detail

UMLElementExtension

public UMLElementExtension(@NonNull
                           org.eclipse.uml2.uml.Element umlElement,
                           @NonNull
                           org.eclipse.uml2.uml.Stereotype umlDynamicStereotype,
                           @NonNull
                           org.eclipse.uml2.uml.Stereotype umlStaticStereotype)
Method Detail

getUMLElementExtension

public static java.lang.Object getUMLElementExtension(@NonNull
                                                      Stereotype staticType,
                                                      @NonNull
                                                      org.eclipse.uml2.uml.Element umlElement)

getDynamicStereotype

@NonNull
public org.eclipse.uml2.uml.Stereotype getDynamicStereotype()

getStaticStereotype

@NonNull
public org.eclipse.uml2.uml.Stereotype getStaticStereotype()

getTarget

@NonNull
public org.eclipse.uml2.uml.Element getTarget()
Specified by:
getTarget in interface org.eclipse.emf.common.notify.Adapter

getValue

public java.lang.Object getValue(IdResolver idResolver,
                                 @NonNull
                                 Property property)

isAdapterForType

public boolean isAdapterForType(java.lang.Object type)
Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter

notifyChanged

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

setTarget

public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter

unsetTarget

public void unsetTarget(org.eclipse.emf.common.notify.Notifier oldTarget)
Specified by:
unsetTarget in interface org.eclipse.emf.common.notify.Adapter.Internal