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