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