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