Class BudgetDO

java.lang.Object
com.skava.accounts.model.domain.BudgetDO
All Implemented Interfaces:
Serializable

public class BudgetDO extends Object implements Serializable
The class BudgetDO is used as the domain model object for budgets entity.
Author:
Infosys Equinox
See Also:
  • Field Details

    • createdTime

      protected Date createdTime
      createdTime param*.
    • updatedTime

      protected Date updatedTime
      updatedTime param*.
  • Constructor Details

    • BudgetDO

      public BudgetDO()
  • Method Details

    • fromEntity

      public BudgetDO fromEntity(BudgetEntity budget)
      From entity. This function is used to convert entity to domain object
      Parameters:
      budget - the budget object of type BudgetEntity
      Returns:
      the budget DO object of type BudgetDO.
    • toEntity

      public BudgetEntity toEntity(CostCentreEntity costCentre)
      ToEntity. This function is used to instantiate the BudgetEntity object.
      Parameters:
      costCentre - the cost centre object of type CostCentreEntity
      Returns:
      the budget entity of type BudgetEntity.
    • toEntityBudget

      public BudgetEntity toEntityBudget(CostCentreEntity costCentre)
      ToEntity. This function is used to instantiate the BudgetEntity object.
      Parameters:
      costCentre - the cost centre object of type CostCentreEntity
      Returns:
      the budget entity of type BudgetEntity.