Class GovProFx.BudgetEntry
java.lang.Object
GovProFx.BudgetEntry
- Enclosing class:
GovProFx
Model class representing a single budget record.
This class is used by the TableView to display
budget codes, descriptions, and monetary amounts.
- Version:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionBudgetEntry(String code, String name, BigDecimal amount) Constructs a newBudgetEntry. -
Method Summary
Modifier and TypeMethodDescriptionReturns the monetary amount.getCode()Returns the budget account code.getName()Returns the description of the entry.voidsetAmount(BigDecimal amount) Updates the monetary amount of this entry.
-
Constructor Details
-
BudgetEntry
Constructs a newBudgetEntry.- Parameters:
code- the account codename- the description of the entryamount- the monetary amount
-
-
Method Details
-
getCode
-
getName
-
getAmount
-
setAmount
Updates the monetary amount of this entry.- Parameters:
amount- the new monetary amount
-