public static class ShiftPeriod.Builder extends Object
Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider,
Shift shift)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ShiftPeriod |
build()
Build a ShiftPeriod instance.
|
ShiftPeriod.Builder |
start(Integer value)
Add the start time.
|
ShiftPeriod.Builder |
start(LocalTime value)
Add the start time.
|
ShiftPeriod.Builder |
uniqueID(Integer value)
Add the unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider, Shift shift)
sequenceProvider
- sequence providershift
- parent shiftpublic ShiftPeriod.Builder uniqueID(Integer value)
value
- unique IDpublic ShiftPeriod.Builder start(LocalTime value)
value
- start timepublic ShiftPeriod.Builder start(Integer value)
value
- start timepublic ShiftPeriod build()
Copyright © 2000–2024 Packwood Software. All rights reserved.