Modifier and Type | Method and Description |
---|---|
Car |
build() |
Car.Builder |
clearDoors()
Clears the value of the 'doors' field
|
Car.Builder |
clearEngine()
Clears the value of the 'engine' field
|
Car.Builder |
clearMake()
Clears the value of the 'make' field
|
Car.Builder |
clearModel()
Clears the value of the 'model' field
|
Car.Builder |
clearOptionalExtra()
Clears the value of the 'optionalExtra' field
|
Car.Builder |
clearRegistration()
Clears the value of the 'registration' field
|
Car.Builder |
clearServiceHistory()
Clears the value of the 'serviceHistory' field
|
Car.Builder |
clearVin()
Clears the value of the 'vin' field
|
Car.Builder |
clearYear()
Clears the value of the 'year' field
|
Integer |
getDoors()
Gets the value of the 'doors' field
|
Engine |
getEngine()
Gets the value of the 'engine' field
|
String |
getMake()
Gets the value of the 'make' field
|
String |
getModel()
Gets the value of the 'model' field
|
Object |
getOptionalExtra()
Gets the value of the 'optionalExtra' field
|
String |
getRegistration()
Gets the value of the 'registration' field
|
List<Service> |
getServiceHistory()
Gets the value of the 'serviceHistory' field
|
Vin |
getVin()
Gets the value of the 'vin' field
|
Long |
getYear()
Gets the value of the 'year' field
|
boolean |
hasDoors()
Checks whether the 'doors' field has been set
|
boolean |
hasEngine()
Checks whether the 'engine' field has been set
|
boolean |
hasMake()
Checks whether the 'make' field has been set
|
boolean |
hasModel()
Checks whether the 'model' field has been set
|
boolean |
hasOptionalExtra()
Checks whether the 'optionalExtra' field has been set
|
boolean |
hasRegistration()
Checks whether the 'registration' field has been set
|
boolean |
hasServiceHistory()
Checks whether the 'serviceHistory' field has been set
|
boolean |
hasVin()
Checks whether the 'vin' field has been set
|
boolean |
hasYear()
Checks whether the 'year' field has been set
|
Car.Builder |
setDoors(int value)
Sets the value of the 'doors' field
|
Car.Builder |
setEngine(Engine value)
Sets the value of the 'engine' field
|
Car.Builder |
setMake(String value)
Sets the value of the 'make' field
|
Car.Builder |
setModel(String value)
Sets the value of the 'model' field
|
Car.Builder |
setOptionalExtra(Object value)
Sets the value of the 'optionalExtra' field
|
Car.Builder |
setRegistration(String value)
Sets the value of the 'registration' field
|
Car.Builder |
setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field
|
Car.Builder |
setVin(Vin value)
Sets the value of the 'vin' field
|
Car.Builder |
setYear(long value)
Sets the value of the 'year' field
|
public Long getYear()
public Car.Builder setYear(long value)
public boolean hasYear()
public Car.Builder clearYear()
public String getRegistration()
public Car.Builder setRegistration(String value)
public boolean hasRegistration()
public Car.Builder clearRegistration()
public String getMake()
public Car.Builder setMake(String value)
public boolean hasMake()
public Car.Builder clearMake()
public String getModel()
public Car.Builder setModel(String value)
public boolean hasModel()
public Car.Builder clearModel()
public Vin getVin()
public Car.Builder setVin(Vin value)
public boolean hasVin()
public Car.Builder clearVin()
public Integer getDoors()
public Car.Builder setDoors(int value)
public boolean hasDoors()
public Car.Builder clearDoors()
public Engine getEngine()
public Car.Builder setEngine(Engine value)
public boolean hasEngine()
public Car.Builder clearEngine()
public Object getOptionalExtra()
public Car.Builder setOptionalExtra(Object value)
public boolean hasOptionalExtra()
public Car.Builder clearOptionalExtra()
public List<Service> getServiceHistory()
public Car.Builder setServiceHistory(List<Service> value)
public boolean hasServiceHistory()
public Car.Builder clearServiceHistory()
Copyright © 2015. All rights reserved.