@@ -142,6 +142,11 @@ public int getTapMax() {
142
142
return tapMax ;
143
143
}
144
144
145
+ @ Override
146
+ public Transformer2WTypeInputCopyBuilder copy () {
147
+ return new Transformer2WTypeInputCopyBuilder (this );
148
+ }
149
+
145
150
@ Override
146
151
public boolean equals (Object o ) {
147
152
if (this == o ) return true ;
@@ -216,4 +221,123 @@ public String toString() {
216
221
+ tapMax
217
222
+ '}' ;
218
223
}
224
+
225
+ /**
226
+ * Abstract class for all builder that build child entities of abstract class {@link
227
+ * Transformer2WTypeInput}
228
+ */
229
+ public static final class Transformer2WTypeInputCopyBuilder
230
+ extends AssetTypeInput .AssetTypeInputCopyBuilder <Transformer2WTypeInputCopyBuilder > {
231
+
232
+ private ComparableQuantity <ElectricResistance > rSc ;
233
+ private ComparableQuantity <ElectricResistance > xSc ;
234
+ private ComparableQuantity <Power > sRated ;
235
+ private ComparableQuantity <ElectricPotential > vRatedA ;
236
+ private ComparableQuantity <ElectricPotential > vRatedB ;
237
+ private ComparableQuantity <ElectricConductance > gM ;
238
+ private ComparableQuantity <ElectricConductance > bM ;
239
+ private ComparableQuantity <Dimensionless > dV ;
240
+ private ComparableQuantity <Angle > dPhi ;
241
+ private boolean tapSide ;
242
+ private int tapNeutr ;
243
+ private int tapMin ;
244
+ private int tapMax ;
245
+
246
+ private Transformer2WTypeInputCopyBuilder (Transformer2WTypeInput entity ) {
247
+ super (entity );
248
+ this .rSc = entity .rSc ;
249
+ this .xSc = entity .xSc ;
250
+ this .sRated = entity .sRated ;
251
+ this .vRatedA = entity .vRatedA ;
252
+ this .vRatedB = entity .vRatedB ;
253
+ this .gM = entity .gM ;
254
+ this .bM = entity .bM ;
255
+ this .dV = entity .dV ;
256
+ this .dPhi = entity .dPhi ;
257
+ this .tapSide = entity .tapSide ;
258
+ this .tapNeutr = entity .tapNeutr ;
259
+ this .tapMin = entity .tapMin ;
260
+ this .tapMax = entity .tapMax ;
261
+ }
262
+
263
+ /** Setter */
264
+ public Transformer2WTypeInputCopyBuilder rSc (ComparableQuantity <ElectricResistance > rSc ) {
265
+ this .rSc = rSc ;
266
+ return thisInstance ();
267
+ }
268
+
269
+ public Transformer2WTypeInputCopyBuilder xSc (ComparableQuantity <ElectricResistance > xSc ) {
270
+ this .xSc = xSc ;
271
+ return thisInstance ();
272
+ }
273
+
274
+ public Transformer2WTypeInputCopyBuilder sRated (ComparableQuantity <Power > sRated ) {
275
+ this .sRated = sRated ;
276
+ return thisInstance ();
277
+ }
278
+
279
+ public Transformer2WTypeInputCopyBuilder vRatedA (
280
+ ComparableQuantity <ElectricPotential > vRatedA ) {
281
+ this .vRatedA = vRatedA ;
282
+ return thisInstance ();
283
+ }
284
+
285
+ public Transformer2WTypeInputCopyBuilder vRatedB (
286
+ ComparableQuantity <ElectricPotential > vRatedB ) {
287
+ this .vRatedB = vRatedB ;
288
+ return thisInstance ();
289
+ }
290
+
291
+ public Transformer2WTypeInputCopyBuilder gM (ComparableQuantity <ElectricConductance > gM ) {
292
+ this .gM = gM ;
293
+ return thisInstance ();
294
+ }
295
+
296
+ public Transformer2WTypeInputCopyBuilder bM (ComparableQuantity <ElectricConductance > bM ) {
297
+ this .bM = bM ;
298
+ return thisInstance ();
299
+ }
300
+
301
+ public Transformer2WTypeInputCopyBuilder dV (ComparableQuantity <Dimensionless > dV ) {
302
+ this .dV = dV ;
303
+ return thisInstance ();
304
+ }
305
+
306
+ public Transformer2WTypeInputCopyBuilder dPhi (ComparableQuantity <Angle > dPhi ) {
307
+ this .dPhi = dPhi ;
308
+ return thisInstance ();
309
+ }
310
+
311
+ public Transformer2WTypeInputCopyBuilder tapSide (boolean tapSide ) {
312
+ this .tapSide = tapSide ;
313
+ return thisInstance ();
314
+ }
315
+
316
+ public Transformer2WTypeInputCopyBuilder tapNeutr (int tapNeutr ) {
317
+ this .tapNeutr = tapNeutr ;
318
+ return thisInstance ();
319
+ }
320
+
321
+ public Transformer2WTypeInputCopyBuilder tapMin (int tapMin ) {
322
+ this .tapMin = tapMin ;
323
+ return thisInstance ();
324
+ }
325
+
326
+ public Transformer2WTypeInputCopyBuilder tapMax (int tapMax ) {
327
+ this .tapMax = tapMax ;
328
+ return thisInstance ();
329
+ }
330
+
331
+ @ Override
332
+ public Transformer2WTypeInput build () {
333
+ return new Transformer2WTypeInput (
334
+ getUuid (), getId (), rSc , xSc , sRated , vRatedA , vRatedB , gM , bM , dV , dPhi , tapSide ,
335
+ tapNeutr , tapMin , tapMax );
336
+ }
337
+
338
+ @ Override
339
+ protected Transformer2WTypeInputCopyBuilder thisInstance () {
340
+ return this ;
341
+ }
342
+ }
219
343
}
0 commit comments