Modifier and Type | Method and Description |
---|---|
NewCar |
build() |
NewCar.Builder |
clearBrand()
Clears the value of the 'brand' field
|
NewCar.Builder |
clearDescription()
Clears the value of the 'description' field
|
NewCar.Builder |
clearDoors()
Clears the value of the 'doors' field
|
NewCar.Builder |
clearEngine()
Clears the value of the 'engine' field
|
NewCar.Builder |
clearModel()
Clears the value of the 'model' field
|
NewCar.Builder |
clearOpt()
Clears the value of the 'opt' field
|
NewCar.Builder |
clearOptionalExtra()
Clears the value of the 'optionalExtra' field
|
NewCar.Builder |
clearRegistration()
Clears the value of the 'registration' field
|
NewCar.Builder |
clearServiceHistory()
Clears the value of the 'serviceHistory' field
|
NewCar.Builder |
clearVin()
Clears the value of the 'vin' field
|
NewCar.Builder |
clearYear()
Clears the value of the 'year' field
|
String |
getBrand()
Gets the value of the 'brand' field
|
String |
getDescription()
Gets the value of the 'description' field
|
Long |
getDoors()
Gets the value of the 'doors' field
|
Engine |
getEngine()
Gets the value of the 'engine' field
|
String |
getModel()
Gets the value of the 'model' field
|
Integer |
getOpt()
Gets the value of the 'opt' 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 |
hasBrand()
Checks whether the 'brand' field has been set
|
boolean |
hasDescription()
Checks whether the 'description' field has been set
|
boolean |
hasDoors()
Checks whether the 'doors' field has been set
|
boolean |
hasEngine()
Checks whether the 'engine' field has been set
|
boolean |
hasModel()
Checks whether the 'model' field has been set
|
boolean |
hasOpt()
Checks whether the 'opt' 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
|
NewCar.Builder |
setBrand(String value)
Sets the value of the 'brand' field
|
NewCar.Builder |
setDescription(String value)
Sets the value of the 'description' field
|
NewCar.Builder |
setDoors(long value)
Sets the value of the 'doors' field
|
NewCar.Builder |
setEngine(Engine value)
Sets the value of the 'engine' field
|
NewCar.Builder |
setModel(String value)
Sets the value of the 'model' field
|
NewCar.Builder |
setOpt(int value)
Sets the value of the 'opt' field
|
NewCar.Builder |
setOptionalExtra(Object value)
Sets the value of the 'optionalExtra' field
|
NewCar.Builder |
setRegistration(String value)
Sets the value of the 'registration' field
|
NewCar.Builder |
setServiceHistory(List<Service> value)
Sets the value of the 'serviceHistory' field
|
NewCar.Builder |
setVin(Vin value)
Sets the value of the 'vin' field
|
NewCar.Builder |
setYear(long value)
Sets the value of the 'year' field
|
public Long getYear()
public NewCar.Builder setYear(long value)
public boolean hasYear()
public NewCar.Builder clearYear()
public String getRegistration()
public NewCar.Builder setRegistration(String value)
public boolean hasRegistration()
public NewCar.Builder clearRegistration()
public String getBrand()
public NewCar.Builder setBrand(String value)
public boolean hasBrand()
public NewCar.Builder clearBrand()
public String getModel()
public NewCar.Builder setModel(String value)
public boolean hasModel()
public NewCar.Builder clearModel()
public Vin getVin()
public NewCar.Builder setVin(Vin value)
public boolean hasVin()
public NewCar.Builder clearVin()
public Long getDoors()
public NewCar.Builder setDoors(long value)
public boolean hasDoors()
public NewCar.Builder clearDoors()
public Engine getEngine()
public NewCar.Builder setEngine(Engine value)
public boolean hasEngine()
public NewCar.Builder clearEngine()
public Object getOptionalExtra()
public NewCar.Builder setOptionalExtra(Object value)
public boolean hasOptionalExtra()
public NewCar.Builder clearOptionalExtra()
public List<Service> getServiceHistory()
public NewCar.Builder setServiceHistory(List<Service> value)
public boolean hasServiceHistory()
public NewCar.Builder clearServiceHistory()
public Integer getOpt()
public NewCar.Builder setOpt(int value)
public boolean hasOpt()
public NewCar.Builder clearOpt()
public String getDescription()
public NewCar.Builder setDescription(String value)
public boolean hasDescription()
public NewCar.Builder clearDescription()
Copyright © 2015. All rights reserved.