Java 类org.eclipse.emf.ecore.util.InternalEList 实例源码

项目:rgse.ttc17.emoflon.tgg    文件:AuxiliaryAccountImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case PaymentMeteringPackage.AUXILIARY_ACCOUNT__PAYMENT_TRANSACTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getPaymentTransactions()).basicAdd(otherEnd, msgs);
        case PaymentMeteringPackage.AUXILIARY_ACCOUNT__AUXILIARY_AGREEMENT:
            if (auxiliaryAgreement != null)
                msgs = ((InternalEObject)auxiliaryAgreement).eInverseRemove(this, PaymentMeteringPackage.AUXILIARY_AGREEMENT__AUXILIARY_ACCOUNTS, AuxiliaryAgreement.class, msgs);
            return basicSetAuxiliaryAgreement((AuxiliaryAgreement)otherEnd, msgs);
        case PaymentMeteringPackage.AUXILIARY_ACCOUNT__CHARGES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCharges()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:TransformerObservationImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfAssetsPackage.TRANSFORMER_OBSERVATION__TRANSFORMER_ASSET:
            return basicSetTransformerAsset(null, msgs);
        case InfAssetsPackage.TRANSFORMER_OBSERVATION__TRANSFORMER:
            return basicSetTransformer(null, msgs);
        case InfAssetsPackage.TRANSFORMER_OBSERVATION__PROCEDURE_DATA_SETS:
            return ((InternalEList<?>)getProcedureDataSets()).basicRemove(otherEnd, msgs);
        case InfAssetsPackage.TRANSFORMER_OBSERVATION__BUSHING_INSULTATION_PFS:
            return ((InternalEList<?>)getBushingInsultationPFs()).basicRemove(otherEnd, msgs);
        case InfAssetsPackage.TRANSFORMER_OBSERVATION__WINDING_INSULATION_PFS:
            return ((InternalEList<?>)getWindingInsulationPFs()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:TransmissionProviderImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case FinancialPackage.TRANSMISSION_PROVIDER__SERVICE_POINT:
            return ((InternalEList<?>)getServicePoint()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__ANCILLARY_SERVICES:
            return ((InternalEList<?>)getAncillaryServices()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__FOR:
            return ((InternalEList<?>)getFor()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__OFFERED_BY:
            return ((InternalEList<?>)getOfferedBy()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__FLOWGATE:
            return ((InternalEList<?>)getFlowgate()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__SOLD_BY:
            return ((InternalEList<?>)getSoldBy()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PROVIDER__TRANSMISSION_PRODUCTS:
            return ((InternalEList<?>)getTransmissionProducts()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:OperationalLimitSetImpl.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_SET__OPERATIONAL_LIMIT_VALUE:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getOperationalLimitValue()).basicAdd(otherEnd, msgs);
        case OperationalLimitsPackage.OPERATIONAL_LIMIT_SET__TERMINAL:
            if (terminal != null)
                msgs = ((InternalEObject)terminal).eInverseRemove(this, CorePackage.TERMINAL__OPERATIONAL_LIMIT_SET, Terminal.class, msgs);
            return basicSetTerminal((Terminal)otherEnd, msgs);
        case OperationalLimitsPackage.OPERATIONAL_LIMIT_SET__EQUIPMENT:
            if (equipment != null)
                msgs = ((InternalEObject)equipment).eInverseRemove(this, CorePackage.EQUIPMENT__OPERATIONAL_LIMIT_SET, Equipment.class, msgs);
            return basicSetEquipment((Equipment)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:Saturn    文件:SQLFetchOperationImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case SqlModulePackage.SQL_FETCH_OPERATION__OUTPUT_RESOURCE:
      return basicSetOutputResource(null, msgs);
    case SqlModulePackage.SQL_FETCH_OPERATION__PARAMETER_RESOURCE:
      return basicSetParameterResource(null, msgs);
    case SqlModulePackage.SQL_FETCH_OPERATION__QUERIES:
      return ((InternalEList<?>)getQueries()).basicRemove(otherEnd, msgs);
    case SqlModulePackage.SQL_FETCH_OPERATION__TABLE_GROUP_DEFINITION:
      return basicSetTableGroupDefinition(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:HydroPowerPlantImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case ProductionPackage.HYDRO_POWER_PLANT__GEN_SOURCE_PUMP_DISCHARGE_RESERVOIR:
            if (genSourcePumpDischargeReservoir != null)
                msgs = ((InternalEObject)genSourcePumpDischargeReservoir).eInverseRemove(this, ProductionPackage.RESERVOIR__UPSTREAM_FROM_HYDRO_POWER_PLANTS, Reservoir.class, msgs);
            return basicSetGenSourcePumpDischargeReservoir((Reservoir)otherEnd, msgs);
        case ProductionPackage.HYDRO_POWER_PLANT__HYDRO_GENERATING_UNITS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getHydroGeneratingUnits()).basicAdd(otherEnd, msgs);
        case ProductionPackage.HYDRO_POWER_PLANT__HYDRO_PUMPS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getHydroPumps()).basicAdd(otherEnd, msgs);
        case ProductionPackage.HYDRO_POWER_PLANT__RESERVOIR:
            if (reservoir != null)
                msgs = ((InternalEObject)reservoir).eInverseRemove(this, ProductionPackage.RESERVOIR__HYDRO_POWER_PLANTS, Reservoir.class, msgs);
            return basicSetReservoir((Reservoir)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:MarketerImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case FinancialPackage.MARKETER__RESELLS_ENERGY_PRODUCT:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getResells_EnergyProduct()).basicAdd(otherEnd, msgs);
        case FinancialPackage.MARKETER__HELD_BY:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getHeldBy()).basicAdd(otherEnd, msgs);
        case FinancialPackage.MARKETER__HOLDS_TITLE_TO_ENERGY_PRODUCTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getHoldsTitleTo_EnergyProducts()).basicAdd(otherEnd, msgs);
        case FinancialPackage.MARKETER__RESOLD_BY:
            if (resoldBy != null)
                msgs = ((InternalEObject)resoldBy).eInverseRemove(this, ReservationPackage.SERVICE_RESERVATION__RESELLS, ServiceReservation.class, msgs);
            return basicSetResoldBy((ServiceReservation)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:SubGeographicalRegionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case CorePackage.SUB_GEOGRAPHICAL_REGION__LINES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getLines()).basicAdd(otherEnd, msgs);
        case CorePackage.SUB_GEOGRAPHICAL_REGION__REGION:
            if (region != null)
                msgs = ((InternalEObject)region).eInverseRemove(this, CorePackage.GEOGRAPHICAL_REGION__REGIONS, GeographicalRegion.class, msgs);
            return basicSetRegion((GeographicalRegion)otherEnd, msgs);
        case CorePackage.SUB_GEOGRAPHICAL_REGION__SUBSTATIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getSubstations()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:RegisteredGeneratorImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MarketOperationsPackage.REGISTERED_GENERATOR__RAMP_RATE_CURVES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getRampRateCurves()).basicAdd(otherEnd, msgs);
        case MarketOperationsPackage.REGISTERED_GENERATOR__UNIT_INITIAL_CONDITIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getUnitInitialConditions()).basicAdd(otherEnd, msgs);
        case MarketOperationsPackage.REGISTERED_GENERATOR__START_UP_COST_CURVES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getStartUpCostCurves()).basicAdd(otherEnd, msgs);
        case MarketOperationsPackage.REGISTERED_GENERATOR__GENERATING_UNIT:
            if (generatingUnit != null)
                msgs = ((InternalEObject)generatingUnit).eInverseRemove(this, ProductionPackage.GENERATING_UNIT__REGISTERED_GENERATOR, GeneratingUnit.class, msgs);
            return basicSetGeneratingUnit((GeneratingUnit)otherEnd, msgs);
        case MarketOperationsPackage.REGISTERED_GENERATOR__GENERATING_BIDS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGeneratingBids()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:SwitchImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case WiresPackage.SWITCH__LOAD_MGMT_FUNCTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getLoadMgmtFunctions()).basicAdd(otherEnd, msgs);
        case WiresPackage.SWITCH__CONNECT_DISCONNECT_FUNCTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getConnectDisconnectFunctions()).basicAdd(otherEnd, msgs);
        case WiresPackage.SWITCH__SWITCHING_OPERATIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getSwitchingOperations()).basicAdd(otherEnd, msgs);
        case WiresPackage.SWITCH__SWITCH_SCHEDULES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getSwitchSchedules()).basicAdd(otherEnd, msgs);
        case WiresPackage.SWITCH__COMPOSITE_SWITCH:
            if (compositeSwitch != null)
                msgs = ((InternalEObject)compositeSwitch).eInverseRemove(this, WiresPackage.COMPOSITE_SWITCH__SWITCHES, CompositeSwitch.class, msgs);
            return basicSetCompositeSwitch((CompositeSwitch)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ErpPayableLineItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfERPSupportPackage.ERP_PAYABLE_LINE_ITEM__ERP_INVOICE_LINE_ITEM:
            if (erpInvoiceLineItem != null)
                msgs = ((InternalEObject)erpInvoiceLineItem).eInverseRemove(this, InfERPSupportPackage.ERP_INVOICE_LINE_ITEM__ERP_PAYABLE_LINE_ITEM, ErpInvoiceLineItem.class, msgs);
            return basicSetErpInvoiceLineItem((ErpInvoiceLineItem)otherEnd, msgs);
        case InfERPSupportPackage.ERP_PAYABLE_LINE_ITEM__ERP_PAYMENTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getErpPayments()).basicAdd(otherEnd, msgs);
        case InfERPSupportPackage.ERP_PAYABLE_LINE_ITEM__ERP_PAYABLE:
            if (erpPayable != null)
                msgs = ((InternalEObject)erpPayable).eInverseRemove(this, InfERPSupportPackage.ERP_PAYABLE__ERP_PAYABLE_LINE_ITEMS, ErpPayable.class, msgs);
            return basicSetErpPayable((ErpPayable)otherEnd, msgs);
        case InfERPSupportPackage.ERP_PAYABLE_LINE_ITEM__ERP_JOURNAL_ENTRIES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getErpJournalEntries()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:neoscada    文件:ViewImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case DetailViewPackage.VIEW__HEADER_COMPONENT:
            return basicSetHeaderComponent ( null, msgs );
        case DetailViewPackage.VIEW__GROUPS:
            return ( (InternalEList<?>)getGroups () ).basicRemove ( otherEnd, msgs );
        case DetailViewPackage.VIEW__HIDDEN_COMPONENT:
            return ( (InternalEList<?>)getHiddenComponent () ).basicRemove ( otherEnd, msgs );
        case DetailViewPackage.VIEW__SCRIPT_MODULE:
            return ( (InternalEList<?>)getScriptModule () ).basicRemove ( otherEnd, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
项目:time4sys    文件:MutualExclusionResourceImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case AnalysisPackage.MUTUAL_EXCLUSION_RESOURCE__ELEMENTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getElements()).basicAdd(otherEnd, msgs);
        case AnalysisPackage.MUTUAL_EXCLUSION_RESOURCE__PROTECTED_BY:
            if (protectedBy != null)
                msgs = ((InternalEObject)protectedBy).eInverseRemove(this, AnalysisPackage.PROTECTION_PROTOCOL__MUTEXES, ProtectionProtocol.class, msgs);
            return basicSetProtectedBy((ProtectionProtocol)otherEnd, msgs);
        case AnalysisPackage.MUTUAL_EXCLUSION_RESOURCE__PARENT:
            if (eInternalContainer() != null)
                msgs = eBasicRemoveFromContainer(msgs);
            return basicSetParent((AnalyzedSystem)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:OutageRecordImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfOperationsPackage.OUTAGE_RECORD__OUTAGE_REPORT:
            if (outageReport != null)
                msgs = ((InternalEObject)outageReport).eInverseRemove(this, InfOperationsPackage.OUTAGE_REPORT__OUTAGE_RECORD, OutageReport.class, msgs);
            return basicSetOutageReport((OutageReport)otherEnd, msgs);
        case InfOperationsPackage.OUTAGE_RECORD__OUTAGE_STEPS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutageSteps()).basicAdd(otherEnd, msgs);
        case InfOperationsPackage.OUTAGE_RECORD__OUTAGE_CODES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getOutageCodes()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ReceiptImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case PaymentMeteringPackage.RECEIPT__TRANSACTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getTransactions()).basicAdd(otherEnd, msgs);
        case PaymentMeteringPackage.RECEIPT__CASHIER_SHIFT:
            if (cashierShift != null)
                msgs = ((InternalEObject)cashierShift).eInverseRemove(this, PaymentMeteringPackage.CASHIER_SHIFT__RECEIPTS, CashierShift.class, msgs);
            return basicSetCashierShift((CashierShift)otherEnd, msgs);
        case PaymentMeteringPackage.RECEIPT__TENDERS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getTenders()).basicAdd(otherEnd, msgs);
        case PaymentMeteringPackage.RECEIPT__VENDOR_SHIFT:
            if (vendorShift != null)
                msgs = ((InternalEObject)vendorShift).eInverseRemove(this, PaymentMeteringPackage.VENDOR_SHIFT__RECEIPTS, VendorShift.class, msgs);
            return basicSetVendorShift((VendorShift)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:ChargeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case PaymentMeteringPackage.CHARGE__AUXILIARY_ACCOUNTS:
            return ((InternalEList<?>)getAuxiliaryAccounts()).basicRemove(otherEnd, msgs);
        case PaymentMeteringPackage.CHARGE__PARENT_CHARGE:
            return basicSetParentCharge(null, msgs);
        case PaymentMeteringPackage.CHARGE__CONSUMPTION_TARIFF_INTERVALS:
            return ((InternalEList<?>)getConsumptionTariffIntervals()).basicRemove(otherEnd, msgs);
        case PaymentMeteringPackage.CHARGE__CHILD_CHARGES:
            return ((InternalEList<?>)getChildCharges()).basicRemove(otherEnd, msgs);
        case PaymentMeteringPackage.CHARGE__TIME_TARIFF_INTERVALS:
            return ((InternalEList<?>)getTimeTariffIntervals()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:BankAccountImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfCommonPackage.BANK_ACCOUNT__BANK:
            if (bank != null)
                msgs = ((InternalEObject)bank).eInverseRemove(this, InfPaymentMeteringPackage.BANK__BANK_ACCOUNTS, Bank.class, msgs);
            return basicSetBank((Bank)otherEnd, msgs);
        case InfCommonPackage.BANK_ACCOUNT__SERVICE_SUPPLIER:
            if (serviceSupplier != null)
                msgs = ((InternalEObject)serviceSupplier).eInverseRemove(this, PaymentMeteringPackage.SERVICE_SUPPLIER__BANK_ACCOUNTS, ServiceSupplier.class, msgs);
            return basicSetServiceSupplier((ServiceSupplier)otherEnd, msgs);
        case InfCommonPackage.BANK_ACCOUNT__BANK_STATEMENTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getBankStatements()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:CustomerAccountImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case CustomersPackage.CUSTOMER_ACCOUNT__WORK_BILLING_INFOS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getWorkBillingInfos()).basicAdd(otherEnd, msgs);
        case CustomersPackage.CUSTOMER_ACCOUNT__PAYMENT_TRANSACTIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getPaymentTransactions()).basicAdd(otherEnd, msgs);
        case CustomersPackage.CUSTOMER_ACCOUNT__CUSTOMER_AGREEMENTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCustomerAgreements()).basicAdd(otherEnd, msgs);
        case CustomersPackage.CUSTOMER_ACCOUNT__ERP_INVOICEES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getErpInvoicees()).basicAdd(otherEnd, msgs);
        case CustomersPackage.CUSTOMER_ACCOUNT__CUSTOMER_BILLING_INFOS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCustomerBillingInfos()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:bromium    文件:ApplicationActionImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
{
  switch (featureID)
  {
    case BromiumPackage.APPLICATION_ACTION__SYNTAX_DEFINITIONS:
      return ((InternalEList<?>)getSyntaxDefinitions()).basicRemove(otherEnd, msgs);
    case BromiumPackage.APPLICATION_ACTION__PRECONDITION:
      return basicSetPrecondition(null, msgs);
    case BromiumPackage.APPLICATION_ACTION__WEB_DRIVER_ACTION:
      return basicSetWebDriverAction(null, msgs);
    case BromiumPackage.APPLICATION_ACTION__EXPECT_HTTP_REQUEST:
      return basicSetExpectHttpRequest(null, msgs);
    case BromiumPackage.APPLICATION_ACTION__POSTCONDITION:
      return basicSetPostcondition(null, msgs);
  }
  return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:DesignLocationCUImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfWorkPackage.DESIGN_LOCATION_CU__DESIGNS:
            return ((InternalEList<?>)getDesigns()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION_CU__CONDITION_FACTORS:
            return ((InternalEList<?>)getConditionFactors()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION_CU__COMPATIBLE_UNITS:
            return ((InternalEList<?>)getCompatibleUnits()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION_CU__WORK_TASKS:
            return ((InternalEList<?>)getWorkTasks()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION_CU__DESIGN_LOCATION:
            return basicSetDesignLocation(null, msgs);
        case InfWorkPackage.DESIGN_LOCATION_CU__CU_GROUPS:
            return ((InternalEList<?>)getCUGroups()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:MeasurementValueImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MeasPackage.MEASUREMENT_VALUE__GML_VALUES:
            return ((InternalEList<?>)getGmlValues()).basicRemove(otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__PROCEDURE_DATA_SETS:
            return ((InternalEList<?>)getProcedureDataSets()).basicRemove(otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__MEASUREMENT_VALUE_QUALITY:
            return basicSetMeasurementValueQuality(null, msgs);
        case MeasPackage.MEASUREMENT_VALUE__ERP_PERSON:
            return basicSetErpPerson(null, msgs);
        case MeasPackage.MEASUREMENT_VALUE__MEASUREMENT_VALUE_SOURCE:
            return basicSetMeasurementValueSource(null, msgs);
        case MeasPackage.MEASUREMENT_VALUE__REMOTE_SOURCE:
            return basicSetRemoteSource(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:DiscreteImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MeasPackage.DISCRETE__VALUE_ALIAS_SET:
            if (valueAliasSet != null)
                msgs = ((InternalEObject)valueAliasSet).eInverseRemove(this, MeasPackage.VALUE_ALIAS_SET__DISCRETES, ValueAliasSet.class, msgs);
            return basicSetValueAliasSet((ValueAliasSet)otherEnd, msgs);
        case MeasPackage.DISCRETE__COMMAND:
            if (command != null)
                msgs = ((InternalEObject)command).eInverseRemove(this, MeasPackage.COMMAND__DISCRETE, Command.class, msgs);
            return basicSetCommand((Command)otherEnd, msgs);
        case MeasPackage.DISCRETE__DISCRETE_VALUES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getDiscreteValues()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:DesignLocationImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfWorkPackage.DESIGN_LOCATION__CONDITION_FACTORS:
            return ((InternalEList<?>)getConditionFactors()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__MATERIAL_ITEMS:
            return ((InternalEList<?>)getMaterialItems()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__DIAGRAMS:
            return ((InternalEList<?>)getDiagrams()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__WORK_LOCATIONS:
            return ((InternalEList<?>)getWorkLocations()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__DESIGN_LOCATION_CUS:
            return ((InternalEList<?>)getDesignLocationCUs()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__DESIGNS:
            return ((InternalEList<?>)getDesigns()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__ERP_BOM_ITEM_DATAS:
            return ((InternalEList<?>)getErpBomItemDatas()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.DESIGN_LOCATION__MISC_COST_ITEMS:
            return ((InternalEList<?>)getMiscCostItems()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:GmlStrokeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfGMLSupportPackage.GML_STROKE__GML_COLOUR:
            return basicSetGmlColour(null, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_SVG_PARAMETERS:
            return ((InternalEList<?>)getGmlSvgParameters()).basicRemove(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_POLYGON_SYMBOLS:
            return ((InternalEList<?>)getGmlPolygonSymbols()).basicRemove(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_LINE_SYMBOLS:
            return ((InternalEList<?>)getGmlLineSymbols()).basicRemove(otherEnd, msgs);
        case InfGMLSupportPackage.GML_STROKE__GML_MARKS:
            return ((InternalEList<?>)getGmlMarks()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ErpBOMImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfERPSupportPackage.ERP_BOM__ERP_BOM_ITEM_DATAS:
            return ((InternalEList<?>)getErpBomItemDatas()).basicRemove(otherEnd, msgs);
        case InfERPSupportPackage.ERP_BOM__DESIGN:
            return basicSetDesign(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:TransmissionProductImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case FinancialPackage.TRANSMISSION_PRODUCT__LOCATION_FOR:
            return ((InternalEList<?>)getLocationFor()).basicRemove(otherEnd, msgs);
        case FinancialPackage.TRANSMISSION_PRODUCT__TRANSMISSION_PROVIDER:
            return basicSetTransmissionProvider(null, msgs);
        case FinancialPackage.TRANSMISSION_PRODUCT__OFFERS:
            return ((InternalEList<?>)getOffers()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ValueAliasSetImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MeasPackage.VALUE_ALIAS_SET__VALUES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getValues()).basicAdd(otherEnd, msgs);
        case MeasPackage.VALUE_ALIAS_SET__COMMANDS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getCommands()).basicAdd(otherEnd, msgs);
        case MeasPackage.VALUE_ALIAS_SET__DISCRETES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getDiscretes()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:GmlHaloImpl.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_HALO__GML_TEXT_SYMBOLS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlTextSymbols()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:PowerRatingImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfAssetsPackage.POWER_RATING__TRANSFORMER_ASSETS:
            return ((InternalEList<?>)getTransformerAssets()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:MarketRoleImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfCommonPackage.MARKET_ROLE__ORGANISATIONS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getOrganisations()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:TransmissionReliabilityMarginImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MarketOperationsPackage.TRANSMISSION_RELIABILITY_MARGIN__FLOWGATE:
            return ((InternalEList<?>)getFlowgate()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:BranchGroupImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case OperationalLimitsPackage.BRANCH_GROUP__BRANCH_GROUP_TERMINAL:
            return ((InternalEList<?>)getBranchGroupTerminal()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:BankImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfPaymentMeteringPackage.BANK__BANK_ACCOUNTS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getBankAccounts()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:neoscada    文件:HiveTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs )
{
    switch ( featureID )
    {
        case ExporterPackage.HIVE_TYPE__CONFIGURATION:
            return basicSetConfiguration ( null, msgs );
        case ExporterPackage.HIVE_TYPE__EXPORT:
            return ( (InternalEList<?>)getExport () ).basicRemove ( otherEnd, msgs );
    }
    return super.eInverseRemove ( otherEnd, featureID, msgs );
}
项目:ttc2017smartGrids    文件:MeasurementValueImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case MeasPackage.MEASUREMENT_VALUE__GML_VALUES:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getGmlValues()).basicAdd(otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__PROCEDURE_DATA_SETS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getProcedureDataSets()).basicAdd(otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__MEASUREMENT_VALUE_QUALITY:
            if (measurementValueQuality != null)
                msgs = ((InternalEObject)measurementValueQuality).eInverseRemove(this, MeasPackage.MEASUREMENT_VALUE_QUALITY__MEASUREMENT_VALUE, MeasurementValueQuality.class, msgs);
            return basicSetMeasurementValueQuality((MeasurementValueQuality)otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__ERP_PERSON:
            if (erpPerson != null)
                msgs = ((InternalEObject)erpPerson).eInverseRemove(this, InfERPSupportPackage.ERP_PERSON__MEASUREMENT_VALUES, ErpPerson.class, msgs);
            return basicSetErpPerson((ErpPerson)otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__MEASUREMENT_VALUE_SOURCE:
            if (measurementValueSource != null)
                msgs = ((InternalEObject)measurementValueSource).eInverseRemove(this, MeasPackage.MEASUREMENT_VALUE_SOURCE__MEASUREMENT_VALUES, MeasurementValueSource.class, msgs);
            return basicSetMeasurementValueSource((MeasurementValueSource)otherEnd, msgs);
        case MeasPackage.MEASUREMENT_VALUE__REMOTE_SOURCE:
            if (remoteSource != null)
                msgs = ((InternalEObject)remoteSource).eInverseRemove(this, SCADAPackage.REMOTE_SOURCE__MEASUREMENT_VALUE, RemoteSource.class, msgs);
            return basicSetRemoteSource((RemoteSource)otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:CombinedCyclePlantImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case ProductionPackage.COMBINED_CYCLE_PLANT__THERMAL_GENERATING_UNITS:
            return ((InternalEList<?>)getThermalGeneratingUnits()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:ErpReceiveDeliveryImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings("unchecked")
@Override
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfERPSupportPackage.ERP_RECEIVE_DELIVERY__ERP_REC_DELV_LINE_ITEMS:
            return ((InternalEList<InternalEObject>)(InternalEList<?>)getErpRecDelvLineItems()).basicAdd(otherEnd, msgs);
    }
    return super.eInverseAdd(otherEnd, featureID, msgs);
}
项目:rgse.ttc17.emoflon.tgg    文件:GmlSymbolImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfGMLSupportPackage.GML_SYMBOL__GML_FEATURE_STYLES:
            return ((InternalEList<?>)getGmlFeatureStyles()).basicRemove(otherEnd, msgs);
        case InfGMLSupportPackage.GML_SYMBOL__GML_BASE_SYMBOL:
            return basicSetGmlBaseSymbol(null, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:ttc2017smartGrids    文件:CUMaterialItemImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case InfWorkPackage.CU_MATERIAL_ITEM__COMPATIBLE_UNITS:
            return ((InternalEList<?>)getCompatibleUnits()).basicRemove(otherEnd, msgs);
        case InfWorkPackage.CU_MATERIAL_ITEM__TYPE_MATERIAL:
            return basicSetTypeMaterial(null, msgs);
        case InfWorkPackage.CU_MATERIAL_ITEM__PROPERTY_UNITS:
            return ((InternalEList<?>)getPropertyUnits()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}
项目:time4sys    文件:SoftwareMutualExclusionResourceImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
    switch (featureID) {
        case SrmPackage.SOFTWARE_MUTUAL_EXCLUSION_RESOURCE__PROTOCOL:
            return basicSetProtocol(null, msgs);
        case SrmPackage.SOFTWARE_MUTUAL_EXCLUSION_RESOURCE__PROTECT_PARAMS:
            return ((InternalEList<?>)getProtectParams()).basicRemove(otherEnd, msgs);
    }
    return super.eInverseRemove(otherEnd, featureID, msgs);
}