/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DataMapper getDataMapper () { if ( dataMapper != null && dataMapper.eIsProxy () ) { InternalEObject oldDataMapper = (InternalEObject)dataMapper; dataMapper = (DataMapper)eResolveProxy ( oldDataMapper ); if ( dataMapper != oldDataMapper ) { if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.VALUE_MAPPER__DATA_MAPPER, oldDataMapper, dataMapper ) ); } } return dataMapper; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DataMapper getDataMapper () { if ( dataMapper != null && dataMapper.eIsProxy () ) { InternalEObject oldDataMapper = (InternalEObject)dataMapper; dataMapper = (DataMapper)eResolveProxy ( oldDataMapper ); if ( dataMapper != oldDataMapper ) { InternalEObject newDataMapper = (InternalEObject)dataMapper; NotificationChain msgs = oldDataMapper.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, null, null ); if ( newDataMapper.eInternalContainer () == null ) { msgs = newDataMapper.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, oldDataMapper, dataMapper ) ); } } return dataMapper; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public DataMapper getDataMapper () { if ( dataMapper != null && dataMapper.eIsProxy () ) { InternalEObject oldDataMapper = (InternalEObject)dataMapper; dataMapper = (DataMapper)eResolveProxy ( oldDataMapper ); if ( dataMapper != oldDataMapper ) { InternalEObject newDataMapper = (InternalEObject)dataMapper; NotificationChain msgs = oldDataMapper.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, null, null ); if ( newDataMapper.eInternalContainer () == null ) { msgs = newDataMapper.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.DATA_MAPPER_SERVICE__DATA_MAPPER, oldDataMapper, dataMapper ) ); } } return dataMapper; }