Package com.powsybl.action
Class AbstractLoadActionBuilder<T extends AbstractLoadAction,B extends AbstractLoadActionBuilder<T,B>>
java.lang.Object
com.powsybl.action.AbstractLoadActionBuilder<T,B>
- All Implemented Interfaces:
ActionBuilder<B>
- Direct Known Subclasses:
DanglingLineActionBuilder
,LoadActionBuilder
public abstract class AbstractLoadActionBuilder<T extends AbstractLoadAction,B extends AbstractLoadActionBuilder<T,B>>
extends Object
implements ActionBuilder<B>
- Author:
- Anne Tilloy <[email protected]>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract T
build()
getId()
withActivePowerValue
(double activePowerValue) withNetworkElementId
(String elementId) withReactivePowerValue
(double reactivePowerValue) withRelativeValue
(boolean relativeValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.action.ActionBuilder
getType
-
Constructor Details
-
AbstractLoadActionBuilder
public AbstractLoadActionBuilder()
-
-
Method Details
-
getId
- Specified by:
getId
in interfaceActionBuilder<T extends AbstractLoadAction>
-
build
- Specified by:
build
in interfaceActionBuilder<T extends AbstractLoadAction>
-
withNetworkElementId
- Specified by:
withNetworkElementId
in interfaceActionBuilder<T extends AbstractLoadAction>
-
withId
- Specified by:
withId
in interfaceActionBuilder<T extends AbstractLoadAction>
-
withRelativeValue
-
withActivePowerValue
-
withReactivePowerValue
-
getReactivePowerValue
-
getElementId
-
getRelativeValue
-
getActivePowerValue
-