public static class RoleCodeValue.Builder extends Object
Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
RoleCodeValue |
build()
Build an RoleCodeValue instance.
|
RoleCodeValue.Builder |
description(String value)
Add description.
|
RoleCodeValue.Builder |
from(RoleCodeValue value)
Initialise the builder from an existing RoleCodeValue instance.
|
RoleCodeValue.Builder |
name(String value)
Add name.
|
RoleCodeValue.Builder |
parentValue(RoleCodeValue value)
Add parent value.
|
RoleCodeValue.Builder |
roleCode(RoleCode value)
Add parent role code.
|
RoleCodeValue.Builder |
sequenceNumber(Integer value)
Add sequence number.
|
RoleCodeValue.Builder |
uniqueID(Integer value)
Add unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider)
sequenceProvider
- parent role filepublic RoleCodeValue.Builder from(RoleCodeValue value)
value
- RoleCodeValue instancepublic RoleCodeValue.Builder roleCode(RoleCode value)
value
- role codepublic RoleCodeValue.Builder uniqueID(Integer value)
value
- unique IDpublic RoleCodeValue.Builder sequenceNumber(Integer value)
value
- sequence numberpublic RoleCodeValue.Builder name(String value)
value
- namepublic RoleCodeValue.Builder description(String value)
value
- descriptionpublic RoleCodeValue.Builder parentValue(RoleCodeValue value)
value
- parent valuepublic RoleCodeValue build()
Copyright © 2000–2024 Packwood Software. All rights reserved.