Search in sources :

Example 1 with MeasurableRecord

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;
}
Also used : MeasurableRecord(com.khartec.waltz.schema.tables.records.MeasurableRecord)

Example 2 with MeasurableRecord

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;
}
Also used : MeasurableRecord(com.khartec.waltz.schema.tables.records.MeasurableRecord)

Aggregations

MeasurableRecord (com.khartec.waltz.schema.tables.records.MeasurableRecord)2