Package com.powsybl.iidm.mergingview
Class DanglingLineAdderAdapter
- java.lang.Object
-
- com.powsybl.iidm.mergingview.DanglingLineAdderAdapter
-
- All Implemented Interfaces:
DanglingLineAdder
,IdentifiableAdder<DanglingLine,DanglingLineAdder>
,InjectionAdder<DanglingLine,DanglingLineAdder>
public class DanglingLineAdderAdapter extends Object implements DanglingLineAdder
- Author:
- Thomas Adam
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.DanglingLineAdder
DanglingLineAdder.GenerationAdder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DanglingLine
add()
protected void
checkAndSetUniqueId()
protected I
getDelegate()
protected String
getId()
protected com.powsybl.iidm.mergingview.MergingViewIndex
getIndex()
protected boolean
isEnsureIdUnicity()
DanglingLineAdder.GenerationAdder
newGeneration()
DanglingLineAdder
setB(double b)
I
setBus(String bus)
I
setConnectableBus(String connectableBus)
I
setEnsureIdUnicity(boolean ensureIdUnicity)
I
setFictitious(boolean fictitious)
DanglingLineAdder
setG(double g)
I
setId(String id)
I
setName(String name)
I
setNode(int node)
DanglingLineAdder
setP0(double p0)
DanglingLineAdder
setQ0(double q0)
DanglingLineAdder
setR(double r)
DanglingLineAdder
setUcteXnodeCode(String ucteXnodeCode)
DanglingLineAdder
setX(double x)
-
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
-
Methods inherited from interface com.powsybl.iidm.network.InjectionAdder
setBus, setConnectableBus, setNode
-
-
-
-
Method Detail
-
add
public DanglingLine add()
- Specified by:
add
in interfaceDanglingLineAdder
- Specified by:
add
in interfaceIdentifiableAdder<DanglingLine,DanglingLineAdder>
- Specified by:
add
in interfaceInjectionAdder<DanglingLine,DanglingLineAdder>
-
setP0
public DanglingLineAdder setP0(double p0)
- Specified by:
setP0
in interfaceDanglingLineAdder
-
setQ0
public DanglingLineAdder setQ0(double q0)
- Specified by:
setQ0
in interfaceDanglingLineAdder
-
setR
public DanglingLineAdder setR(double r)
- Specified by:
setR
in interfaceDanglingLineAdder
-
setX
public DanglingLineAdder setX(double x)
- Specified by:
setX
in interfaceDanglingLineAdder
-
setG
public DanglingLineAdder setG(double g)
- Specified by:
setG
in interfaceDanglingLineAdder
-
setB
public DanglingLineAdder setB(double b)
- Specified by:
setB
in interfaceDanglingLineAdder
-
setUcteXnodeCode
public DanglingLineAdder setUcteXnodeCode(String ucteXnodeCode)
- Specified by:
setUcteXnodeCode
in interfaceDanglingLineAdder
-
newGeneration
public DanglingLineAdder.GenerationAdder newGeneration()
- Specified by:
newGeneration
in interfaceDanglingLineAdder
-
setNode
public I setNode(int node)
- Specified by:
setNode
in interfaceInjectionAdder<T extends Injection<T>,I extends InjectionAdder<T,I>>
-
setBus
public I setBus(String bus)
- Specified by:
setBus
in interfaceInjectionAdder<T extends Injection<T>,I extends InjectionAdder<T,I>>
-
setConnectableBus
public I setConnectableBus(String connectableBus)
- Specified by:
setConnectableBus
in interfaceInjectionAdder<T extends Injection<T>,I extends InjectionAdder<T,I>>
-
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()
-
-