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