| Modifier and Type | Method and Description |
|---|---|
Engine.Builder |
Engine.Builder.clearCapacity()
Clears the value of the 'capacity' field.
|
Engine.Builder |
Engine.Builder.clearHasTurboCharger()
Clears the value of the 'hasTurboCharger' field.
|
Engine.Builder |
Engine.Builder.clearType()
Clears the value of the 'type' field.
|
Engine.Builder |
ShortCar.Builder.getEngineBuilder()
Gets the Builder instance for the 'engine' field and creates one if it doesn't exist yet.
|
Engine.Builder |
Car.Builder.getEngineBuilder()
Gets the Builder instance for the 'engine' field and creates one if it doesn't exist yet.
|
Engine.Builder |
NewCar.Builder.getEngineBuilder()
Gets the Builder instance for the 'engine' field and creates one if it doesn't exist yet.
|
static Engine.Builder |
Engine.newBuilder()
Creates a new Engine RecordBuilder.
|
static Engine.Builder |
Engine.newBuilder(Engine.Builder other)
Creates a new Engine RecordBuilder by copying an existing Builder.
|
static Engine.Builder |
Engine.newBuilder(Engine other)
Creates a new Engine RecordBuilder by copying an existing Engine instance.
|
Engine.Builder |
Engine.Builder.setCapacity(float value)
Sets the value of the 'capacity' field.
|
Engine.Builder |
Engine.Builder.setHasTurboCharger(boolean value)
Sets the value of the 'hasTurboCharger' field.
|
Engine.Builder |
Engine.Builder.setType(EngineType value)
Sets the value of the 'type' field.
|
| Modifier and Type | Method and Description |
|---|---|
static Engine.Builder |
Engine.newBuilder(Engine.Builder other)
Creates a new Engine RecordBuilder by copying an existing Builder.
|
ShortCar.Builder |
ShortCar.Builder.setEngineBuilder(Engine.Builder value)
Sets the Builder instance for the 'engine' field
|
Car.Builder |
Car.Builder.setEngineBuilder(Engine.Builder value)
Sets the Builder instance for the 'engine' field
|
NewCar.Builder |
NewCar.Builder.setEngineBuilder(Engine.Builder value)
Sets the Builder instance for the 'engine' field
|
Copyright © 2018 The Apache Software Foundation. All rights reserved.