public static class ActivityCodeValue.Builder extends Object
Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ActivityCodeValue.Builder |
activityCode(ActivityCode value)
Add parent activity code.
|
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)
Deprecated.
use parentValue
|
ActivityCodeValue.Builder |
parentValue(ActivityCodeValue value)
Add parent value.
|
ActivityCodeValue.Builder |
sequenceNumber(Integer value)
Add sequence number.
|
ActivityCodeValue.Builder |
type(ActivityCode value)
Deprecated.
use activityCode instead
|
ActivityCodeValue.Builder |
uniqueID(Integer value)
Add unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider)
sequenceProvider
- parent project filepublic ActivityCodeValue.Builder from(ActivityCodeValue value)
value
- ActivityCodeValue instance@Deprecated public ActivityCodeValue.Builder type(ActivityCode value)
value
- activity codepublic ActivityCodeValue.Builder activityCode(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
- color@Deprecated public ActivityCodeValue.Builder parent(ActivityCodeValue value)
value
- parent valuepublic ActivityCodeValue.Builder parentValue(ActivityCodeValue value)
value
- parent valuepublic ActivityCodeValue build()
Copyright © 2000–2024 Packwood Software. All rights reserved.