當前位置: 首頁>>代碼示例>>Java>>正文


Java InternalEObject.eInternalContainer方法代碼示例

本文整理匯總了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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:29,代碼來源:EquinoxDriverImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:VariableImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:29,代碼來源:AbstractEquinoxDriverImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:FormulaItemImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:FormulaItemImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:ItemDataSeriesImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:29,代碼來源:SplitTableImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:EndpointImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:29,代碼來源:ScriptModuleImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:MasterServerImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:FormulaItemOutboundImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:29,代碼來源:ValueArchiveServerImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:ScriptTimerImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:ValueArchiveServerImpl.java

示例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;
}
 
開發者ID:eclipse,項目名稱:neoscada,代碼行數:28,代碼來源:DataMapperServiceImpl.java


注:本文中的org.eclipse.emf.ecore.InternalEObject.eInternalContainer方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。