Package com.powsybl.iidm.mergingview
Class TwoWindingsTransformerAdderAdapter
- java.lang.Object
-
- com.powsybl.iidm.mergingview.TwoWindingsTransformerAdderAdapter
-
- All Implemented Interfaces:
BranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
,IdentifiableAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
,TwoWindingsTransformerAdder
public class TwoWindingsTransformerAdderAdapter extends Object implements TwoWindingsTransformerAdder
- Author:
- Thomas Adam
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.network.IdentifiableAdder
setEnsureIdUnicity, setFictitious, setId, setName
-
-
-
-
Method Detail
-
add
public TwoWindingsTransformer add()
- Specified by:
add
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
- Specified by:
add
in interfaceIdentifiableAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
- Specified by:
add
in interfaceTwoWindingsTransformerAdder
-
setVoltageLevel1
public TwoWindingsTransformerAdder setVoltageLevel1(String voltageLevelId1)
- Specified by:
setVoltageLevel1
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setNode1
public TwoWindingsTransformerAdder setNode1(int node1)
- Specified by:
setNode1
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setBus1
public TwoWindingsTransformerAdder setBus1(String bus1)
- Specified by:
setBus1
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setConnectableBus1
public TwoWindingsTransformerAdder setConnectableBus1(String connectableBus1)
- Specified by:
setConnectableBus1
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setVoltageLevel2
public TwoWindingsTransformerAdder setVoltageLevel2(String voltageLevelId2)
- Specified by:
setVoltageLevel2
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setNode2
public TwoWindingsTransformerAdder setNode2(int node2)
- Specified by:
setNode2
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setBus2
public TwoWindingsTransformerAdder setBus2(String bus2)
- Specified by:
setBus2
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setConnectableBus2
public TwoWindingsTransformerAdder setConnectableBus2(String connectableBus2)
- Specified by:
setConnectableBus2
in interfaceBranchAdder<TwoWindingsTransformer,TwoWindingsTransformerAdder>
-
setR
public TwoWindingsTransformerAdder setR(double r)
- Specified by:
setR
in interfaceTwoWindingsTransformerAdder
-
setX
public TwoWindingsTransformerAdder setX(double x)
- Specified by:
setX
in interfaceTwoWindingsTransformerAdder
-
setB
public TwoWindingsTransformerAdder setB(double b)
- Specified by:
setB
in interfaceTwoWindingsTransformerAdder
-
setG
public TwoWindingsTransformerAdder setG(double g)
- Specified by:
setG
in interfaceTwoWindingsTransformerAdder
-
setRatedU1
public TwoWindingsTransformerAdder setRatedU1(double ratedU1)
- Specified by:
setRatedU1
in interfaceTwoWindingsTransformerAdder
-
setRatedU2
public TwoWindingsTransformerAdder setRatedU2(double ratedU2)
- Specified by:
setRatedU2
in interfaceTwoWindingsTransformerAdder
-
setRatedS
public TwoWindingsTransformerAdder setRatedS(double ratedS)
- Specified by:
setRatedS
in interfaceTwoWindingsTransformerAdder
-
getId
protected String getId()
-
setId
public I setId(String id)
- Specified by:
setId
in interfaceIdentifiableAdder<T extends Identifiable<? super T>,I extends IdentifiableAdder<T,I>>
-
isEnsureIdUnicity
protected boolean isEnsureIdUnicity()
-
setEnsureIdUnicity
public I setEnsureIdUnicity(boolean ensureIdUnicity)
- Specified by:
setEnsureIdUnicity
in interfaceIdentifiableAdder<T extends Identifiable<? super T>,I extends IdentifiableAdder<T,I>>
-
setName
public I setName(String name)
- Specified by:
setName
in interfaceIdentifiableAdder<T extends Identifiable<? super T>,I extends IdentifiableAdder<T,I>>
-
setFictitious
public I setFictitious(boolean fictitious)
- Specified by:
setFictitious
in interfaceIdentifiableAdder<T extends Identifiable<? super T>,I extends IdentifiableAdder<T,I>>
-
checkAndSetUniqueId
protected void checkAndSetUniqueId()
-
getDelegate
protected I getDelegate()
-
getIndex
protected com.powsybl.iidm.mergingview.MergingViewIndex getIndex()
-
-