Package com.skava.accounts.model.domain
Class BudgetDO
java.lang.Object
com.skava.accounts.model.domain.BudgetDO
- All Implemented Interfaces:
Serializable
The class BudgetDO is used as the domain model object for budgets entity.
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromEntity
(BudgetEntity budget) From entity.toEntity
(CostCentreEntity costCentre) ToEntity.toEntityBudget
(CostCentreEntity costCentre) ToEntity.
-
Field Details
-
createdTime
createdTime param*. -
updatedTime
updatedTime param*.
-
-
Constructor Details
-
BudgetDO
public BudgetDO()
-
-
Method Details
-
fromEntity
From entity. This function is used to convert entity to domain object- Parameters:
budget
- the budget object of typeBudgetEntity
- Returns:
- the budget DO object of type
BudgetDO
.
-
toEntity
ToEntity. This function is used to instantiate the BudgetEntity object.- Parameters:
costCentre
- the cost centre object of typeCostCentreEntity
- Returns:
- the budget entity of type
BudgetEntity
.
-
toEntityBudget
ToEntity. This function is used to instantiate the BudgetEntity object.- Parameters:
costCentre
- the cost centre object of typeCostCentreEntity
- Returns:
- the budget entity of type
BudgetEntity
.
-