Class GeneratorShortCircuitAdderImpl
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionAdder<Generator,GeneratorShortCircuit>
com.powsybl.iidm.network.impl.extensions.GeneratorShortCircuitAdderImpl
- All Implemented Interfaces:
ExtensionAdder<Generator,
,GeneratorShortCircuit> GeneratorShortCircuitAdder
public class GeneratorShortCircuitAdderImpl
extends AbstractExtensionAdder<Generator,GeneratorShortCircuit>
implements GeneratorShortCircuitAdder
- Author:
- Coline Piloquet <[email protected]>
-
Field Summary
Fields inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
extendable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd()
Builds and adds the extension to the extendable which was used to get this extensionAdder.protected GeneratorShortCircuit
createExtension
(Generator extendable) Creates the extension.withDirectSubtransX
(double directSubtransX) withDirectTransX
(double directTransX) withStepUpTransformerX
(double stepUpTransformerX) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.iidm.network.extensions.GeneratorShortCircuitAdder
getExtensionClass
-
Constructor Details
-
GeneratorShortCircuitAdderImpl
-
-
Method Details
-
createExtension
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Generator,
GeneratorShortCircuit> - Returns:
- the extension
-
withDirectTransX
- Specified by:
withDirectTransX
in interfaceGeneratorShortCircuitAdder
-
withDirectSubtransX
- Specified by:
withDirectSubtransX
in interfaceGeneratorShortCircuitAdder
-
withStepUpTransformerX
- Specified by:
withStepUpTransformerX
in interfaceGeneratorShortCircuitAdder
-
add
Description copied from interface:ExtensionAdder
Builds and adds the extension to the extendable which was used to get this extensionAdder. The extendable is returned to allow a fluent style adding of multiple extensions.- Specified by:
add
in interfaceExtensionAdder<Generator,
GeneratorShortCircuit> - Overrides:
add
in classAbstractExtensionAdder<Generator,
GeneratorShortCircuit> - Returns:
- the extendable
-