org.flexiblepower.ral.values
public static class ConstraintProfileMap.Builder extends java.lang.Object
This helper class makes it easy to create an instance of the ConstraintProfileMap
. To create an instance
of this class, use ConstraintProfileMap.create()
.
Typical usage looks like this:
ConstraintProfileMap map = ConstraintProfileMap.create().electricity(electricityProfile).gas(gasProfile).build();
Modifier | Constructor and Description |
---|---|
protected |
ConstraintProfileMap.Builder() |
Modifier and Type | Method and Description |
---|---|
ConstraintProfileMap |
build() |
ConstraintProfileMap.Builder |
electricity(ConstraintProfile<javax.measure.quantity.Power> value) |
ConstraintProfileMap.Builder |
gas(ConstraintProfile<javax.measure.quantity.VolumetricFlowRate> value) |
ConstraintProfileMap.Builder |
heat(ConstraintProfile<javax.measure.quantity.Power> value) |
public ConstraintProfileMap.Builder electricity(ConstraintProfile<javax.measure.quantity.Power> value)
public ConstraintProfileMap.Builder gas(ConstraintProfile<javax.measure.quantity.VolumetricFlowRate> value)
public ConstraintProfileMap.Builder heat(ConstraintProfile<javax.measure.quantity.Power> value)
public ConstraintProfileMap build()