@Override public EngineInformation getEngineInformation() { return vType.getEngineInformation(); }
this.writeStartTag(VehicleSchemaV1Names.MAXIMUMVELOCITY, atts, true); if (vt.getEngineInformation() != null) { this.writeEngineInformation(vt.getEngineInformation());
assertNotNull(vehType.getCapacity().getFreightCapacity()); assertEquals(23.23, vehType.getCapacity().getFreightCapacity().getVolume(), EPSILON); assertNotNull(vehType.getEngineInformation()); assertEquals(EngineInformation.FuelType.diesel, vehType.getEngineInformation().getFuelType()); assertEquals(0.23, vehType.getEngineInformation().getGasConsumption(), EPSILON); assertEquals(23.23, vehType.getAccessTime(), EPSILON); assertEquals(42.42, vehType.getEgressTime(), EPSILON);