@Deprecated public interface TableFunctionExecution
public Decimal computePremium(final Integer age) {
return ((Decimal)(new TableFunctionExecution() {
public Object execute() {
TableWithMultipleContentsRow row = TableWithMultipleContents.getInstance(getRepository(),
"tables.TableWithMultipleContents1").findRow(age);
if (row != null) {
return row.getRate();
}
return Decimal.NULL;
}
}).execute());
}
Object execute()
Copyright © 2016. All rights reserved.