Class SecondaryVoltageControlAdderImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionAdder<Network,SecondaryVoltageControl>
-
- com.powsybl.iidm.network.impl.extensions.SecondaryVoltageControlAdderImpl
-
- All Implemented Interfaces:
ExtensionAdder<Network,SecondaryVoltageControl>
,SecondaryVoltageControlAdder
public class SecondaryVoltageControlAdderImpl extends AbstractExtensionAdder<Network,SecondaryVoltageControl> implements SecondaryVoltageControlAdder
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description SecondaryVoltageControlAdderImpl(Network network)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecondaryVoltageControlAdderImpl
addControlZone(SecondaryVoltageControl.ControlZone controlZone)
protected SecondaryVoltageControlImpl
createExtension(Network network)
Creates the extension.Class<? super SecondaryVoltageControl>
getExtensionClass()
Returns the class of the extension.-
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 Detail
-
SecondaryVoltageControlAdderImpl
public SecondaryVoltageControlAdderImpl(Network network)
-
-
Method Detail
-
getExtensionClass
public Class<? super SecondaryVoltageControl> 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<Network,SecondaryVoltageControl>
- Returns:
- the interface of the extension
-
addControlZone
public SecondaryVoltageControlAdderImpl addControlZone(SecondaryVoltageControl.ControlZone controlZone)
- Specified by:
addControlZone
in interfaceSecondaryVoltageControlAdder
-
createExtension
protected SecondaryVoltageControlImpl createExtension(Network network)
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Network,SecondaryVoltageControl>
- Returns:
- the extension
-
-