VehicleDetails

public final class VehicleDetails

Specific information for a car.

Parameters

carClass

Car category and type.

carCategory
carType
transmissionDrive
fuelAC
make

Car manufacturer and model.

minDoors

Minimal car door count.

maxDoors

Maximal car door count.

fuelLevel

Car fuel information.

capacity

Constructors

Link copied to clipboard
public VehicleDetails VehicleDetails(String carClass, CarCategory carCategory, CarType carType, TransmissionDrive transmissionDrive, FuelAC fuelAC, String make, Integer minDoors, Integer maxDoors, String fuelLevel, Capacity capacity)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Capacity capacity
Link copied to clipboard
@NotNull()
@Valid()
private final CarCategory carCategory
Link copied to clipboard
@NotNull()
@Valid()
private final String carClass
Link copied to clipboard
@NotNull()
@Valid()
private final CarType carType
Link copied to clipboard
@NotNull()
@Valid()
private final FuelAC fuelAC
Link copied to clipboard
@Valid()
private final String fuelLevel
Link copied to clipboard
@Valid()
private final String make
Link copied to clipboard
private final Integer maxDoors
Link copied to clipboard
private final Integer minDoors
Link copied to clipboard
@NotNull()
@Valid()
private final TransmissionDrive transmissionDrive

Functions

Link copied to clipboard
public final static VehicleDetails.Builder builder()
Link copied to clipboard
public final Capacity getCapacity()
Link copied to clipboard
public final CarCategory getCarCategory()
Link copied to clipboard
public final String getCarClass()
Link copied to clipboard
public final CarType getCarType()
Link copied to clipboard
public final FuelAC getFuelAC()
Link copied to clipboard
public final String getFuelLevel()
Link copied to clipboard
public final String getMake()
Link copied to clipboard
public final Integer getMaxDoors()
Link copied to clipboard
public final Integer getMinDoors()
Link copied to clipboard
Link copied to clipboard