org.eclipse.emf.mapping.impl
Class MappingHelperImpl

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.NotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.EObjectImpl
              |
              +--org.eclipse.emf.mapping.impl.MappingHelperImpl
All Implemented Interfaces:
EObject, InternalEObject, MappingHelper, Notifier
Direct Known Subclasses:
MappingStrategyImpl, TypeConverterImpl

public class MappingHelperImpl
extends EObjectImpl
implements MappingHelper

An implementation of the model object 'Helper'.

The following features are implemented:


Inner classes inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
EObjectImpl.EPropertiesHolder, EObjectImpl.EPropertiesHolderImpl
 
Field Summary
protected  EObject helpedObject
          The cached value of the 'Helped Object' reference.
protected  EList nested
          The cached value of the 'Nested' containment reference list.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eContainer, eContainerFeatureID, ELAST_EOBJECT_FLAG, eProperties
 
Fields inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected MappingHelperImpl()
          
 
Method Summary
 EObject basicGetHelpedObject()
          
 NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
          
 java.lang.Object eGet(EStructuralFeature eFeature, boolean resolve)
          
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
          
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, java.lang.Class baseClass, NotificationChain msgs)
          
 boolean eIsSet(EStructuralFeature eFeature)
          
 void eSet(EStructuralFeature eFeature, java.lang.Object newValue)
          
protected  EClass eStaticClass()
          
 void eUnset(EStructuralFeature eFeature)
          
 EObject getHelpedObject()
          
 Mapping getMapper()
          
 EList getNested()
          
 MappingHelper getNestedIn()
          
 void setHelpedObject(EObject newHelpedObject)
          
 void setMapper(Mapping newMapper)
          
 void setNestedIn(MappingHelper newNestedIn)
          
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eIsProxy, eObjectForURIFragmentSegment, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eURIFragmentSegment, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eNotificationRequired, eNotify, eSetDeliver
 
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, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

helpedObject

protected EObject helpedObject
The cached value of the 'Helped Object' reference.
See Also:
getHelpedObject()

nested

protected EList nested
The cached value of the 'Nested' containment reference list.
See Also:
getNested()
Constructor Detail

MappingHelperImpl

protected MappingHelperImpl()
Method Detail

eStaticClass

protected EClass eStaticClass()
Overrides:
eStaticClass in class EObjectImpl

getMapper

public Mapping getMapper()
Specified by:
getMapper in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Returns:
the value of the 'Mapper' container reference.
See Also:
MappingHelper.setMapper(Mapping), MappingPackage.getMappingHelper_Mapper(), Mapping.getHelper()

setMapper

public void setMapper(Mapping newMapper)
Specified by:
setMapper in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Parameters:
value - the new value of the 'Mapper' container reference.
See Also:
MappingHelper.getMapper()

getHelpedObject

public EObject getHelpedObject()
Specified by:
getHelpedObject in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Returns:
the value of the 'Helped Object' reference.
See Also:
MappingHelper.setHelpedObject(EObject), MappingPackage.getMappingHelper_HelpedObject()

basicGetHelpedObject

public EObject basicGetHelpedObject()

setHelpedObject

public void setHelpedObject(EObject newHelpedObject)
Specified by:
setHelpedObject in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Parameters:
value - the new value of the 'Helped Object' reference.
See Also:
MappingHelper.getHelpedObject()

getNestedIn

public MappingHelper getNestedIn()
Specified by:
getNestedIn in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Returns:
the value of the 'Nested In' container reference.
See Also:
MappingHelper.setNestedIn(MappingHelper), MappingPackage.getMappingHelper_NestedIn(), MappingHelper.getNested()

setNestedIn

public void setNestedIn(MappingHelper newNestedIn)
Specified by:
setNestedIn in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Parameters:
value - the new value of the 'Nested In' container reference.
See Also:
MappingHelper.getNestedIn()

getNested

public EList getNested()
Specified by:
getNested in interface MappingHelper
Following copied from interface: org.eclipse.emf.mapping.MappingHelper
Returns:
the value of the 'Nested' containment reference list.
See Also:
MappingPackage.getMappingHelper_Nested(), MappingHelper.getNestedIn()

eInverseAdd

public NotificationChain eInverseAdd(InternalEObject otherEnd,
                                     int featureID,
                                     java.lang.Class baseClass,
                                     NotificationChain msgs)
Overrides:
eInverseAdd in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        java.lang.Class baseClass,
                                        NotificationChain msgs)
Overrides:
eInverseRemove in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eBasicRemoveFromContainer

public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
Overrides:
eBasicRemoveFromContainer in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.InternalEObject
Returns:
accumulated notifications.

eGet

public java.lang.Object eGet(EStructuralFeature eFeature,
                             boolean resolve)
Specified by:
eGet in interface EObject
Overrides:
eGet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to fetch.
resolve - whether to resolve.
Returns:
the value of the given feature of the object.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
InternalEList.basicIterator(), InternalEList.basicList(), EcoreUtil.resolve(EObject, ResourceSet), EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature)

eSet

public void eSet(EStructuralFeature eFeature,
                 java.lang.Object newValue)
Specified by:
eSet in interface EObject
Overrides:
eSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature of the value to set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
java.lang.ClassCastException - if there is a type conflict.
ArrayStoreException - if there is a type conflect.
See Also:
EObject.eUnset(EStructuralFeature), EObject.eIsSet(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

eUnset

public void eUnset(EStructuralFeature eFeature)
Specified by:
eUnset in interface EObject
Overrides:
eUnset in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features, or it isn't changeable.
See Also:
EObject.eIsSet(EStructuralFeature), EObject.eSet(EStructuralFeature, Object), EObject.eGet(EStructuralFeature, boolean)

eIsSet

public boolean eIsSet(EStructuralFeature eFeature)
Specified by:
eIsSet in interface EObject
Overrides:
eIsSet in class EObjectImpl
Following copied from interface: org.eclipse.emf.ecore.EObject
Parameters:
feature - the feature in question.
Returns:
whether the feature of the object is set.
Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's features.
See Also:
EObject.eSet(EStructuralFeature, Object), EObject.eUnset(EStructuralFeature), EObject.eGet(EStructuralFeature, boolean)

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.