Class CreateWageTask

java.lang.Object
ch.tocco.nice2.optional.salary.api.tasks.CreateWageTask
All Implemented Interfaces:
OptionalTask<WageValueProvider,Entity>, PersistTask<WageValueProvider,Entity>

public class CreateWageTask extends Object implements OptionalTask<WageValueProvider,Entity>
creates a wage entity from the values provided by WageValueProvider. The Wage is only created if the Optionals from the methods WageValueProvider.getIncomePerHour(), WageValueProvider.getSalaryType() and WageValueProvider.getQuantity() are present.