public static class SequenceProperties.Builder extends Object
Constructor and Description |
---|
Builder(String masterName)
Create a new Builder
|
Modifier and Type | Method and Description |
---|---|
SequenceProperties.Builder |
breakBefore(SequenceProperties.SequenceBreakBefore value)
Set the break before property for the sequence.
|
SequenceProperties |
build()
Build SequenceProperties using the current state of the Builder
|
SequenceProperties.Builder |
initialPageNumber(int value)
Set the initialPageNumber for the SequenceProperties instances
created using this Builder
|
SequenceProperties.Builder |
pageCounterName(String value)
Sets the page counter name for the sequence.
|
public Builder(String masterName)
masterName
- the master name for SequenceProperties instances
created using this Builderpublic SequenceProperties.Builder initialPageNumber(int value)
value
- the valuepublic SequenceProperties.Builder breakBefore(SequenceProperties.SequenceBreakBefore value)
value
- the break before typepublic SequenceProperties.Builder pageCounterName(String value)
value
- the identifierpublic SequenceProperties build()