Class BudgetCredentials
java.lang.Object
no.idata1002.group19.domain.entity.BudgetCredentials
Represents budget credentials, including start and end dates and a boundary value.
- Since:
- 16.04.2023
- Version:
- 23.04.2023
- Author:
- Group19
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the boundary value for the budget.Gets the end date of the budget period.Gets the start date of the budget period.void
setBoundary
(int boundary) Sets the boundary value for the budget.void
setEndDate
(String endDate) Sets the end date of the budget period.void
setStartDate
(String startDate) Sets the start date of the budget period.
-
Constructor Details
-
BudgetCredentials
public BudgetCredentials()
-
-
Method Details
-
getStartDate
Gets the start date of the budget period.- Returns:
- The start date of the budget period.
-
setStartDate
Sets the start date of the budget period.- Parameters:
startDate
- The start date of the budget period to set.
-
getEndDate
Gets the end date of the budget period.- Returns:
- The end date of the budget period.
-
setEndDate
Sets the end date of the budget period.- Parameters:
endDate
- The end date of the budget period to set.
-
getBoundary
public int getBoundary()Gets the boundary value for the budget.- Returns:
- The boundary value for the budget.
-
setBoundary
public void setBoundary(int boundary) Sets the boundary value for the budget.- Parameters:
boundary
- The boundary value for the budget to set.
-