class NodeBreakerTopology {

    public static int newStandardConnection(BusbarSection bb) {
        Objects.requireNonNull(bb, "Busbar section is null.");

        int n = bb.getTerminal().getNodeBreakerView().getNode();
        VoltageLevel.NodeBreakerView topo = bb.getTerminal().getVoltageLevel().getNodeBreakerView();

        int oldCount = topo.getMaximumNodeIndex() + 1;
        topo.newDisconnector()
                .setId(String.format("disconnector %s-%d", bb.getId(), oldCount))
                .setNode1(n)
                .setNode2(oldCount)
                .add();
        topo.newBreaker()
                .setId(String.format("breaker %s-%d", bb.getId(), oldCount + 1))
                .setNode1(oldCount)
                .setNode2(oldCount + 1)
                .add();

        return oldCount + 1;
    }

    private  NodeBreakerTopology();

}