Overview

Summary

ContactDonateImprint


Appendix E-16: VEHICLE BATTERY OPTION (UI prompt)


VehicleBatteryOptionVehicleModelModuleTesla

Properties (7)

PropertyTypeEntityReferenceModule
(1) BatteryPackLONGVehicleBatteryOptionBatteryPackBatteryPackModule
(2) EndYearINTVehicleBatteryOption
(3) IsPerformanceVariantBOOLVehicleBatteryOption
(4) OptionNameSTRINGVehicleBatteryOption
(5) RangeKmINTVehicleBatteryOption
(6) StartYearINTVehicleBatteryOption
(7) VehicleModelLONGVehicleBatteryOptionVehicleModelVehicleModelModule


Module Interfaces (7)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /vehiclebatteryoption/vehiclemodel/{id}findAllVehicleBatteryOptionOfVehicleModel(id)VehicleModelModuleGETVehicleModel VehicleBatteryOption
(2) /vehiclebatteryoption/{id}updateVehicleBatteryOptionById(vehiclebatteryoption)VehicleModelModulePUTVehicleBatteryOption
(3) /vehiclebatteryoption/{id}findVehicleBatteryOptionById(id)VehicleModelModuleGETVehicleBatteryOption
(4) /vehiclebatteryoptionfindAllVehicleBatteryOption()VehicleModelModuleGETVehicleBatteryOption
(5) /vehiclebatteryoptioninsertVehicleBatteryOption(vehiclebatteryoption)VehicleModelModulePOSTVehicleBatteryOption
(6) /vehiclebatteryoption/batterypack/{id}findAllVehicleBatteryOptionOfBatteryPack(id)VehicleModelModuleGETBatteryPack VehicleBatteryOption
(7) /vehiclebatteryoption/{id}deleteVehicleBatteryOptionById(id)VehicleModelModuleDELETEVehicleBatteryOption





Example:

final VehicleBatteryOption vehiclebatteryoption = (VehicleBatteryOption) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclebatteryoption/" + id, VehicleBatteryOption.class);
if (vehiclebatteryoption != null) {
    final VehicleModel vehiclemodel1 = (VehicleModel) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclemodel/" + vehiclebatteryoption.getVehicleModel().getId(), VehicleModel.class);
    if (vehiclemodel1 != null) {
        final Product product2 = (Product) invokeModule(COMPANY_MODULE + "/product/" + vehiclemodel1.getProduct().getId(), Product.class);
        if (product2 != null) {
            final Company company3 = (Company) invokeModule(COMPANY_MODULE + "/company/" + product2.getCompany().getId(), Company.class);
            if (company3 != null) {
            }
            final BusinessSegment businesssegment4 = (BusinessSegment) invokeModule(BUSINESS_SEGMENT_MODULE + "/businesssegment/" + product2.getBusinessSegment().getId(), BusinessSegment.class);
            if (businesssegment4 != null) {
                final Company company5 = (Company) invokeModule(COMPANY_MODULE + "/company/" + businesssegment4.getCompany().getId(), Company.class);
                if (company5 != null) {
                }
            }
        }
        final VehicleCategory vehiclecategory6 = (VehicleCategory) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclecategory/" + vehiclemodel1.getVehicleCategory().getId(), VehicleCategory.class);
        if (vehiclecategory6 != null) {
        }
    }
    final BatteryPack batterypack7 = (BatteryPack) invokeModule(BATTERY_PACK_MODULE + "/batterypack/" + vehiclebatteryoption.getBatteryPack().getId(), BatteryPack.class);
    if (batterypack7 != null) {
        final BatteryCellFormat batterycellformat8 = (BatteryCellFormat) invokeModule(BATTERY_PACK_MODULE + "/batterycellformat/" + batterypack7.getBatteryCellFormat().getId(), BatteryCellFormat.class);
        if (batterycellformat8 != null) {
        }
    }
}
return vehiclebatteryoption;


Overview

Summary

ContactDonateImprint