Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RoleCode |
build()
Build an RoleCode instance.
|
RoleCode.Builder |
from(RoleCode value)
Initialise the builder from an existing RoleCode instance.
|
RoleCode.Builder |
maxLength(Integer value)
Add max length.
|
RoleCode.Builder |
name(String value)
Add name.
|
RoleCode.Builder |
secure(boolean value)
Add secure flag.
|
RoleCode.Builder |
sequenceNumber(Integer value)
Add sequence number.
|
RoleCode.Builder |
uniqueID(Integer value)
Add unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider)
sequenceProvider
- parent filepublic RoleCode.Builder from(RoleCode value)
value
- RoleCode instancepublic RoleCode.Builder uniqueID(Integer value)
value
- unique IDpublic RoleCode.Builder sequenceNumber(Integer value)
value
- sequence numberpublic RoleCode.Builder name(String value)
value
- namepublic RoleCode.Builder secure(boolean value)
value
- secure flagpublic RoleCode.Builder maxLength(Integer value)
value
- max lengthpublic RoleCode build()
Copyright © 2000–2024 Packwood Software. All rights reserved.