Interface NamingStrategy
- All Known Implementing Classes:
DefaultNamingStrategy
public interface NamingStrategy
The naming strategy aims at clarifying and facilitating the naming of the different network elements created via the
different
NetworkModification
classes. Based on the name of the network element
the user wishes to create (a VoltageLevel, a BranchFeederBay, etc.), all the other elements created during the
NetworkModification will be given a name using this name as baseline and prefixes/suffixes according to the naming
strategy chosen by the user. The naming strategy can be either the default one
(DefaultNamingStrategy
) or a new implementation of the present class
provided by the user.- Author:
- Nicolas Rol <nicolas.rol at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptiongetBreakerId
(String baseId) getBreakerId
(String baseId, int id1Num, int id2Num) getBusbarId
(String baseId, int id1Num, int id2Num) getBusbarId
(String baseId, List<SwitchKind> switchKindList, int id1Num, int id2Num) getChunkPrefix
(String baseId, List<SwitchKind> switchKindList, int busBarNum, int section1Num, int section2Num) getDisconnectorBetweenChunksId
(BusbarSection bbs1, String baseId, int id1Num, int id2Num) getDisconnectorId
(BusbarSection bbs, String baseId, int id1Num, int id2Num, int side) getDisconnectorId
(String baseId, int id1Num, int id2Num) getName()
getSectioningPrefix
(String baseId, BusbarSection bbs, int busBarNum, int section1Num, int section2Num) getSwitchBaseId
(Connectable<?> connectable, int side) Used when building a feeder baygetSwitchBaseId
(VoltageLevel voltageLevel, BusbarSection bbs1, BusbarSection bbs2) Used in coupling device buildinggetSwitchId
(String baseId) getSwitchId
(String baseId, int idNum) getSwitchId
(String baseId, int id1Num, int id2Num)
-
Method Details
-
getName
String getName() -
getSectioningPrefix
String getSectioningPrefix(String baseId, BusbarSection bbs, int busBarNum, int section1Num, int section2Num) -
getChunkPrefix
String getChunkPrefix(String baseId, List<SwitchKind> switchKindList, int busBarNum, int section1Num, int section2Num) -
getDisconnectorId
-
getDisconnectorId
-
getDisconnectorBetweenChunksId
-
getBreakerId
-
getBreakerId
-
getSwitchId
-
getSwitchId
-
getSwitchId
-
getBusbarId
-
getBusbarId
-
getBusId
-
getSwitchBaseId
Used when building a feeder bay -
getSwitchBaseId
Used in coupling device building
-