Class LineFortescueAdderImpl
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionAdder<Line,LineFortescue>
com.powsybl.iidm.network.impl.extensions.LineFortescueAdderImpl
- All Implemented Interfaces:
ExtensionAdder<Line,
,LineFortescue> LineFortescueAdder
public class LineFortescueAdderImpl
extends AbstractExtensionAdder<Line,LineFortescue>
implements LineFortescueAdder
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Jean-Baptiste Heyberger <jbheyberger at gmail.com>
-
Field Summary
Fields inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
extendable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected LineFortescueImpl
createExtension
(Line line) Creates the extension.Class<? super LineFortescue>
Returns the class of the extension.withOpenPhaseA
(boolean openPhaseA) withOpenPhaseB
(boolean openPhaseB) withOpenPhaseC
(boolean openPhaseC) withRz
(double rz) 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
-
LineFortescueAdderImpl
-
-
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<Line,
LineFortescue> - Returns:
- the interface of the extension
-
createExtension
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Line,
LineFortescue> - Returns:
- the extension
-
withRz
- Specified by:
withRz
in interfaceLineFortescueAdder
-
withXz
- Specified by:
withXz
in interfaceLineFortescueAdder
-
withOpenPhaseA
- Specified by:
withOpenPhaseA
in interfaceLineFortescueAdder
-
withOpenPhaseB
- Specified by:
withOpenPhaseB
in interfaceLineFortescueAdder
-
withOpenPhaseC
- Specified by:
withOpenPhaseC
in interfaceLineFortescueAdder
-