use of org.openlca.ilcd.flowproperties.QuantitativeReference in project olca-modules by GreenDelta.
the class FlowPropertyExport method makeUnitGroupRef.
private QuantitativeReference makeUnitGroupRef() {
QuantitativeReference qRef = new QuantitativeReference();
UnitGroup unitGroup = flowProperty.unitGroup;
qRef.unitGroup = Export.of(unitGroup, config);
return qRef;
}
use of org.openlca.ilcd.flowproperties.QuantitativeReference in project olca-modules by GreenDelta.
the class FlowProperties method unitGroupRef.
public static Ref unitGroupRef(FlowProperty fp) {
QuantitativeReference qr = quantitativeReference(fp);
if (qr.unitGroup == null) {
qr.unitGroup = new Ref();
qr.unitGroup.type = DataSetType.UNIT_GROUP;
}
return qr.unitGroup;
}
Aggregations