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