Class LoadAsymmetricalAdderImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtensionAdder<Load,LoadAsymmetrical>
-
- com.powsybl.iidm.network.impl.extensions.LoadAsymmetricalAdderImpl
-
- All Implemented Interfaces:
ExtensionAdder<Load,LoadAsymmetrical>
,LoadAsymmetricalAdder
public class LoadAsymmetricalAdderImpl extends AbstractExtensionAdder<Load,LoadAsymmetrical> implements LoadAsymmetricalAdder
- Author:
- Jean-Baptiste Heyberger
, Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description LoadAsymmetricalAdderImpl(Load load)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoadAsymmetricalImpl
createExtension(Load load)
Creates the extension.Class<? super LoadAsymmetrical>
getExtensionClass()
Returns the class of the extension.LoadAsymmetricalAdderImpl
withConnectionType(LoadConnectionType connectionType)
LoadAsymmetricalAdderImpl
withDeltaPa(double deltaPa)
LoadAsymmetricalAdderImpl
withDeltaPb(double deltaPb)
LoadAsymmetricalAdderImpl
withDeltaPc(double deltaPc)
LoadAsymmetricalAdderImpl
withDeltaQa(double deltaQa)
LoadAsymmetricalAdderImpl
withDeltaQb(double deltaQb)
LoadAsymmetricalAdderImpl
withDeltaQc(double deltaQc)
-
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
-
LoadAsymmetricalAdderImpl
public LoadAsymmetricalAdderImpl(Load load)
-
-
Method Detail
-
getExtensionClass
public Class<? super LoadAsymmetrical> 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,LoadAsymmetrical>
- Returns:
- the interface of the extension
-
createExtension
protected LoadAsymmetricalImpl createExtension(Load load)
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Load,LoadAsymmetrical>
- Returns:
- the extension
-
withConnectionType
public LoadAsymmetricalAdderImpl withConnectionType(LoadConnectionType connectionType)
- Specified by:
withConnectionType
in interfaceLoadAsymmetricalAdder
-
withDeltaPa
public LoadAsymmetricalAdderImpl withDeltaPa(double deltaPa)
- Specified by:
withDeltaPa
in interfaceLoadAsymmetricalAdder
-
withDeltaQa
public LoadAsymmetricalAdderImpl withDeltaQa(double deltaQa)
- Specified by:
withDeltaQa
in interfaceLoadAsymmetricalAdder
-
withDeltaPb
public LoadAsymmetricalAdderImpl withDeltaPb(double deltaPb)
- Specified by:
withDeltaPb
in interfaceLoadAsymmetricalAdder
-
withDeltaQb
public LoadAsymmetricalAdderImpl withDeltaQb(double deltaQb)
- Specified by:
withDeltaQb
in interfaceLoadAsymmetricalAdder
-
withDeltaPc
public LoadAsymmetricalAdderImpl withDeltaPc(double deltaPc)
- Specified by:
withDeltaPc
in interfaceLoadAsymmetricalAdder
-
withDeltaQc
public LoadAsymmetricalAdderImpl withDeltaQc(double deltaQc)
- Specified by:
withDeltaQc
in interfaceLoadAsymmetricalAdder
-
-