Class DefaultWageValueProvider
java.lang.Object
ch.tocco.nice2.optional.salary.api.tasks.DefaultWageValueProvider
- All Implemented Interfaces:
WageValueProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.google.common.base.Joiner
protected static final org.joda.time.format.DateTimeFormatter
protected Optional
<BigDecimal> protected Optional
<BigDecimal> -
Constructor Summary
ConstructorDescriptionDefaultWageValueProvider
(EvaluateWageScaleService evaluateWageScaleService, Entity reservationLecturerBooking) DefaultWageValueProvider
(Entity reservationLecturerBooking) -
Method Summary
-
Field Details
-
COMMA_JOINER
protected static final com.google.common.base.Joiner COMMA_JOINER -
DATE_TIME_FORMATTER
protected static final org.joda.time.format.DateTimeFormatter DATE_TIME_FORMATTER -
salary
-
incomePerHour
-
salaryType
-
quantity
-
-
Constructor Details
-
DefaultWageValueProvider
-
DefaultWageValueProvider
public DefaultWageValueProvider(EvaluateWageScaleService evaluateWageScaleService, Entity reservationLecturerBooking)
-
-
Method Details
-
getReservationLecturerBooking
- Specified by:
getReservationLecturerBooking
in interfaceWageValueProvider
-
getLecturerBooking
- Specified by:
getLecturerBooking
in interfaceWageValueProvider
-
getReservation
- Specified by:
getReservation
in interfaceWageValueProvider
-
getSalary
- Specified by:
getSalary
in interfaceWageValueProvider
-
getQuantity
- Specified by:
getQuantity
in interfaceWageValueProvider
-
getDate
public org.joda.time.LocalDate getDate()- Specified by:
getDate
in interfaceWageValueProvider
-
getSalaryType
- Specified by:
getSalaryType
in interfaceWageValueProvider
-
getIncomePerHour
- Specified by:
getIncomePerHour
in interfaceWageValueProvider
-
getReceiver
- Specified by:
getReceiver
in interfaceWageValueProvider
-
getWageStatusId
- Specified by:
getWageStatusId
in interfaceWageValueProvider
-
createLabel
- Specified by:
createLabel
in interfaceWageValueProvider
-