public static class ExpenseItem.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ExpenseItem.Builder |
account(CostAccount value)
Add the cost account.
|
ExpenseItem.Builder |
accrueType(AccrueType value)
Add the accrue type.
|
ExpenseItem.Builder |
actualCost(Double value)
Add the actual cost.
|
ExpenseItem.Builder |
actualUnits(Double value)
Add the actual units.
|
ExpenseItem.Builder |
atCompletionCost(Double value)
Add the at completion cost.
|
ExpenseItem.Builder |
atCompletionUnits(Double value)
Add the at completion units.
|
ExpenseItem.Builder |
autoComputeActuals(boolean value)
Add the auto compute actuals flag.
|
ExpenseItem |
build()
Build an ExpenseItem instance.
|
ExpenseItem.Builder |
category(ExpenseCategory value)
Add the expense category.
|
ExpenseItem.Builder |
description(String value)
Add the description.
|
ExpenseItem.Builder |
documentNumber(String value)
Add the document number.
|
ExpenseItem.Builder |
from(ExpenseItem value)
Initialise the builder from an existing ExpenseItem instance.
|
ExpenseItem.Builder |
name(String value)
Add the name.
|
ExpenseItem.Builder |
plannedCost(Double value)
Add the planned cost.
|
ExpenseItem.Builder |
plannedUnits(Double value)
Add the planned units.
|
ExpenseItem.Builder |
pricePerUnit(Double value)
Add the price per unit.
|
ExpenseItem.Builder |
remainingCost(Double value)
Add the remaining cost.
|
ExpenseItem.Builder |
remainingUnits(Double value)
Add the remaining units.
|
ExpenseItem.Builder |
uniqueID(Integer value)
Add the unique ID.
|
ExpenseItem.Builder |
unitOfMeasure(String value)
Add the unit of measure.
|
ExpenseItem.Builder |
vendor(String value)
Add the vendor.
|
public Builder(Task task)
task
- parent taskpublic ExpenseItem.Builder from(ExpenseItem value)
value
- ExpenseItem instancepublic ExpenseItem.Builder uniqueID(Integer value)
value
- unique IDpublic ExpenseItem.Builder name(String value)
value
- namepublic ExpenseItem.Builder account(CostAccount value)
value
- cost accountpublic ExpenseItem.Builder category(ExpenseCategory value)
value
- expense categorypublic ExpenseItem.Builder description(String value)
value
- descriptionpublic ExpenseItem.Builder documentNumber(String value)
value
- document numberpublic ExpenseItem.Builder vendor(String value)
value
- vendorpublic ExpenseItem.Builder atCompletionCost(Double value)
value
- at completion costpublic ExpenseItem.Builder atCompletionUnits(Double value)
value
- at completion unitspublic ExpenseItem.Builder actualCost(Double value)
value
- actual costpublic ExpenseItem.Builder actualUnits(Double value)
value
- actual unitspublic ExpenseItem.Builder pricePerUnit(Double value)
value
- price per unitpublic ExpenseItem.Builder remainingCost(Double value)
value
- remaining costpublic ExpenseItem.Builder remainingUnits(Double value)
value
- remaining unitspublic ExpenseItem.Builder plannedCost(Double value)
value
- planned costpublic ExpenseItem.Builder plannedUnits(Double value)
value
- planned unitspublic ExpenseItem.Builder accrueType(AccrueType value)
value
- accrue typepublic ExpenseItem.Builder autoComputeActuals(boolean value)
value
- auto compute actuals flagpublic ExpenseItem.Builder unitOfMeasure(String value)
value
- unit of measurepublic ExpenseItem build()
Copyright © 2000–2024 Packwood Software. All rights reserved.