本文整理汇总了Java中org.eclipse.emf.ecore.InternalEObject.eInverseRemove方法的典型用法代码示例。如果您正苦于以下问题:Java InternalEObject.eInverseRemove方法的具体用法?Java InternalEObject.eInverseRemove怎么用?Java InternalEObject.eInverseRemove使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.emf.ecore.InternalEObject
的用法示例。
在下文中一共展示了InternalEObject.eInverseRemove方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getOutput
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public TypedItemReference getOutput ()
{
if ( output != null && output.eIsProxy () )
{
InternalEObject oldOutput = (InternalEObject)output;
output = (TypedItemReference)eResolveProxy ( oldOutput );
if ( output != oldOutput )
{
InternalEObject newOutput = (InternalEObject)output;
NotificationChain msgs = oldOutput.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM_OUTBOUND__OUTPUT, null, null );
if ( newOutput.eInternalContainer () == null )
{
msgs = newOutput.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM_OUTBOUND__OUTPUT, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.FORMULA_ITEM_OUTBOUND__OUTPUT, oldOutput, output ) );
}
}
return output;
}
示例2: getLineProperties
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public LineProperties getLineProperties ()
{
if ( lineProperties != null && lineProperties.eIsProxy () )
{
InternalEObject oldLineProperties = (InternalEObject)lineProperties;
lineProperties = (LineProperties)eResolveProxy ( oldLineProperties );
if ( lineProperties != oldLineProperties )
{
InternalEObject newLineProperties = (InternalEObject)lineProperties;
NotificationChain msgs = oldLineProperties.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.ARCHIVE_SERIES__LINE_PROPERTIES, null, null );
if ( newLineProperties.eInternalContainer () == null )
{
msgs = newLineProperties.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.ARCHIVE_SERIES__LINE_PROPERTIES, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ChartPackage.ARCHIVE_SERIES__LINE_PROPERTIES, oldLineProperties, lineProperties ) );
}
}
return lineProperties;
}
示例3: getUserService
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public UserService getUserService ()
{
if ( userService != null && userService.eIsProxy () )
{
InternalEObject oldUserService = (InternalEObject)userService;
userService = (UserService)eResolveProxy ( oldUserService );
if ( userService != oldUserService )
{
InternalEObject newUserService = (InternalEObject)userService;
NotificationChain msgs = oldUserService.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__USER_SERVICE, null, null );
if ( newUserService.eInternalContainer () == null )
{
msgs = newUserService.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__USER_SERVICE, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__USER_SERVICE, oldUserService, userService ) );
}
}
return userService;
}
示例4: getLineProperties
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public LineProperties getLineProperties ()
{
if ( lineProperties != null && lineProperties.eIsProxy () )
{
InternalEObject oldLineProperties = (InternalEObject)lineProperties;
lineProperties = (LineProperties)eResolveProxy ( oldLineProperties );
if ( lineProperties != oldLineProperties )
{
InternalEObject newLineProperties = (InternalEObject)lineProperties;
NotificationChain msgs = oldLineProperties.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.DATA_ITEM_SERIES__LINE_PROPERTIES, null, null );
if ( newLineProperties.eInternalContainer () == null )
{
msgs = newLineProperties.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.DATA_ITEM_SERIES__LINE_PROPERTIES, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ChartPackage.DATA_ITEM_SERIES__LINE_PROPERTIES, oldLineProperties, lineProperties ) );
}
}
return lineProperties;
}
示例5: getOptions
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Options getOptions ()
{
if ( options != null && options.eIsProxy () )
{
InternalEObject oldOptions = (InternalEObject)options;
options = (Options)eResolveProxy ( oldOptions );
if ( options != oldOptions )
{
InternalEObject newOptions = (InternalEObject)options;
NotificationChain msgs = oldOptions.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__OPTIONS, null, null );
if ( newOptions.eInternalContainer () == null )
{
msgs = newOptions.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__OPTIONS, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.WORLD__OPTIONS, oldOptions, options ) );
}
}
return options;
}
示例6: getDefaultLogonCredentials
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Credentials getDefaultLogonCredentials ()
{
if ( defaultLogonCredentials != null && defaultLogonCredentials.eIsProxy () )
{
InternalEObject oldDefaultLogonCredentials = (InternalEObject)defaultLogonCredentials;
defaultLogonCredentials = (Credentials)eResolveProxy ( oldDefaultLogonCredentials );
if ( defaultLogonCredentials != oldDefaultLogonCredentials )
{
InternalEObject newDefaultLogonCredentials = (InternalEObject)defaultLogonCredentials;
NotificationChain msgs = oldDefaultLogonCredentials.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - GlobalizePackage.GLOBALIZATION__DEFAULT_LOGON_CREDENTIALS, null, null );
if ( newDefaultLogonCredentials.eInternalContainer () == null )
{
msgs = newDefaultLogonCredentials.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - GlobalizePackage.GLOBALIZATION__DEFAULT_LOGON_CREDENTIALS, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, GlobalizePackage.GLOBALIZATION__DEFAULT_LOGON_CREDENTIALS, oldDefaultLogonCredentials, defaultLogonCredentials ) );
}
}
return defaultLogonCredentials;
}
示例7: getUpdateScript
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Script getUpdateScript ()
{
if ( updateScript != null && updateScript.eIsProxy () )
{
InternalEObject oldUpdateScript = (InternalEObject)updateScript;
updateScript = (Script)eResolveProxy ( oldUpdateScript );
if ( updateScript != oldUpdateScript )
{
InternalEObject newUpdateScript = (InternalEObject)updateScript;
NotificationChain msgs = oldUpdateScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__UPDATE_SCRIPT, null, null );
if ( newUpdateScript.eInternalContainer () == null )
{
msgs = newUpdateScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__UPDATE_SCRIPT, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.SCRIPT_MODULE__UPDATE_SCRIPT, oldUpdateScript, updateScript ) );
}
}
return updateScript;
}
示例8: getMarkers
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Markers getMarkers ()
{
if ( markers != null && markers.eIsProxy () )
{
InternalEObject oldMarkers = (InternalEObject)markers;
markers = (Markers)eResolveProxy ( oldMarkers );
if ( markers != oldMarkers )
{
InternalEObject newMarkers = (InternalEObject)markers;
NotificationChain msgs = oldMarkers.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.MASTER_SERVER__MARKERS, null, null );
if ( newMarkers.eInternalContainer () == null )
{
msgs = newMarkers.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.MASTER_SERVER__MARKERS, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.MASTER_SERVER__MARKERS, oldMarkers, markers ) );
}
}
return markers;
}
示例9: getInitScript
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CodeFragment getInitScript ()
{
if ( initScript != null && initScript.eIsProxy () )
{
InternalEObject oldInitScript = (InternalEObject)initScript;
initScript = (CodeFragment)eResolveProxy ( oldInitScript );
if ( initScript != oldInitScript )
{
InternalEObject newInitScript = (InternalEObject)initScript;
NotificationChain msgs = oldInitScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_ITEM__INIT_SCRIPT, null, null );
if ( newInitScript.eInternalContainer () == null )
{
msgs = newInitScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_ITEM__INIT_SCRIPT, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.SCRIPT_ITEM__INIT_SCRIPT, oldInitScript, initScript ) );
}
}
return initScript;
}
示例10: getDefaultDriverAccessCredentials
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Credentials getDefaultDriverAccessCredentials ()
{
if ( defaultDriverAccessCredentials != null && defaultDriverAccessCredentials.eIsProxy () )
{
InternalEObject oldDefaultDriverAccessCredentials = (InternalEObject)defaultDriverAccessCredentials;
defaultDriverAccessCredentials = (Credentials)eResolveProxy ( oldDefaultDriverAccessCredentials );
if ( defaultDriverAccessCredentials != oldDefaultDriverAccessCredentials )
{
InternalEObject newDefaultDriverAccessCredentials = (InternalEObject)defaultDriverAccessCredentials;
NotificationChain msgs = oldDefaultDriverAccessCredentials.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__DEFAULT_DRIVER_ACCESS_CREDENTIALS, null, null );
if ( newDefaultDriverAccessCredentials.eInternalContainer () == null )
{
msgs = newDefaultDriverAccessCredentials.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.WORLD__DEFAULT_DRIVER_ACCESS_CREDENTIALS, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.WORLD__DEFAULT_DRIVER_ACCESS_CREDENTIALS, oldDefaultDriverAccessCredentials, defaultDriverAccessCredentials ) );
}
}
return defaultDriverAccessCredentials;
}
示例11: getPassword
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public PasswordCredentials getPassword ()
{
if ( password != null && password.eIsProxy () )
{
InternalEObject oldPassword = (InternalEObject)password;
password = (PasswordCredentials)eResolveProxy ( oldPassword );
if ( password != oldPassword )
{
InternalEObject newPassword = (InternalEObject)password;
NotificationChain msgs = oldPassword.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.COMMON_DRIVER__PASSWORD, null, null );
if ( newPassword.eInternalContainer () == null )
{
msgs = newPassword.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.COMMON_DRIVER__PASSWORD, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, WorldPackage.COMMON_DRIVER__PASSWORD, oldPassword, password ) );
}
}
return password;
}
示例12: getValueConverter
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public ValueConverterDefinition getValueConverter ()
{
if ( valueConverter != null && valueConverter.eIsProxy () )
{
InternalEObject oldValueConverter = (InternalEObject)valueConverter;
valueConverter = (ValueConverterDefinition)eResolveProxy ( oldValueConverter );
if ( valueConverter != oldValueConverter )
{
InternalEObject newValueConverter = (InternalEObject)valueConverter;
NotificationChain msgs = oldValueConverter.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ParserPackage.SPLIT_TABLE__VALUE_CONVERTER, null, null );
if ( newValueConverter.eInternalContainer () == null )
{
msgs = newValueConverter.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ParserPackage.SPLIT_TABLE__VALUE_CONVERTER, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ParserPackage.SPLIT_TABLE__VALUE_CONVERTER, oldValueConverter, valueConverter ) );
}
}
return valueConverter;
}
示例13: getDefaultUserService
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public UserService getDefaultUserService ()
{
if ( defaultUserService != null && defaultUserService.eIsProxy () )
{
InternalEObject oldDefaultUserService = (InternalEObject)defaultUserService;
defaultUserService = (UserService)eResolveProxy ( oldDefaultUserService );
if ( defaultUserService != oldDefaultUserService )
{
InternalEObject newDefaultUserService = (InternalEObject)defaultUserService;
NotificationChain msgs = oldDefaultUserService.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, null, null );
if ( newDefaultUserService.eInternalContainer () == null )
{
msgs = newDefaultUserService.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.OPTIONS__DEFAULT_USER_SERVICE, oldDefaultUserService, defaultUserService ) );
}
}
return defaultUserService;
}
示例14: getDataMapper
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- 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;
}
示例15: getImplementation
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public org.eclipse.scada.configuration.world.osgi.JdbcUserService getImplementation ()
{
if ( implementation != null && implementation.eIsProxy () )
{
InternalEObject oldImplementation = (InternalEObject)implementation;
implementation = (org.eclipse.scada.configuration.world.osgi.JdbcUserService)eResolveProxy ( oldImplementation );
if ( implementation != oldImplementation )
{
InternalEObject newImplementation = (InternalEObject)implementation;
NotificationChain msgs = oldImplementation.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.JDBC_USER_SERVICE__IMPLEMENTATION, null, null );
if ( newImplementation.eInternalContainer () == null )
{
msgs = newImplementation.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.JDBC_USER_SERVICE__IMPLEMENTATION, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.JDBC_USER_SERVICE__IMPLEMENTATION, oldImplementation, implementation ) );
}
}
return implementation;
}