Java Code Examples for org.eclipse.emf.ecore.InternalEObject#eInternalContainer()
The following examples show how to use
org.eclipse.emf.ecore.InternalEObject#eInternalContainer() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EquinoxDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example 2
Source File: ItemImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ItemInformation getInformation () { if ( information != null && information.eIsProxy () ) { InternalEObject oldInformation = (InternalEObject)information; information = (ItemInformation)eResolveProxy ( oldInformation ); if ( information != oldInformation ) { InternalEObject newInformation = (InternalEObject)information; NotificationChain msgs = oldInformation.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.ITEM__INFORMATION, null, null ); if ( newInformation.eInternalContainer () == null ) { msgs = newInformation.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.ITEM__INFORMATION, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.ITEM__INFORMATION, oldInformation, information ) ); } } return information; }
Example 3
Source File: ExternalDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ 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.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, null, null ); if ( newAccessCredentials.eInternalContainer () == null ) { msgs = newAccessCredentials.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.EXTERNAL_DRIVER__ACCESS_CREDENTIALS, oldAccessCredentials, accessCredentials ) ); } } return accessCredentials; }
Example 4
Source File: ParserDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override 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 - ParserPackage.PARSER_DRIVER__CUSTOMIZATION_PROFILE, null, null ); if ( newCustomizationProfile.eInternalContainer () == null ) { msgs = newCustomizationProfile.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ParserPackage.PARSER_DRIVER__CUSTOMIZATION_PROFILE, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ParserPackage.PARSER_DRIVER__CUSTOMIZATION_PROFILE, oldCustomizationProfile, customizationProfile ) ); } } return customizationProfile; }
Example 5
Source File: ModbusDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override 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 - ModbusPackage.MODBUS_DRIVER__CUSTOMIZATION_PROFILE, null, null ); if ( newCustomizationProfile.eInternalContainer () == null ) { msgs = newCustomizationProfile.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ModbusPackage.MODBUS_DRIVER__CUSTOMIZATION_PROFILE, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ModbusPackage.MODBUS_DRIVER__CUSTOMIZATION_PROFILE, oldCustomizationProfile, customizationProfile ) ); } } return customizationProfile; }
Example 6
Source File: MappedSourceValueImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public InputDefinition getInput () { if ( input != null && input.eIsProxy () ) { InternalEObject oldInput = (InternalEObject)input; input = (InputDefinition)eResolveProxy ( oldInput ); if ( input != oldInput ) { InternalEObject newInput = (InternalEObject)input; NotificationChain msgs = oldInput.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MAPPED_SOURCE_VALUE__INPUT, null, null ); if ( newInput.eInternalContainer () == null ) { msgs = newInput.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.MAPPED_SOURCE_VALUE__INPUT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.MAPPED_SOURCE_VALUE__INPUT, oldInput, input ) ); } } return input; }
Example 7
Source File: JdbcDriverInstanceImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RootType getRoot () { if ( root != null && root.eIsProxy () ) { InternalEObject oldRoot = (InternalEObject)root; root = (RootType)eResolveProxy ( oldRoot ); if ( root != oldRoot ) { InternalEObject newRoot = (InternalEObject)root; NotificationChain msgs = oldRoot.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - JdbcPackage.JDBC_DRIVER_INSTANCE__ROOT, null, null ); if ( newRoot.eInternalContainer () == null ) { msgs = newRoot.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - JdbcPackage.JDBC_DRIVER_INSTANCE__ROOT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, JdbcPackage.JDBC_DRIVER_INSTANCE__ROOT, oldRoot, root ) ); } } return root; }
Example 8
Source File: BufferedValueImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public InputDefinition getInput () { if ( input != null && input.eIsProxy () ) { InternalEObject oldInput = (InternalEObject)input; input = (InputDefinition)eResolveProxy ( oldInput ); if ( input != oldInput ) { InternalEObject newInput = (InternalEObject)input; NotificationChain msgs = oldInput.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.BUFFERED_VALUE__INPUT, null, null ); if ( newInput.eInternalContainer () == null ) { msgs = newInput.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.BUFFERED_VALUE__INPUT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.BUFFERED_VALUE__INPUT, oldInput, input ) ); } } return input; }
Example 9
Source File: ScriptEventHandlerImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public JavaScript getScript () { if ( script != null && script.eIsProxy () ) { InternalEObject oldScript = (InternalEObject)script; script = (JavaScript)eResolveProxy ( oldScript ); if ( script != oldScript ) { InternalEObject newScript = (InternalEObject)script; NotificationChain msgs = oldScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_EVENT_HANDLER__SCRIPT, null, null ); if ( newScript.eInternalContainer () == null ) { msgs = newScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - OsgiPackage.SCRIPT_EVENT_HANDLER__SCRIPT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.SCRIPT_EVENT_HANDLER__SCRIPT, oldScript, script ) ); } } return script; }
Example 10
Source File: ScriptItemImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example 11
Source File: AbstractEquinoxDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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.ABSTRACT_EQUINOX_DRIVER__ACCESS_CREDENTIALS, null, null ); if ( newAccessCredentials.eInternalContainer () == null ) { msgs = newAccessCredentials.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__ACCESS_CREDENTIALS, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.ABSTRACT_EQUINOX_DRIVER__ACCESS_CREDENTIALS, oldAccessCredentials, accessCredentials ) ); } } return accessCredentials; }
Example 12
Source File: ScriptModuleImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public TimerScript getTimerScript () { if ( timerScript != null && timerScript.eIsProxy () ) { InternalEObject oldTimerScript = (InternalEObject)timerScript; timerScript = (TimerScript)eResolveProxy ( oldTimerScript ); if ( timerScript != oldTimerScript ) { InternalEObject newTimerScript = (InternalEObject)timerScript; NotificationChain msgs = oldTimerScript.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__TIMER_SCRIPT, null, null ); if ( newTimerScript.eInternalContainer () == null ) { msgs = newTimerScript.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ComponentPackage.SCRIPT_MODULE__TIMER_SCRIPT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ComponentPackage.SCRIPT_MODULE__TIMER_SCRIPT, oldTimerScript, timerScript ) ); } } return timerScript; }
Example 13
Source File: EquinoxApplicationImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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.EQUINOX_APPLICATION__USER_SERVICE, null, null ); if ( newUserService.eInternalContainer () == null ) { msgs = newUserService.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.EQUINOX_APPLICATION__USER_SERVICE, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.EQUINOX_APPLICATION__USER_SERVICE, oldUserService, userService ) ); } } return userService; }
Example 14
Source File: ExecDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RootType getRoot () { if ( root != null && root.eIsProxy () ) { InternalEObject oldRoot = (InternalEObject)root; root = (RootType)eResolveProxy ( oldRoot ); if ( root != oldRoot ) { InternalEObject newRoot = (InternalEObject)root; NotificationChain msgs = oldRoot.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.EXEC_DRIVER__ROOT, null, null ); if ( newRoot.eInternalContainer () == null ) { msgs = newRoot.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - WorldPackage.EXEC_DRIVER__ROOT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, WorldPackage.EXEC_DRIVER__ROOT, oldRoot, root ) ); } } return root; }
Example 15
Source File: DirectLinkingEObjectOutputStream.java From dsl-devkit with Eclipse Public License 1.0 | 6 votes |
/** * Computes a short positional URI fragment path. These are more efficient than fragments returned by {@link org.eclipse.xtext.resource.IFragmentProvider}, as * the latter may contain name-based segments, which require a lookup to resolve. * * @param obj * object to get URI fragment for, must not be {@code null} * @return URI fragment path, where the segments encode the feature IDs and position in case of multi-valued features, never {@code null} */ @SuppressWarnings("unchecked") private void writeEObjectURIFragmentPath(final EObject obj) throws IOException { list.clear(); InternalEObject internalEObject = (InternalEObject) obj; for (InternalEObject container = internalEObject.eInternalContainer(); container != null; container = internalEObject.eInternalContainer()) { EStructuralFeature feature = internalEObject.eContainingFeature(); if (feature.isMany()) { list.add(((EList<EObject>) container.eGet(feature, false)).indexOf(internalEObject)); } list.add(container.eClass().getFeatureID(feature)); internalEObject = container; } list.add(internalEObject.eResource().getContents().indexOf(internalEObject)); writeCompressedInt(list.size()); for (int i = list.size() - 1; i >= 0; i--) { writeCompressedInt(list.get(i)); } }
Example 16
Source File: ItemDataSeriesImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example 17
Source File: CommonDriverImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override 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 - InfrastructurePackage.COMMON_DRIVER__PASSWORD, null, null ); if ( newPassword.eInternalContainer () == null ) { msgs = newPassword.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - InfrastructurePackage.COMMON_DRIVER__PASSWORD, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, InfrastructurePackage.COMMON_DRIVER__PASSWORD, oldPassword, password ) ); } } return password; }
Example 18
Source File: GlobalizationImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example 19
Source File: ArchiveSeriesImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example 20
Source File: ComponentImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public InputDefinition getInput () { if ( input != null && input.eIsProxy () ) { InternalEObject oldInput = (InternalEObject)input; input = (InputDefinition)eResolveProxy ( oldInput ); if ( input != oldInput ) { InternalEObject newInput = (InternalEObject)input; NotificationChain msgs = oldInput.eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ParserPackage.COMPONENT__INPUT, null, null ); if ( newInput.eInternalContainer () == null ) { msgs = newInput.eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ParserPackage.COMPONENT__INPUT, null, msgs ); } if ( msgs != null ) msgs.dispatch (); if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, ParserPackage.COMPONENT__INPUT, oldInput, input ) ); } } return input; }