Interface BatteryAdder

All Superinterfaces:
IdentifiableAdder<Battery,BatteryAdder>, InjectionAdder<Battery,BatteryAdder>
All Known Implementing Classes:
BatteryAdderImpl

public interface BatteryAdder extends InjectionAdder<Battery,BatteryAdder>
To create a battery, from a VoltageLevel instance call the VoltageLevel.newBattery() method to get a battery builder instance.

Example:

    VoltageLevel vl = ...
    Battery b = vl.newBattery()
            .setId("b1")
            ...
        .add();
Author:
Ghiles Abdellah <ghiles.abdellah at rte-france.com>
See Also: