Modifier and Type | Method and Description |
---|---|
Engine |
build() |
Engine.Builder |
clearCapacity()
Clears the value of the 'capacity' field
|
Engine.Builder |
clearHasTurboCharger()
Clears the value of the 'hasTurboCharger' field
|
Engine.Builder |
clearType()
Clears the value of the 'type' field
|
Float |
getCapacity()
Gets the value of the 'capacity' field
|
Boolean |
getHasTurboCharger()
Gets the value of the 'hasTurboCharger' field
|
EngineType |
getType()
Gets the value of the 'type' field
|
boolean |
hasCapacity()
Checks whether the 'capacity' field has been set
|
boolean |
hasHasTurboCharger()
Checks whether the 'hasTurboCharger' field has been set
|
boolean |
hasType()
Checks whether the 'type' field has been set
|
Engine.Builder |
setCapacity(float value)
Sets the value of the 'capacity' field
|
Engine.Builder |
setHasTurboCharger(boolean value)
Sets the value of the 'hasTurboCharger' field
|
Engine.Builder |
setType(EngineType value)
Sets the value of the 'type' field
|
public EngineType getType()
public Engine.Builder setType(EngineType value)
public boolean hasType()
public Engine.Builder clearType()
public Float getCapacity()
public Engine.Builder setCapacity(float value)
public boolean hasCapacity()
public Engine.Builder clearCapacity()
public Boolean getHasTurboCharger()
public Engine.Builder setHasTurboCharger(boolean value)
public boolean hasHasTurboCharger()
public Engine.Builder clearHasTurboCharger()
Copyright © 2015. All rights reserved.