-
Notifications
You must be signed in to change notification settings - Fork 5
/
ThermalSinkInput.java
56 lines (49 loc) · 1.68 KB
/
ThermalSinkInput.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
* © 2021. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.models.input.thermal;
import edu.ie3.datamodel.models.OperationTime;
import edu.ie3.datamodel.models.input.OperatorInput;
import java.util.UUID;
/** Common properties to all thermal sinks */
public abstract class ThermalSinkInput extends ThermalUnitInput {
/**
* @param uuid Unique identifier of a thermal sink input model
* @param id Identifier of the thermal unit
* @param bus Thermal bus, a thermal unit is connected to
*/
ThermalSinkInput(UUID uuid, String id, ThermalBusInput bus) {
super(uuid, id, bus);
}
/**
* @param uuid Unique identifier of a thermal sink input model
* @param id Identifier of the thermal unit
* @param operator operator of the asset
* @param operationTime operation time of the asset
* @param bus Thermal bus, a thermal unit is connected to
*/
ThermalSinkInput(
UUID uuid,
String id,
OperatorInput operator,
OperationTime operationTime,
ThermalBusInput bus) {
super(uuid, id, operator, operationTime, bus);
}
@Override
public abstract ThermalSinkInputCopyBuilder<?> copy();
/**
* Abstract class for all builders that build child entities of abstract class {@link
* ThermalSinkInput}
*/
public abstract static class ThermalSinkInputCopyBuilder<B extends ThermalSinkInputCopyBuilder<B>>
extends ThermalUnitInputCopyBuilder<B> {
protected ThermalSinkInputCopyBuilder(ThermalSinkInput entity) {
super(entity);
}
@Override
public abstract ThermalSinkInput build();
}
}