Modifier and Type | Method and Description |
---|---|
Stereo |
build() |
Stereo.Builder |
clearMake()
Clears the value of the 'make' field
|
Stereo.Builder |
clearSpeakers()
Clears the value of the 'speakers' field
|
String |
getMake()
Gets the value of the 'make' field
|
Integer |
getSpeakers()
Gets the value of the 'speakers' field
|
boolean |
hasMake()
Checks whether the 'make' field has been set
|
boolean |
hasSpeakers()
Checks whether the 'speakers' field has been set
|
Stereo.Builder |
setMake(String value)
Sets the value of the 'make' field
|
Stereo.Builder |
setSpeakers(int value)
Sets the value of the 'speakers' field
|
public String getMake()
public Stereo.Builder setMake(String value)
public boolean hasMake()
public Stereo.Builder clearMake()
public Integer getSpeakers()
public Stereo.Builder setSpeakers(int value)
public boolean hasSpeakers()
public Stereo.Builder clearSpeakers()
Copyright © 2015. All rights reserved.