use of org.estatio.module.budget.dom.keytable.FoundationValueType in project estatio by estatio.
the class KeyTableBuilder method execute.
@Override
protected void execute(final ExecutionContext executionContext) {
checkParam("budget", executionContext, Budget.class);
checkParam("name", executionContext, String.class);
defaultParam("foundationValueType", executionContext, fakeDataService.enums().anyOf(FoundationValueType.class));
defaultParam("keyValueMethod", executionContext, fakeDataService.enums().anyOf(KeyValueMethod.class));
defaultParam("numberOfDigits", executionContext, 3);
final KeyTable keyTable = keyTableRepository.newKeyTable(budget, name, foundationValueType, keyValueMethod, numberOfDigits);
keyTable.generateItems();
executionContext.addResult(this, name, keyTable);
object = keyTable;
}
Aggregations