File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
src/main/java/edu/ie3/datamodel/io/factory/input/participant Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1717
1818public class HpInputFactory
1919 extends ThermalSystemParticipantInputFactory <HpInput , HpInputEntityData > {
20- private static final String TYPE = "type" ;
21- private static final String THERMAL_BUS = "thermalBus" ;
2220
2321 public HpInputFactory () {
2422 super (HpInput .class );
2523 }
2624
27- @ Override
28- protected String [] getAdditionalFields () {
29- return new String [] {TYPE , THERMAL_BUS };
30- }
31-
3225 @ Override
3326 protected HpInput createThermalSystemModel (
3427 UUID uuid ,
Original file line number Diff line number Diff line change @@ -24,13 +24,16 @@ public abstract class ThermalSystemParticipantInputFactory<
2424 M extends SystemParticipantInput , D extends ThermalSystemParticipantEntityData <?>>
2525 extends SystemParticipantInputEntityFactory <M , D > {
2626
27+ protected static final String TYPE = "type" ;
28+ protected static final String THERMAL_BUS = "thermalBus" ;
29+
2730 protected ThermalSystemParticipantInputFactory (Class <M > modelClass ) {
2831 super (modelClass );
2932 }
3033
3134 @ Override
3235 protected String [] getAdditionalFields () {
33- return new String [0 ] ;
36+ return new String [] { TYPE , THERMAL_BUS } ;
3437 }
3538
3639 @ Override
You can’t perform that action at this time.
0 commit comments