| Modifier and Type | Field and Description |
|---|---|
Engine |
Car.engine
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Engine |
Engine.Builder.build() |
Engine |
Car.getEngine()
Gets the value of the 'engine' field.
|
Engine |
Car.Builder.getEngine()
Gets the value of the 'engine' field
|
| Modifier and Type | Method and Description |
|---|---|
static Engine.Builder |
Engine.newBuilder(Engine other)
Creates a new Engine RecordBuilder by copying an existing Engine instance
|
void |
Car.setEngine(Engine value)
Sets the value of the 'engine' field.
|
Car.Builder |
Car.Builder.setEngine(Engine value)
Sets the value of the 'engine' field
|
| Constructor and Description |
|---|
Car(Long year,
String registration,
String make,
String model,
Integer doors,
Engine engine,
Object optionalExtra,
List<Service> serviceHistory)
All-args constructor.
|
Copyright © 2013. All Rights Reserved.