本文整理汇总了Java中org.eclipse.emf.ecore.util.InternalEList类的典型用法代码示例。如果您正苦于以下问题:Java InternalEList类的具体用法?Java InternalEList怎么用?Java InternalEList使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
InternalEList类属于org.eclipse.emf.ecore.util包,在下文中一共展示了InternalEList类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例2: eInverseRemove
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例3: eInverseRemove
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例4: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例5: eInverseRemove
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例6: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例7: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例8: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例9: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例10: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例11: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例12: eInverseRemove
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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 );
}
示例13: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例14: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}
示例15: eInverseAdd
import org.eclipse.emf.ecore.util.InternalEList; //导入依赖的package包/类
/**
* <!-- 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);
}