dst.setTable(table);
return dst;
}
private DataSetColumn createDataSetColumn(DataSetTable dst, Property property, boolean excluded) {
final DataSetColumn dsc = OBProvider.getInstance().get(DataSetColumn.class);
dsc.setId("" + System.currentTimeMillis());
dsc.setClient(OBContext.getOBContext().getCurrentClient());
dsc.setOrganization(OBContext.getOBContext().getCurrentOrganization());
dsc.setActive(true);
dsc.setDatasetTable(dst);
dsc.setExcluded(excluded);
dsc.setColumn(getColumn(dst, property));
return dsc;
}