Package com.powsybl.ucte.converter
Class DefaultNamingStrategy
- java.lang.Object
-
- com.powsybl.ucte.converter.DefaultNamingStrategy
-
- All Implemented Interfaces:
NamingStrategy
@AutoService(NamingStrategy.class) public class DefaultNamingStrategy extends Object implements NamingStrategy
ANamingStrategy
implementation that ensures the conformity of IDs with the UCTE-DEF format- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description DefaultNamingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
UcteElementId
getUcteElementId(Branch branch)
UcteElementId
getUcteElementId(DanglingLine danglingLine)
UcteElementId
getUcteElementId(Switch sw)
UcteElementId
getUcteElementId(String id)
UcteNodeCode
getUcteNodeCode(Bus bus)
UcteNodeCode
getUcteNodeCode(DanglingLine danglingLine)
UcteNodeCode
getUcteNodeCode(String id)
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceNamingStrategy
-
getUcteNodeCode
public UcteNodeCode getUcteNodeCode(String id)
- Specified by:
getUcteNodeCode
in interfaceNamingStrategy
-
getUcteNodeCode
public UcteNodeCode getUcteNodeCode(Bus bus)
- Specified by:
getUcteNodeCode
in interfaceNamingStrategy
-
getUcteNodeCode
public UcteNodeCode getUcteNodeCode(DanglingLine danglingLine)
- Specified by:
getUcteNodeCode
in interfaceNamingStrategy
-
getUcteElementId
public UcteElementId getUcteElementId(String id)
- Specified by:
getUcteElementId
in interfaceNamingStrategy
-
getUcteElementId
public UcteElementId getUcteElementId(Switch sw)
- Specified by:
getUcteElementId
in interfaceNamingStrategy
-
getUcteElementId
public UcteElementId getUcteElementId(Branch branch)
- Specified by:
getUcteElementId
in interfaceNamingStrategy
-
getUcteElementId
public UcteElementId getUcteElementId(DanglingLine danglingLine)
- Specified by:
getUcteElementId
in interfaceNamingStrategy
-
-