Interface LoadDetailAdder
-
- All Superinterfaces:
ExtensionAdder<Load,LoadDetail>
- All Known Implementing Classes:
LoadDetailAdderImpl
public interface LoadDetailAdder extends ExtensionAdder<Load,LoadDetail>
- Author:
- Jérémy Labous
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LoadDetail>
getExtensionClass()
Returns the class of the extension.LoadDetailAdder
withFixedActivePower(double fixedActivePower)
LoadDetailAdder
withFixedReactivePower(double fixedReactivePower)
LoadDetailAdder
withVariableActivePower(double variableActivePower)
LoadDetailAdder
withVariableReactivePower(double variableReactivePower)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<LoadDetail> 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<Load,LoadDetail>
- Returns:
- the interface of the extension
-
withFixedActivePower
LoadDetailAdder withFixedActivePower(double fixedActivePower)
-
withFixedReactivePower
LoadDetailAdder withFixedReactivePower(double fixedReactivePower)
-
withVariableActivePower
LoadDetailAdder withVariableActivePower(double variableActivePower)
-
withVariableReactivePower
LoadDetailAdder withVariableReactivePower(double variableReactivePower)
-
-