Package com.powsybl.ieeecdf.model
Class BranchSideConversion
- java.lang.Object
-
- com.univocity.parsers.conversions.NullConversion<String,T>
-
- com.univocity.parsers.conversions.ObjectConversion<IeeeCdfBranch.Side>
-
- com.powsybl.ieeecdf.model.BranchSideConversion
-
- All Implemented Interfaces:
com.univocity.parsers.conversions.Conversion<String,IeeeCdfBranch.Side>
public class BranchSideConversion extends com.univocity.parsers.conversions.ObjectConversion<IeeeCdfBranch.Side>
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description BranchSideConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IeeeCdfBranch.Side
fromString(String str)
String
revert(IeeeCdfBranch.Side side)
-
Methods inherited from class com.univocity.parsers.conversions.ObjectConversion
execute, fromInput, getValueIfObjectIsNull, getValueIfStringIsNull, setValueIfObjectIsNull, setValueIfStringIsNull, undo
-
-
-
-
Method Detail
-
fromString
protected IeeeCdfBranch.Side fromString(String str)
- Specified by:
fromString
in classcom.univocity.parsers.conversions.ObjectConversion<IeeeCdfBranch.Side>
-
revert
public String revert(IeeeCdfBranch.Side side)
- Specified by:
revert
in interfacecom.univocity.parsers.conversions.Conversion<String,IeeeCdfBranch.Side>
- Overrides:
revert
in classcom.univocity.parsers.conversions.ObjectConversion<IeeeCdfBranch.Side>
-
-