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