org.eclipse.emf.ecore.InternalEObject Java Examples
The following examples show how to use
org.eclipse.emf.ecore.InternalEObject.
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: RemoteSwitchAImpl.java From openhab1-addons with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void setTfConfig(RemoteSwitchAConfiguration newTfConfig) { if (newTfConfig != tfConfig) { NotificationChain msgs = null; if (tfConfig != null) msgs = ((InternalEObject) tfConfig).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ModelPackage.REMOTE_SWITCH_A__TF_CONFIG, null, msgs); if (newTfConfig != null) msgs = ((InternalEObject) newTfConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ModelPackage.REMOTE_SWITCH_A__TF_CONFIG, null, msgs); msgs = basicSetTfConfig(newTfConfig, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.REMOTE_SWITCH_A__TF_CONFIG, newTfConfig, newTfConfig)); }
Example #2
Source File: SpielplatzImpl.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ReferenceGrammarPackage.SPIELPLATZ__KINDER: return ((InternalEList<?>)getKinder()).basicRemove(otherEnd, msgs); case ReferenceGrammarPackage.SPIELPLATZ__ERZIEHER: return ((InternalEList<?>)getErzieher()).basicRemove(otherEnd, msgs); case ReferenceGrammarPackage.SPIELPLATZ__SPIELZEUGE: return ((InternalEList<?>)getSpielzeuge()).basicRemove(otherEnd, msgs); case ReferenceGrammarPackage.SPIELPLATZ__FAMILIE: return ((InternalEList<?>)getFamilie()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
Example #3
Source File: ArrayImpl.java From gama with GNU General Public License v3.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setExprs(ExpressionList newExprs) { if (newExprs != exprs) { NotificationChain msgs = null; if (exprs != null) msgs = ((InternalEObject)exprs).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GamlPackage.ARRAY__EXPRS, null, msgs); if (newExprs != null) msgs = ((InternalEObject)newExprs).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GamlPackage.ARRAY__EXPRS, null, msgs); msgs = basicSetExprs(newExprs, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GamlPackage.ARRAY__EXPRS, newExprs, newExprs)); }
Example #4
Source File: ModelImpl.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setFirst(SimpleModel newFirst) { if (newFirst != first) { NotificationChain msgs = null; if (first != null) msgs = ((InternalEObject)first).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UnorderedGroupsTestPackage.MODEL__FIRST, null, msgs); if (newFirst != null) msgs = ((InternalEObject)newFirst).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UnorderedGroupsTestPackage.MODEL__FIRST, null, msgs); msgs = basicSetFirst(newFirst, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, UnorderedGroupsTestPackage.MODEL__FIRST, newFirst, newFirst)); }
Example #5
Source File: ContentImpl.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setTag(Tag newTag) { if (newTag != tag) { NotificationChain msgs = null; if (tag != null) msgs = ((InternalEObject)tag).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimplexmlPackage.CONTENT__TAG, null, msgs); if (newTag != null) msgs = ((InternalEObject)newTag).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimplexmlPackage.CONTENT__TAG, null, msgs); msgs = basicSetTag(newTag, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, SimplexmlPackage.CONTENT__TAG, newTag, newTag)); }
Example #6
Source File: AliasWhereEntryImpl.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public FromEntry getAlias() { if (alias != null && alias.eIsProxy()) { InternalEObject oldAlias = (InternalEObject)alias; alias = (FromEntry)eResolveProxy(oldAlias); if (alias != oldAlias) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Bug287941TestLanguagePackage.ALIAS_WHERE_ENTRY__ALIAS, oldAlias, alias)); } } return alias; }
Example #7
Source File: ScopeModelImpl.java From dsl-devkit with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ScopePackage.SCOPE_MODEL__IMPORTS: return ((InternalEList<?>)getImports()).basicRemove(otherEnd, msgs); case ScopePackage.SCOPE_MODEL__EXTENSIONS: return ((InternalEList<?>)getExtensions()).basicRemove(otherEnd, msgs); case ScopePackage.SCOPE_MODEL__INJECTIONS: return ((InternalEList<?>)getInjections()).basicRemove(otherEnd, msgs); case ScopePackage.SCOPE_MODEL__NAMING: return basicSetNaming(null, msgs); case ScopePackage.SCOPE_MODEL__SCOPES: return ((InternalEList<?>)getScopes()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
Example #8
Source File: NotTransformerImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setValue ( ValueSource newValue ) { if ( newValue != value ) { NotificationChain msgs = null; if ( value != null ) msgs = ( (InternalEObject)value ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - DetailViewPackage.NOT_TRANSFORMER__VALUE, null, msgs ); if ( newValue != null ) msgs = ( (InternalEObject)newValue ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - DetailViewPackage.NOT_TRANSFORMER__VALUE, null, msgs ); msgs = basicSetValue ( newValue, msgs ); if ( msgs != null ) msgs.dispatch (); } else if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, DetailViewPackage.NOT_TRANSFORMER__VALUE, newValue, newValue ) ); }
Example #9
Source File: ResourceStorageLoadable.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
protected void readContents(StorageAwareResource resource, InputStream inputStream) throws IOException { new BinaryResourceImpl.EObjectInputStream(inputStream, Collections.emptyMap()) { @Override public int readCompressedInt() throws IOException { //HACK! null resource set, to avoid usage of resourceSet's package registry resourceSet = null; return super.readCompressedInt(); } @Override public InternalEObject loadEObject() throws IOException { InternalEObject result = super.loadEObject(); handleLoadEObject(result, this); return result; } }.loadResource(resource); }
Example #10
Source File: IfConditionStartImpl.java From xtext-xtend with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public EndIf getEndIf() { if (endIf != null && endIf.eIsProxy()) { InternalEObject oldEndIf = (InternalEObject)endIf; endIf = (EndIf)eResolveProxy(oldEndIf); if (endIf != oldEndIf) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, ProcessedRichStringPackage.IF_CONDITION_START__END_IF, oldEndIf, endIf)); } } return endIf; }
Example #11
Source File: LineTagImpl.java From n4js with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setDoclet(Doclet newDoclet) { if (newDoclet != eInternalContainer() || (eContainerFeatureID() != DomPackage.LINE_TAG__DOCLET && newDoclet != null)) { if (EcoreUtil.isAncestor(this, newDoclet)) throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); NotificationChain msgs = null; if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); if (newDoclet != null) msgs = ((InternalEObject)newDoclet).eInverseAdd(this, DomPackage.DOCLET__LINE_TAGS, Doclet.class, msgs); msgs = basicSetDoclet(newDoclet, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, DomPackage.LINE_TAG__DOCLET, newDoclet, newDoclet)); }
Example #12
Source File: ChildImpl.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Definition getLink() { if (link != null && link.eIsProxy()) { InternalEObject oldLink = (InternalEObject)link; link = (Definition)eResolveProxy(oldLink); if (link != oldLink) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, Bug311337Package.CHILD__LINK, oldLink, link)); } } return link; }
Example #13
Source File: ChartPreferencesImpl.java From birt with Eclipse Public License 1.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case ComponentPackage.CHART_PREFERENCES__LABELS : return ( (InternalEList<?>) getLabels( ) ).basicRemove( otherEnd, msgs ); case ComponentPackage.CHART_PREFERENCES__BLOCKS : return ( (InternalEList<?>) getBlocks( ) ).basicRemove( otherEnd, msgs ); } return super.eInverseRemove( otherEnd, featureID, msgs ); }
Example #14
Source File: GGraphImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setPosition(GPoint newPosition) { if (newPosition != position) { NotificationChain msgs = null; if (position != null) msgs = ((InternalEObject) position).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GGRAPH__POSITION, null, msgs); if (newPosition != null) msgs = ((InternalEObject) newPosition).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GGRAPH__POSITION, null, msgs); msgs = basicSetPosition(newPosition, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GGRAPH__POSITION, newPosition, newPosition)); }
Example #15
Source File: MBrickletUVLightImpl.java From openhab1-addons with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void setBrickd(MBrickd newBrickd) { if (newBrickd != eInternalContainer() || (eContainerFeatureID() != ModelPackage.MBRICKLET_UV_LIGHT__BRICKD && newBrickd != null)) { if (EcoreUtil.isAncestor(this, newBrickd)) { throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); } NotificationChain msgs = null; if (eInternalContainer() != null) { msgs = eBasicRemoveFromContainer(msgs); } if (newBrickd != null) { msgs = ((InternalEObject) newBrickd).eInverseAdd(this, ModelPackage.MBRICKD__MDEVICES, MBrickd.class, msgs); } msgs = basicSetBrickd(newBrickd, msgs); if (msgs != null) { msgs.dispatch(); } } else if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_UV_LIGHT__BRICKD, newBrickd, newBrickd)); } }
Example #16
Source File: EndpointImpl.java From neoscada with Eclipse Public License 1.0 | 6 votes |
/** * <!-- 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; }
Example #17
Source File: MBrickletJoystickImpl.java From openhab1-addons with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void setBrickd(MBrickd newBrickd) { if (newBrickd != eInternalContainer() || (eContainerFeatureID() != ModelPackage.MBRICKLET_JOYSTICK__BRICKD && newBrickd != null)) { if (EcoreUtil.isAncestor(this, newBrickd)) throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); NotificationChain msgs = null; if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); if (newBrickd != null) msgs = ((InternalEObject) newBrickd).eInverseAdd(this, ModelPackage.MBRICKD__MDEVICES, MBrickd.class, msgs); msgs = basicSetBrickd(newBrickd, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICKLET_JOYSTICK__BRICKD, newBrickd, newBrickd)); }
Example #18
Source File: JvmGenericArrayTypeReferenceImpl.java From xtext-extras with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setComponentType(JvmTypeReference newComponentType) { if (newComponentType != componentType) { NotificationChain msgs = null; if (componentType != null) msgs = ((InternalEObject)componentType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE__COMPONENT_TYPE, null, msgs); if (newComponentType != null) msgs = ((InternalEObject)newComponentType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE__COMPONENT_TYPE, null, msgs); msgs = basicSetComponentType(newComponentType, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, TypesPackage.JVM_GENERIC_ARRAY_TYPE_REFERENCE__COMPONENT_TYPE, newComponentType, newComponentType)); }
Example #19
Source File: DimensionImpl.java From Knowage-Server with GNU Affero General Public License v3.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setModel(OlapModel newModel) { if (newModel != eInternalContainer() || (eContainerFeatureID() != OlapModelPackage.DIMENSION__MODEL && newModel != null)) { if (EcoreUtil.isAncestor(this, newModel)) throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); NotificationChain msgs = null; if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); if (newModel != null) msgs = ((InternalEObject)newModel).eInverseAdd(this, OlapModelPackage.OLAP_MODEL__DIMENSIONS, OlapModel.class, msgs); msgs = basicSetModel(newModel, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, OlapModelPackage.DIMENSION__MODEL, newModel, newModel)); }
Example #20
Source File: CubeImpl.java From Knowage-Server with GNU Affero General Public License v3.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case OlapModelPackage.CUBE__MODEL: if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); return basicSetModel((OlapModel)otherEnd, msgs); case OlapModelPackage.CUBE__MEASURES: return ((InternalEList<InternalEObject>)(InternalEList<?>)getMeasures()).basicAdd(otherEnd, msgs); case OlapModelPackage.CUBE__CALCULATED_MEMBERS: if (calculatedMembers != null) msgs = ((InternalEObject)calculatedMembers).eInverseRemove(this, OlapModelPackage.CALCULATED_MEMBER__CUBE, CalculatedMember.class, msgs); return basicSetCalculatedMembers((CalculatedMember)otherEnd, msgs); case OlapModelPackage.CUBE__NAMED_SETS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getNamedSets()).basicAdd(otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
Example #21
Source File: AndExpressionImpl.java From xtext-extras with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setRight(Expression newRight) { if (newRight != right) { NotificationChain msgs = null; if (right != null) msgs = ((InternalEObject)right).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.AND_EXPRESSION__RIGHT, null, msgs); if (newRight != null) msgs = ((InternalEObject)newRight).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SimpleAntlrPackage.AND_EXPRESSION__RIGHT, null, msgs); msgs = basicSetRight(newRight, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, SimpleAntlrPackage.AND_EXPRESSION__RIGHT, newRight, newRight)); }
Example #22
Source File: ModelImpl.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setQuantityExclusion(QuantityExclusionTest newQuantityExclusion) { if (newQuantityExclusion != quantityExclusion) { NotificationChain msgs = null; if (quantityExclusion != null) msgs = ((InternalEObject)quantityExclusion).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ContextFinderTestPackage.MODEL__QUANTITY_EXCLUSION, null, msgs); if (newQuantityExclusion != null) msgs = ((InternalEObject)newQuantityExclusion).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ContextFinderTestPackage.MODEL__QUANTITY_EXCLUSION, null, msgs); msgs = basicSetQuantityExclusion(newQuantityExclusion, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ContextFinderTestPackage.MODEL__QUANTITY_EXCLUSION, newQuantityExclusion, newQuantityExclusion)); }
Example #23
Source File: LaserRangeFinderLaserImpl.java From openhab1-addons with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ModelPackage.LASER_RANGE_FINDER_LASER__MBRICK: if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); return basicSetMbrick((MBrickletLaserRangeFinder) otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
Example #24
Source File: ConfiguredLanguageValidatorImpl.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case CheckcfgPackage.CONFIGURED_LANGUAGE_VALIDATOR__CATALOG_CONFIGURATIONS: return ((InternalEList<?>)getCatalogConfigurations()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
Example #25
Source File: rootImpl.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case SimplestructurePackage.ROOT__A: return ((InternalEList<?>)getA()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
Example #26
Source File: FormulaItemInboundImpl.java From neoscada with Eclipse Public License 1.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case OsgiPackage.FORMULA_ITEM_INBOUND__INPUTS: return ( (InternalEList<?>)getInputs () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
Example #27
Source File: ServiceInvocationImpl.java From eip-designer with Apache License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ServiceRef getServiceRef() { if (serviceRef != null && serviceRef.eIsProxy()) { InternalEObject oldServiceRef = (InternalEObject)serviceRef; serviceRef = (ServiceRef)eResolveProxy(oldServiceRef); if (serviceRef != oldServiceRef) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, EipPackage.SERVICE_INVOCATION__SERVICE_REF, oldServiceRef, serviceRef)); } } return serviceRef; }
Example #28
Source File: MeasureImpl.java From Knowage-Server with GNU Affero General Public License v3.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BusinessColumn getColumn() { if (column != null && column.eIsProxy()) { InternalEObject oldColumn = (InternalEObject)column; column = (BusinessColumn)eResolveProxy(oldColumn); if (column != oldColumn) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, OlapModelPackage.MEASURE__COLUMN, oldColumn, column)); } } return column; }
Example #29
Source File: LEDGroupImpl.java From openhab1-addons with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ModelPackage.LED_GROUP__MBRICK: if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); return basicSetMbrick((MBrickletLEDStrip) otherEnd, msgs); } return super.eInverseAdd(otherEnd, featureID, msgs); }
Example #30
Source File: SizeRuleImpl.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case ValidPackage.SIZE_RULE__CONTEXTS: return ((InternalEList<?>)getContexts()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }