Overview

Summary

ContactDonateImprint


Appendix E-17: VEHICLE SPECIFICATION (UI prompt)


VehicleSpecificationCityModuleTesla

Properties (15)

PropertyTypeEntityReferenceModule
(1) BatteryWeightKgINTVehicleSpecification
(2) CurbWeightKgINTVehicleSpecification
(3) DriveTypeSTRINGVehicleSpecification
(4) EndYearINTVehicleSpecification
(5) HeightMmINTVehicleSpecification
(6) LengthMmINTVehicleSpecification
(7) MarketRegionSTRINGVehicleSpecification
(8) RangeKmINTVehicleSpecification
(9) SeatsINTVehicleSpecification
(10) SpecVersionNameSTRINGVehicleSpecification
(11) StartYearINTVehicleSpecification
(12) TopSpeedKmhINTVehicleSpecification
(13) VehicleModelLONGVehicleSpecificationVehicleModelVehicleModelModule
(14) WidthMmINTVehicleSpecification
(15) ZeroToHundredKmhSecondsDOUBLEVehicleSpecification


Module Interfaces (6)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /vehiclespecificationfindAllVehicleSpecification()CityModuleGETVehicleSpecification
(2) /vehiclespecification/{id}deleteVehicleSpecificationById(id)CityModuleDELETEVehicleSpecification
(3) /vehiclespecification/{id}updateVehicleSpecificationById(vehiclespecification)CityModulePUTVehicleSpecification
(4) /vehiclespecification/vehiclemodel/{id}findAllVehicleSpecificationOfVehicleModel(id)CityModuleGETVehicleModel VehicleSpecification
(5) /vehiclespecification/{id}findVehicleSpecificationById(id)CityModuleGETVehicleSpecification
(6) /vehiclespecificationinsertVehicleSpecification(vehiclespecification)CityModulePOSTVehicleSpecification





Example:

final VehicleSpecification vehiclespecification = (VehicleSpecification) invokeModule(CITY_MODULE + "/vehiclespecification/" + id, VehicleSpecification.class);
if (vehiclespecification != null) {
    final VehicleModel vehiclemodel1 = (VehicleModel) invokeModule(VEHICLE_MODEL_MODULE + "/vehiclemodel/" + vehiclespecification.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) {
        }
    }
}
return vehiclespecification;


Overview

Summary

ContactDonateImprint