use of com.khartec.waltz.schema.tables.records.MeasurableRecord in project waltz by khartec.
the class MeasurablesGenerator method createRegion.
private static MeasurableRecord createRegion(Long parentId, String name, Long measurableCategoryId, Boolean concrete) {
MeasurableRecord record = new MeasurableRecord();
if (parentId != null) {
record.setParentId(parentId);
}
record.setName(name);
record.setMeasurableCategoryId(measurableCategoryId);
record.setConcrete(concrete);
record.setDescription("");
record.setLastUpdatedBy("");
record.setProvenance("demo");
return record;
}
use of com.khartec.waltz.schema.tables.records.MeasurableRecord in project waltz by khartec.
the class BusinessRegionProductHierarchyGenerator method createMeasurable.
private static MeasurableRecord createMeasurable(Long parentId, String name, Long measurableCategoryId, Boolean concrete) {
MeasurableRecord record = new MeasurableRecord();
if (parentId != null) {
record.setParentId(parentId);
}
record.setName(name);
record.setMeasurableCategoryId(measurableCategoryId);
record.setConcrete(concrete);
record.setDescription("");
record.setLastUpdatedBy("");
record.setProvenance("demo");
return record;
}
Aggregations