Java 类org.eclipse.emf.ecore.InternalEObject 实例源码

项目:Saturn    文件:DocumentumConfigurationImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__BASE:
      return basicSetBase(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__USERNAME:
      return basicSetUsername(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__PASSWORD:
      return basicSetPassword(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__FOLDER:
      return basicSetFolder(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__DOCUMENT:
      return basicSetDocument(null, msgs);
    case DocumentumModulePackage.DOCUMENTUM_CONFIGURATION__FILE:
      return basicSetFile(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:GmlStrokeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfGMLSupportPackage.GML_STROKE__GML_COLOUR:
            if (gmlColour != null)
                msgs = ((InternalEObject)gmlColour).eInverseRemove(this, InfGMLSupportPackage.GML_COLOUR__GML_STROKES, GmlColour.class, msgs);
            return basicSetGmlColour((GmlColour)otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_SVG_PARAMETERS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlSvgParameters()).basicAdd(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_POLYGON_SYMBOLS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlPolygonSymbols()).basicAdd(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_LINE_SYMBOLS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlLineSymbols()).basicAdd(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_MARKS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlMarks()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:SecurityConstraintSumImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__CONTINGENCY_CONSTRAINT_LIMITS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getContingencyConstraintLimits()).basicAdd(otherEnd, msgs);
        case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__DEFAULT_CONSTRAINT_LIMIT:
            if (defaultConstraintLimit != null)
                msgs = ((InternalEObject)defaultConstraintLimit).eInverseRemove(this, MarketOperationsPackage.DEFAULT_CONSTRAINT_LIMIT__SECURITY_CONSTRAINT_SUM, DefaultConstraintLimit.class, msgs);
            return basicSetDefaultConstraintLimit((DefaultConstraintLimit)otherEnd, msgs);
        case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__BASE_CASE_CONSTRAINT_LIMIT:
            if (baseCaseConstraintLimit != null)
                msgs = ((InternalEObject)baseCaseConstraintLimit).eInverseRemove(this, MarketOperationsPackage.BASE_CASE_CONSTRAINT_LIMIT__SECURITY_CONSTRAINT_SUM, BaseCaseConstraintLimit.class, msgs);
            return basicSetBaseCaseConstraintLimit((BaseCaseConstraintLimit)otherEnd, msgs);
        case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__CONSTRAINT_TERMS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getConstraintTerms()).basicAdd(otherEnd, msgs);
        case MarketOperationsPackage.SECURITY_CONSTRAINT_SUM__RTO:
            if (rto != null)
                msgs = ((InternalEObject)rto).eInverseRemove(this, MarketOperationsPackage.RTO__SECURITY_CONSTRAINTS_LINEAR, RTO.class, msgs);
            return basicSetRTO((RTO)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:SDPAccountingFunctionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__CREDIT_REGISTERS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCreditRegisters()).basicAdd(otherEnd, msgs);
        case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__CHARGE_REGISTERS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getChargeRegisters()).basicAdd(otherEnd, msgs);
        case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION__SERVICE_KIND:
            if (serviceKind != null)
                msgs = ((InternalEObject)serviceKind).eInverseRemove(this, CustomersPackage.SERVICE_CATEGORY__SP_ACCOUNTING_FUNCTIONS, ServiceCategory.class, msgs);
            return basicSetServiceKind((ServiceCategory)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:neoscada    文件:ChildImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setElement ( Primitive newElement )
{
    if ( newElement != element )
    {
        NotificationChain msgs = null;
        if ( element != null )
            msgs = ( (InternalEObject)element ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - VisualInterfacePackage.CHILD__ELEMENT, null, msgs );
        if ( newElement != null )
            msgs = ( (InternalEObject)newElement ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - VisualInterfacePackage.CHILD__ELEMENT, null, msgs );
        msgs = basicSetElement ( newElement, msgs );
        if ( msgs != null )
            msgs.dispatch ();
    }
    else if ( eNotificationRequired () )
        eNotify ( new ENotificationImpl ( this, Notification.SET, VisualInterfacePackage.CHILD__ELEMENT, newElement, newElement ) );
}
项目:rgse.ttc17.emoflon.tgg    文件:ServiceReservationImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case ReservationPackage.SERVICE_RESERVATION__HOLDS:
            return basicSetHolds(null, msgs);
        case ReservationPackage.SERVICE_RESERVATION__RESERVES_TRANSMISSION_SERVICE:
            return ((InternalEList<?>)getReserves_TransmissionService()).basicRemove(otherEnd, msgs);
        case ReservationPackage.SERVICE_RESERVATION__RESERVES_ANCILLARY_SERVICES:
            return ((InternalEList<?>)getReserves_AncillaryServices()).basicRemove(otherEnd, msgs);
        case ReservationPackage.SERVICE_RESERVATION__RESELLS:
            return basicSetResells(null, msgs);
        case ReservationPackage.SERVICE_RESERVATION__SELLS:
            return basicSetSells(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:Saturn    文件:PTCPTransportImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setHostname(ComplexValue newHostname)
{
  if (newHostname != hostname)
  {
    NotificationChain msgs = null;
    if (hostname != null)
      msgs = ((InternalEObject)hostname).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, null, msgs);
    if (newHostname != null)
      msgs = ((InternalEObject)newHostname).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, null, msgs);
    msgs = basicSetHostname(newHostname, msgs);
    if (msgs != null) msgs.dispatch();
  }
  else if (eNotificationRequired())
    eNotify(new ENotificationImpl(this, Notification.SET, SoapIOResourcePackage.PTCP_TRANSPORT__HOSTNAME, newHostname, newHostname));
}
项目:rgse.ttc17.emoflon.tgg    文件:ErpInvoiceLineItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setErpRecLineItem(ErpRecLineItem newErpRecLineItem) {
    if (newErpRecLineItem != erpRecLineItem) {
        NotificationChain msgs = null;
        if (erpRecLineItem != null)
            msgs = ((InternalEObject)erpRecLineItem).eInverseRemove(this, InfERPSupportPackage.ERP_REC_LINE_ITEM__ERP_INVOICE_LINE_ITEM, ErpRecLineItem.class, msgs);
        if (newErpRecLineItem != null)
            msgs = ((InternalEObject)newErpRecLineItem).eInverseAdd(this, InfERPSupportPackage.ERP_REC_LINE_ITEM__ERP_INVOICE_LINE_ITEM, ErpRecLineItem.class, msgs);
        msgs = basicSetErpRecLineItem(newErpRecLineItem, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfERPSupportPackage.ERP_INVOICE_LINE_ITEM__ERP_REC_LINE_ITEM, newErpRecLineItem, newErpRecLineItem));
}
项目:ttc2017smartGrids    文件:OutageReportImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public OutageHistory getOutageHistory() {
    if (outageHistory != null && outageHistory.eIsProxy()) {
        InternalEObject oldOutageHistory = (InternalEObject)outageHistory;
        outageHistory = (OutageHistory)eResolveProxy(oldOutageHistory);
        if (outageHistory != oldOutageHistory) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfOperationsPackage.OUTAGE_REPORT__OUTAGE_HISTORY, oldOutageHistory, outageHistory));
        }
    }
    return outageHistory;
}
项目:ttc2017smartGrids    文件:ChangeItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfOperationsPackage.CHANGE_ITEM__CHANGE_SET:
            return basicSetChangeSet(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__ASSET:
            return basicSetAsset(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__NETWORK_DATA_SET:
            return basicSetNetworkDataSet(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__GML_SELECTOR:
            return basicSetGmlSelector(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__ORGANISATION:
            return basicSetOrganisation(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__GML_OBSERVATION:
            return basicSetGmlObservation(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__LOCATION:
            return basicSetLocation(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__POWER_SYSTEM_RESOURCE:
            return basicSetPowerSystemResource(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__DOCUMENT:
            return basicSetDocument(null, msgs);
        case InfOperationsPackage.CHANGE_ITEM__ERP_PERSON:
            return basicSetErpPerson(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ErpItemMasterImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setAsset(Asset newAsset) {
    if (newAsset != asset) {
        NotificationChain msgs = null;
        if (asset != null)
            msgs = ((InternalEObject)asset).eInverseRemove(this, AssetsPackage.ASSET__ERP_ITEM_MASTER, Asset.class, msgs);
        if (newAsset != null)
            msgs = ((InternalEObject)newAsset).eInverseAdd(this, AssetsPackage.ASSET__ERP_ITEM_MASTER, Asset.class, msgs);
        msgs = basicSetAsset(newAsset, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, InfERPSupportPackage.ERP_ITEM_MASTER__ASSET, newAsset, newAsset));
}
项目:rgse.ttc17.emoflon.tgg    文件:OperationalLimitTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case OperationalLimitsPackage.OPERATIONAL_LIMIT_TYPE__OPERATIONAL_LIMIT:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getOperationalLimit()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:Saturn    文件:ValueReplaceOperationImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case XmlManipModulePackage.VALUE_REPLACE_OPERATION__REG_EXP:
      return basicSetRegExp(null, msgs);
    case XmlManipModulePackage.VALUE_REPLACE_OPERATION__NEW_VALUE:
      return basicSetNewValue(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:NonConformLoadScheduleImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setNonConformLoadGroup(NonConformLoadGroup newNonConformLoadGroup) {
    if (newNonConformLoadGroup != nonConformLoadGroup) {
        NotificationChain msgs = null;
        if (nonConformLoadGroup != null)
            msgs = ((InternalEObject)nonConformLoadGroup).eInverseRemove(this, LoadModelPackage.NON_CONFORM_LOAD_GROUP__NON_CONFORM_LOAD_SCHEDULES, NonConformLoadGroup.class, msgs);
        if (newNonConformLoadGroup != null)
            msgs = ((InternalEObject)newNonConformLoadGroup).eInverseAdd(this, LoadModelPackage.NON_CONFORM_LOAD_GROUP__NON_CONFORM_LOAD_SCHEDULES, NonConformLoadGroup.class, msgs);
        msgs = basicSetNonConformLoadGroup(newNonConformLoadGroup, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, LoadModelPackage.NON_CONFORM_LOAD_SCHEDULE__NON_CONFORM_LOAD_GROUP, newNonConformLoadGroup, newNonConformLoadGroup));
}
项目:ttc2017smartGrids    文件:InadvertentAccountImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case EnergySchedulingPackage.INADVERTENT_ACCOUNT__HOST_CONTROL_AREA:
            if (hostControlArea != null)
                msgs = ((InternalEObject)hostControlArea).eInverseRemove(this, EnergySchedulingPackage.HOST_CONTROL_AREA__INADVERTENT_ACCOUNTS, HostControlArea.class, msgs);
            return basicSetHostControlArea((HostControlArea)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:SealImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case AssetsPackage.SEAL__ASSET_CONTAINER:
            if (assetContainer != null)
                msgs = ((InternalEObject)assetContainer).eInverseRemove(this, AssetsPackage.ASSET_CONTAINER__SEALS, AssetContainer.class, msgs);
            return basicSetAssetContainer((AssetContainer)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:LocationImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case CommonPackage.LOCATION__MEASUREMENTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getMeasurements()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__DIRECTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getDirections()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__POWER_SYSTEM_RESOURCES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getPowerSystemResources()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__LAND_PROPERTIES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getLandProperties()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__DIMENSIONS_INFO:
            if (dimensionsInfo != null)
                msgs = ((InternalEObject)dimensionsInfo).eInverseRemove(this, InfAssetsPackage.DIMENSIONS_INFO__LOCATIONS, DimensionsInfo.class, msgs);
            return basicSetDimensionsInfo((DimensionsInfo)otherEnd, msgs);
        case CommonPackage.LOCATION__CHANGE_ITEMS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getChangeItems()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__ERP_ORGANISATIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getErpOrganisations()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__COORDINATE_SYSTEMS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCoordinateSystems()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__ASSETS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getAssets()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__ROUTES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getRoutes()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__HAZARDS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getHazards()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__RED_LINES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getRedLines()).basicAdd(otherEnd, msgs);
        case CommonPackage.LOCATION__CREWS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCrews()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:PhaseImpedanceDataImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case WiresExtPackage.PHASE_IMPEDANCE_DATA__PHASE_IMPEDANCE:
            if (phaseImpedance != null)
                msgs = ((InternalEObject)phaseImpedance).eInverseRemove(this, WiresExtPackage.PER_LENGTH_PHASE_IMPEDANCE__PHASE_IMPEDANCE_DATA, PerLengthPhaseImpedance.class, msgs);
            return basicSetPhaseImpedance((PerLengthPhaseImpedance)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:SvStatusImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setConductingEquipment(ConductingEquipment newConductingEquipment) {
    if (newConductingEquipment != conductingEquipment) {
        NotificationChain msgs = null;
        if (conductingEquipment != null)
            msgs = ((InternalEObject)conductingEquipment).eInverseRemove(this, CorePackage.CONDUCTING_EQUIPMENT__SV_STATUS, ConductingEquipment.class, msgs);
        if (newConductingEquipment != null)
            msgs = ((InternalEObject)newConductingEquipment).eInverseAdd(this, CorePackage.CONDUCTING_EQUIPMENT__SV_STATUS, ConductingEquipment.class, msgs);
        msgs = basicSetConductingEquipment(newConductingEquipment, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, StateVariablesPackage.SV_STATUS__CONDUCTING_EQUIPMENT, newConductingEquipment, newConductingEquipment));
}
项目:neoscada    文件:ModbusExporterInterceptorImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case ModbusPackage.MODBUS_EXPORTER_INTERCEPTOR__PROPERTIES:
            return ( (InternalEList<?>)getProperties () ).basicRemove ( otherEnd, msgs );
        case ModbusPackage.MODBUS_EXPORTER_INTERCEPTOR__SCRIPT:
            return basicSetScript ( null, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
项目:ttc2017smartGrids    文件:OutageReportImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public OutageRecord getOutageRecord() {
    if (outageRecord != null && outageRecord.eIsProxy()) {
        InternalEObject oldOutageRecord = (InternalEObject)outageRecord;
        outageRecord = (OutageRecord)eResolveProxy(oldOutageRecord);
        if (outageRecord != oldOutageRecord) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfOperationsPackage.OUTAGE_REPORT__OUTAGE_RECORD, oldOutageRecord, outageRecord));
        }
    }
    return outageRecord;
}
项目:rgse.ttc17.emoflon.tgg    文件:SvStatusImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case StateVariablesPackage.SV_STATUS__CONDUCTING_EQUIPMENT:
            return basicSetConductingEquipment(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:MHANImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ASG getHzSet() {
    if (hzSet != null && hzSet.eIsProxy()) {
        InternalEObject oldHzSet = (InternalEObject)hzSet;
        hzSet = (ASG)eResolveProxy(oldHzSet);
        if (hzSet != oldHzSet) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupMPackage.MHAN__HZ_SET, oldHzSet, hzSet));
        }
    }
    return hzSet;
}
项目:ttc2017smartGrids    文件:MDIFImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public SAV getAmp3() {
    if (amp3 != null && amp3.eIsProxy()) {
        InternalEObject oldAmp3 = (InternalEObject)amp3;
        amp3 = (SAV)eResolveProxy(oldAmp3);
        if (amp3 != oldAmp3) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupMPackage.MDIF__AMP3, oldAmp3, amp3));
        }
    }
    return amp3;
}
项目:rgse.ttc17.emoflon.tgg    文件:WireArrangementImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setConductorInfo(ConductorInfo newConductorInfo) {
    if (newConductorInfo != conductorInfo) {
        NotificationChain msgs = null;
        if (conductorInfo != null)
            msgs = ((InternalEObject)conductorInfo).eInverseRemove(this, AssetModelsPackage.CONDUCTOR_INFO__WIRE_ARRANGEMENTS, ConductorInfo.class, msgs);
        if (newConductorInfo != null)
            msgs = ((InternalEObject)newConductorInfo).eInverseAdd(this, AssetModelsPackage.CONDUCTOR_INFO__WIRE_ARRANGEMENTS, ConductorInfo.class, msgs);
        msgs = basicSetConductorInfo(newConductorInfo, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, AssetModelsPackage.WIRE_ARRANGEMENT__CONDUCTOR_INFO, newConductorInfo, newConductorInfo));
}
项目:ttc2017smartGrids    文件:PVPHImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ING getMinOpTmms() {
    if (minOpTmms != null && minOpTmms.eIsProxy()) {
        InternalEObject oldMinOpTmms = (InternalEObject)minOpTmms;
        minOpTmms = (ING)eResolveProxy(oldMinOpTmms);
        if (minOpTmms != oldMinOpTmms) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupPPackage.PVPH__MIN_OP_TMMS, oldMinOpTmms, minOpTmms));
        }
    }
    return minOpTmms;
}
项目:ttc2017smartGrids    文件:OperatingShareImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public OperatingParticipant getOperatingParticipant() {
    if (operatingParticipant != null && operatingParticipant.eIsProxy()) {
        InternalEObject oldOperatingParticipant = (InternalEObject)operatingParticipant;
        operatingParticipant = (OperatingParticipant)eResolveProxy(oldOperatingParticipant);
        if (operatingParticipant != oldOperatingParticipant) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, CorePackage.OPERATING_SHARE__OPERATING_PARTICIPANT, oldOperatingParticipant, operatingParticipant));
        }
    }
    return operatingParticipant;
}
项目:rgse.ttc17.emoflon.tgg    文件:OrgOrgRoleImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ErpOrganisation getChildOrganisation() {
    if (childOrganisation != null && childOrganisation.eIsProxy()) {
        InternalEObject oldChildOrganisation = (InternalEObject)childOrganisation;
        childOrganisation = (ErpOrganisation)eResolveProxy(oldChildOrganisation);
        if (childOrganisation != oldChildOrganisation) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, InfERPSupportPackage.ORG_ORG_ROLE__CHILD_ORGANISATION, oldChildOrganisation, childOrganisation));
        }
    }
    return childOrganisation;
}
项目:ttc2017smartGrids    文件:ErpLedgerImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfERPSupportPackage.ERP_LEDGER__ERP_LEDGER_ENTRIES:
            return ((InternalEList<?>)getErpLedgerEntries()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ChargeProfileImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setBillDeterminant(BillDeterminant newBillDeterminant) {
    if (newBillDeterminant != billDeterminant) {
        NotificationChain msgs = null;
        if (billDeterminant != null)
            msgs = ((InternalEObject)billDeterminant).eInverseRemove(this, MarketOperationsPackage.BILL_DETERMINANT__CHARGE_PROFILE, BillDeterminant.class, msgs);
        if (newBillDeterminant != null)
            msgs = ((InternalEObject)newBillDeterminant).eInverseAdd(this, MarketOperationsPackage.BILL_DETERMINANT__CHARGE_PROFILE, BillDeterminant.class, msgs);
        msgs = basicSetBillDeterminant(newBillDeterminant, msgs);
        if (msgs != null) msgs.dispatch();
    }
    else if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, MarketOperationsPackage.CHARGE_PROFILE__BILL_DETERMINANT, newBillDeterminant, newBillDeterminant));
}
项目:rgse.ttc17.emoflon.tgg    文件:DomainLNImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public LPL getNamePlt() {
    if (namePlt != null && namePlt.eIsProxy()) {
        InternalEObject oldNamePlt = (InternalEObject)namePlt;
        namePlt = (LPL)eResolveProxy(oldNamePlt);
        if (namePlt != oldNamePlt) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, DomainLNsPackage.DOMAIN_LN__NAME_PLT, oldNamePlt, namePlt));
        }
    }
    return namePlt;
}
项目:neoscada    文件:ItemReferenceImpl.java   
/**
 * <!-- 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 )
        {
            if ( eNotificationRequired () )
                eNotify ( new ENotificationImpl ( this, Notification.RESOLVE, OsgiPackage.ITEM_REFERENCE__ITEM, oldItem, item ) );
        }
    }
    return item;
}
项目:ttc2017smartGrids    文件:TimeStampImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public P_TimeStamp getVal() {
    if (val != null && val.eIsProxy()) {
        InternalEObject oldVal = (InternalEObject)val;
        val = (P_TimeStamp)eResolveProxy(oldVal);
        if (val != oldVal) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, DataclassesPackage.TIME_STAMP__VAL, oldVal, val));
        }
    }
    return val;
}
项目:ttc2017smartGrids    文件:SEQImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public Sequence getSeqT() {
    if (seqT != null && seqT.eIsProxy()) {
        InternalEObject oldSeqT = (InternalEObject)seqT;
        seqT = (Sequence)eResolveProxy(oldSeqT);
        if (seqT != oldSeqT) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, DataclassesPackage.SEQ__SEQ_T, oldSeqT, seqT));
        }
    }
    return seqT;
}
项目:OCCI-Studio    文件:LinkImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case OCCIPackage.LINK__SOURCE:
            if (eInternalContainer() != null)
                msgs = eBasicRemoveFromContainer(msgs);
            return basicSetSource((Resource)otherEnd, msgs);
        case OCCIPackage.LINK__TARGET:
            if (target != null)
                msgs = ((InternalEObject)target).eInverseRemove(this, OCCIPackage.RESOURCE__RLINKS, Resource.class, msgs);
            return basicSetTarget((Resource)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:PMRIImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ACT getOp() {
    if (op != null && op.eIsProxy()) {
        InternalEObject oldOp = (InternalEObject)op;
        op = (ACT)eResolveProxy(oldOp);
        if (op != oldOp) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, LNGroupPPackage.PMRI__OP, oldOp, op));
        }
    }
    return op;
}
项目:n4js    文件:ShiftExpressionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case N4JSPackage.SHIFT_EXPRESSION__LHS:
            return basicSetLhs(null, msgs);
        case N4JSPackage.SHIFT_EXPRESSION__RHS:
            return basicSetRhs(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:CompositionListDeletionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EObject getDeletedElement() {
    if (deletedElement != null && deletedElement.eIsProxy()) {
        InternalEObject oldDeletedElement = (InternalEObject)deletedElement;
        deletedElement = eResolveProxy(oldDeletedElement);
        if (deletedElement != oldDeletedElement) {
            if (eNotificationRequired())
                eNotify(new ENotificationImpl(this, Notification.RESOLVE, ChangesPackage.COMPOSITION_LIST_DELETION__DELETED_ELEMENT, oldDeletedElement, deletedElement));
        }
    }
    return deletedElement;
}
项目:ttc2017smartGrids    文件:EquivalentNetworkImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case EquivalentsPackage.EQUIVALENT_NETWORK__EQUIVALENT_EQUIPMENTS:
            return ((InternalEList<?>)getEquivalentEquipments()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:NonConformLoadImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case LoadModelPackage.NON_CONFORM_LOAD__LOAD_GROUP:
            return basicSetLoadGroup(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}