use of org.kie.workbench.common.forms.jbpm.server.service.formGeneration.model.Expense in project kie-wb-common by kiegroup.
the class NestedFormsBPMNVFSFormDefinitionGeneratorServiceTest method getExpenseDataObject.
protected DataObject getExpenseDataObject() {
DataObject expense = new DataObjectImpl(Expense.class.getPackage().toString(), Expense.class.getSimpleName());
expense.addProperty("id", Long.class.getName(), false, null);
expense.addProperty("date", Date.class.getName(), false, null);
expense.addProperty("client", Client.class.getName(), false, null);
expense.addProperty("lines", Line.class.getName(), true, List.class.getName());
return expense;
}
Aggregations