本文整理汇总了Java中org.eclipse.emf.ecore.InternalEObject.eInternalContainer方法的典型用法代码示例。如果您正苦于以下问题:Java InternalEObject.eInternalContainer方法的具体用法?Java InternalEObject.eInternalContainer怎么用?Java InternalEObject.eInternalContainer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.emf.ecore.InternalEObject
的用法示例。
在下文中一共展示了InternalEObject.eInternalContainer方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getAccessCredentials
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Credentials getAccessCredentials ()
{
if ( accessCredentials != null && accessCredentials.eIsProxy () )
{
InternalEObject oldAccessCredentials = (InternalEObject)accessCredentials;
accessCredentials = (Credentials)eResolveProxy ( oldAccessCredentials );
if ( accessCredentials != oldAccessCredentials )
{
InternalEObject newAccessCredentials = (InternalEObject)accessCredentials;
NotificationChain msgs = oldAccessCredentials.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EQUINOX_DRIVER__ACCESS_CREDENTIALS, null, null );
if ( newAccessCredentials.eInternalContainer () == null )
{
msgs = newAccessCredentials.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EQUINOX_DRIVER__ACCESS_CREDENTIALS, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.EQUINOX_DRIVER__ACCESS_CREDENTIALS, oldAccessCredentials, accessCredentials ) );
}
}
return accessCredentials;
}
示例2: getType
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Type getType ()
{
if ( type != null && type.eIsProxy () )
{
InternalEObject oldType = (InternalEObject)type;
type = (Type)eResolveProxy ( oldType );
if ( type != oldType )
{
InternalEObject newType = (InternalEObject)type;
NotificationChain msgs = oldType.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - MemoryPackage.VARIABLE__TYPE, null, null );
if ( newType.eInternalContainer () == null )
{
msgs = newType.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - MemoryPackage.VARIABLE__TYPE, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, MemoryPackage.VARIABLE__TYPE, oldType, type ) );
}
}
return type;
}
示例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: getOutbound
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FormulaItemOutbound getOutbound ()
{
if ( outbound != null && outbound.eIsProxy () )
{
InternalEObject oldOutbound = (InternalEObject)outbound;
outbound = (FormulaItemOutbound)eResolveProxy ( oldOutbound );
if ( outbound != oldOutbound )
{
InternalEObject newOutbound = (InternalEObject)outbound;
NotificationChain msgs = oldOutbound.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM__OUTBOUND, null, null );
if ( newOutbound.eInternalContainer () == null )
{
msgs = newOutbound.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM__OUTBOUND, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.FORMULA_ITEM__OUTBOUND, oldOutbound, outbound ) );
}
}
return outbound;
}
示例5: getInbound
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public FormulaItemInbound getInbound ()
{
if ( inbound != null && inbound.eIsProxy () )
{
InternalEObject oldInbound = (InternalEObject)inbound;
inbound = (FormulaItemInbound)eResolveProxy ( oldInbound );
if ( inbound != oldInbound )
{
InternalEObject newInbound = (InternalEObject)inbound;
NotificationChain msgs = oldInbound.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM__INBOUND, null, null );
if ( newInbound.eInternalContainer () == null )
{
msgs = newInbound.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.FORMULA_ITEM__INBOUND, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.FORMULA_ITEM__INBOUND, oldInbound, inbound ) );
}
}
return inbound;
}
示例6: getItem
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Item getItem ()
{
if ( item != null && item.eIsProxy () )
{
InternalEObject oldItem = (InternalEObject)item;
item = (Item)eResolveProxy ( oldItem );
if ( item != oldItem )
{
InternalEObject newItem = (InternalEObject)item;
NotificationChain msgs = oldItem.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.ITEM_DATA_SERIES__ITEM, null, null );
if ( newItem.eInternalContainer () == null )
{
msgs = newItem.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ChartPackage.ITEM_DATA_SERIES__ITEM, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ChartPackage.ITEM_DATA_SERIES__ITEM, oldItem, item ) );
}
}
return item;
}
示例7: 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;
}
示例8: getBoundService
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public ServiceBinding getBoundService ()
{
if ( boundService != null && boundService.eIsProxy () )
{
InternalEObject oldBoundService = (InternalEObject)boundService;
boundService = (ServiceBinding)eResolveProxy ( oldBoundService );
if ( boundService != oldBoundService )
{
InternalEObject newBoundService = (InternalEObject)boundService;
NotificationChain msgs = oldBoundService.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.ENDPOINT__BOUND_SERVICE, null, null );
if ( newBoundService.eInternalContainer () == null )
{
msgs = newBoundService.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.ENDPOINT__BOUND_SERVICE, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, WorldPackage.ENDPOINT__BOUND_SERVICE, oldBoundService, boundService ) );
}
}
return boundService;
}
示例9: getWriteCommandScript
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public Script getWriteCommandScript ()
{
if ( writeCommandScript != null && writeCommandScript.eIsProxy () )
{
InternalEObject oldWriteCommandScript = (InternalEObject)writeCommandScript;
writeCommandScript = (Script)eResolveProxy ( oldWriteCommandScript );
if ( writeCommandScript != oldWriteCommandScript )
{
InternalEObject newWriteCommandScript = (InternalEObject)writeCommandScript;
NotificationChain msgs = oldWriteCommandScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__WRITE_COMMAND_SCRIPT, null, null );
if ( newWriteCommandScript.eInternalContainer () == null )
{
msgs = newWriteCommandScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__WRITE_COMMAND_SCRIPT, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.SCRIPT_MODULE__WRITE_COMMAND_SCRIPT, oldWriteCommandScript, writeCommandScript ) );
}
}
return writeCommandScript;
}
示例10: 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;
}
示例11: 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;
}
示例12: getDefaultArchiveconfiguration
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public ArchiveConfiguration getDefaultArchiveconfiguration ()
{
if ( defaultArchiveconfiguration != null && defaultArchiveconfiguration.eIsProxy () )
{
InternalEObject oldDefaultArchiveconfiguration = (InternalEObject)defaultArchiveconfiguration;
defaultArchiveconfiguration = (ArchiveConfiguration)eResolveProxy ( oldDefaultArchiveconfiguration );
if ( defaultArchiveconfiguration != oldDefaultArchiveconfiguration )
{
InternalEObject newDefaultArchiveconfiguration = (InternalEObject)defaultArchiveconfiguration;
NotificationChain msgs = oldDefaultArchiveconfiguration.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.VALUE_ARCHIVE_SERVER__DEFAULT_ARCHIVECONFIGURATION, null, null );
if ( newDefaultArchiveconfiguration.eInternalContainer () == null )
{
msgs = newDefaultArchiveconfiguration.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.VALUE_ARCHIVE_SERVER__DEFAULT_ARCHIVECONFIGURATION, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.VALUE_ARCHIVE_SERVER__DEFAULT_ARCHIVECONFIGURATION, oldDefaultArchiveconfiguration, defaultArchiveconfiguration ) );
}
}
return defaultArchiveconfiguration;
}
示例13: getScript
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public CodeFragment getScript ()
{
if ( script != null && script.eIsProxy () )
{
InternalEObject oldScript = (InternalEObject)script;
script = (CodeFragment)eResolveProxy ( oldScript );
if ( script != oldScript )
{
InternalEObject newScript = (InternalEObject)script;
NotificationChain msgs = oldScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_TIMER__SCRIPT, null, null );
if ( newScript.eInternalContainer () == null )
{
msgs = newScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_TIMER__SCRIPT, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.SCRIPT_TIMER__SCRIPT, oldScript, script ) );
}
}
return script;
}
示例14: getCustomizationProfile
import org.eclipse.emf.ecore.InternalEObject; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public Profile getCustomizationProfile ()
{
if ( customizationProfile != null && customizationProfile.eIsProxy () )
{
InternalEObject oldCustomizationProfile = (InternalEObject)customizationProfile;
customizationProfile = (Profile)eResolveProxy ( oldCustomizationProfile );
if ( customizationProfile != oldCustomizationProfile )
{
InternalEObject newCustomizationProfile = (InternalEObject)customizationProfile;
NotificationChain msgs = oldCustomizationProfile.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.VALUE_ARCHIVE_SERVER__CUSTOMIZATION_PROFILE, null, null );
if ( newCustomizationProfile.eInternalContainer () == null )
{
msgs = newCustomizationProfile.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.VALUE_ARCHIVE_SERVER__CUSTOMIZATION_PROFILE, null, msgs );
}
if ( msgs != null )
msgs.dispatch ();
if ( eNotificationRequired () )
eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.VALUE_ARCHIVE_SERVER__CUSTOMIZATION_PROFILE, oldCustomizationProfile, customizationProfile ) );
}
}
return customizationProfile;
}
示例15: 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;
}