Modifier and Type | Method and Description |
---|---|
ShortCar |
build() |
ShortCar.Builder |
clearEngine()
Clears the value of the 'engine' field
|
ShortCar.Builder |
clearMake()
Clears the value of the 'make' field
|
ShortCar.Builder |
clearVin()
Clears the value of the 'vin' field
|
ShortCar.Builder |
clearYear()
Clears the value of the 'year' field
|
Engine |
getEngine()
Gets the value of the 'engine' field
|
String |
getMake()
Gets the value of the 'make' field
|
Vin |
getVin()
Gets the value of the 'vin' field
|
Long |
getYear()
Gets the value of the 'year' field
|
boolean |
hasEngine()
Checks whether the 'engine' field has been set
|
boolean |
hasMake()
Checks whether the 'make' field has been set
|
boolean |
hasVin()
Checks whether the 'vin' field has been set
|
boolean |
hasYear()
Checks whether the 'year' field has been set
|
ShortCar.Builder |
setEngine(Engine value)
Sets the value of the 'engine' field
|
ShortCar.Builder |
setMake(String value)
Sets the value of the 'make' field
|
ShortCar.Builder |
setVin(Vin value)
Sets the value of the 'vin' field
|
ShortCar.Builder |
setYear(long value)
Sets the value of the 'year' field
|
public String getMake()
public ShortCar.Builder setMake(String value)
public boolean hasMake()
public ShortCar.Builder clearMake()
public Engine getEngine()
public ShortCar.Builder setEngine(Engine value)
public boolean hasEngine()
public ShortCar.Builder clearEngine()
public Long getYear()
public ShortCar.Builder setYear(long value)
public boolean hasYear()
public ShortCar.Builder clearYear()
public Vin getVin()
public ShortCar.Builder setVin(Vin value)
public boolean hasVin()
public ShortCar.Builder clearVin()
Copyright © 2015. All rights reserved.