Class LoadDetailAdderImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionAdder<Load,LoadDetail>
-
- com.powsybl.iidm.network.impl.extensions.LoadDetailAdderImpl
-
- All Implemented Interfaces:
ExtensionAdder<Load,LoadDetail>
,LoadDetailAdder
public class LoadDetailAdderImpl extends AbstractExtensionAdder<Load,LoadDetail> implements LoadDetailAdder
- Author:
- Jérémy Labous
-
-
Constructor Summary
Constructors Constructor Description LoadDetailAdderImpl(Load load)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoadDetail
createExtension(Load load)
Creates the extension.LoadDetailAdder
withFixedActivePower(double fixedActivePower)
LoadDetailAdder
withFixedReactivePower(double fixedReactivePower)
LoadDetailAdder
withVariableActivePower(double variableActivePower)
LoadDetailAdder
withVariableReactivePower(double variableReactivePower)
-
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.LoadDetailAdder
getExtensionClass
-
-
-
-
Constructor Detail
-
LoadDetailAdderImpl
public LoadDetailAdderImpl(Load load)
-
-
Method Detail
-
createExtension
protected LoadDetail createExtension(Load load)
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Load,LoadDetail>
- Returns:
- the extension
-
withFixedActivePower
public LoadDetailAdder withFixedActivePower(double fixedActivePower)
- Specified by:
withFixedActivePower
in interfaceLoadDetailAdder
-
withFixedReactivePower
public LoadDetailAdder withFixedReactivePower(double fixedReactivePower)
- Specified by:
withFixedReactivePower
in interfaceLoadDetailAdder
-
withVariableActivePower
public LoadDetailAdder withVariableActivePower(double variableActivePower)
- Specified by:
withVariableActivePower
in interfaceLoadDetailAdder
-
withVariableReactivePower
public LoadDetailAdder withVariableReactivePower(double variableReactivePower)
- Specified by:
withVariableReactivePower
in interfaceLoadDetailAdder
-
-