public static class CostAccount.Builder extends Object
Constructor and Description |
---|
Builder(UniqueIdObjectSequenceProvider sequenceProvider)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CostAccount |
build()
Build a CostAccount instance.
|
CostAccount.Builder |
from(CostAccount value)
Initialise the builder from an existing CostAccount instance.
|
CostAccount.Builder |
id(String value)
Add ID.
|
CostAccount.Builder |
name(String value)
Add name.
|
CostAccount.Builder |
notes(Notes value)
Add notes.
|
CostAccount.Builder |
notes(String value)
Add notes.
|
CostAccount.Builder |
parent(CostAccount value)
Add parent.
|
CostAccount.Builder |
sequenceNumber(Integer value)
Add sequence number.
|
CostAccount.Builder |
uniqueID(Integer value)
Add unique ID.
|
public Builder(UniqueIdObjectSequenceProvider sequenceProvider)
sequenceProvider
- parent filepublic CostAccount.Builder from(CostAccount value)
value
- CostAccount instancepublic CostAccount.Builder uniqueID(Integer value)
value
- unique IDpublic CostAccount.Builder id(String value)
value
- idpublic CostAccount.Builder name(String value)
value
- namepublic CostAccount.Builder notes(String value)
value
- notespublic CostAccount.Builder notes(Notes value)
value
- notespublic CostAccount.Builder sequenceNumber(Integer value)
value
- sequence numberpublic CostAccount.Builder parent(CostAccount value)
value
- parentpublic CostAccount build()
Copyright © 2000–2024 Packwood Software. All rights reserved.