Class GeneratorFortescueAdderImpl
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionAdder<Generator,GeneratorFortescue>
com.powsybl.iidm.network.impl.extensions.GeneratorFortescueAdderImpl
- All Implemented Interfaces:
ExtensionAdder<Generator,
,GeneratorFortescue> GeneratorFortescueAdder
public class GeneratorFortescueAdderImpl
extends AbstractExtensionAdder<Generator,GeneratorFortescue>
implements GeneratorFortescueAdder
- Author:
- Jean-Baptiste Heyberger <jbheyberger at gmail.com>, Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
extendable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected GeneratorFortescue
createExtension
(Generator generator) Creates the extension.Class<? super GeneratorFortescue>
Returns the class of the extension.withGrounded
(boolean grounded) withGroundingR
(double groundingR) withGroundingX
(double groundingX) withRn
(double rn) withRz
(double rz) withXn
(double xn) withXz
(double xz) Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
add
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
Constructor Details
-
GeneratorFortescueAdderImpl
-
-
Method Details
-
getExtensionClass
Description copied from interface:ExtensionAdder
Returns the class of the extension. This is expected to be an interface so that multiple implementors can implement the same extensions. This will be the key at which the extension is added on the extendable. This is meant to be implemented by adder interfaces but not by adder implementations.- Specified by:
getExtensionClass
in interfaceExtensionAdder<Generator,
GeneratorFortescue> - Returns:
- the interface of the extension
-
createExtension
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Generator,
GeneratorFortescue> - Returns:
- the extension
-
withGrounded
- Specified by:
withGrounded
in interfaceGeneratorFortescueAdder
-
withRz
- Specified by:
withRz
in interfaceGeneratorFortescueAdder
-
withXz
- Specified by:
withXz
in interfaceGeneratorFortescueAdder
-
withRn
- Specified by:
withRn
in interfaceGeneratorFortescueAdder
-
withXn
- Specified by:
withXn
in interfaceGeneratorFortescueAdder
-
withGroundingR
- Specified by:
withGroundingR
in interfaceGeneratorFortescueAdder
-
withGroundingX
- Specified by:
withGroundingX
in interfaceGeneratorFortescueAdder
-