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