Class SlackTerminalAdderImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionAdder<VoltageLevel,SlackTerminal>
-
- com.powsybl.iidm.network.impl.extensions.SlackTerminalAdderImpl
-
- All Implemented Interfaces:
ExtensionAdder<VoltageLevel,SlackTerminal>
,SlackTerminalAdder
public class SlackTerminalAdderImpl extends AbstractExtensionAdder<VoltageLevel,SlackTerminal> implements SlackTerminalAdder
- Author:
- Florian Dupuy
-
-
Constructor Summary
Constructors Constructor Description SlackTerminalAdderImpl(VoltageLevel voltageLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlackTerminal
createExtension(VoltageLevel voltageLevel)
Creates the extension.SlackTerminalAdder
withTerminal(Terminal terminal)
-
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
-
Methods inherited from interface com.powsybl.iidm.network.extensions.SlackTerminalAdder
getExtensionClass
-
-
-
-
Constructor Detail
-
SlackTerminalAdderImpl
public SlackTerminalAdderImpl(VoltageLevel voltageLevel)
-
-
Method Detail
-
withTerminal
public SlackTerminalAdder withTerminal(Terminal terminal)
- Specified by:
withTerminal
in interfaceSlackTerminalAdder
-
createExtension
public SlackTerminal createExtension(VoltageLevel voltageLevel)
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<VoltageLevel,SlackTerminal>
- Returns:
- the extension
-
-