Modifier and Type | Method and Description |
---|---|
Service |
build() |
Service.Builder |
clearDate()
Clears the value of the 'date' field.
|
Service.Builder |
clearMechanic()
Clears the value of the 'mechanic' field.
|
Long |
getDate()
Gets the value of the 'date' field.
|
String |
getMechanic()
Gets the value of the 'mechanic' field.
|
boolean |
hasDate()
Checks whether the 'date' field has been set.
|
boolean |
hasMechanic()
Checks whether the 'mechanic' field has been set.
|
Service.Builder |
setDate(long value)
Sets the value of the 'date' field.
|
Service.Builder |
setMechanic(String value)
Sets the value of the 'mechanic' field.
|
public Long getDate()
public Service.Builder setDate(long value)
value
- The value of 'date'.public boolean hasDate()
public Service.Builder clearDate()
public String getMechanic()
public Service.Builder setMechanic(String value)
value
- The value of 'mechanic'.public boolean hasMechanic()
public Service.Builder clearMechanic()
Copyright © 2019 The Apache Software Foundation. All rights reserved.