Enum ConverterType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum ConverterType extends Enum<ConverterType>
Enum representing different types of converter functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classConverterType.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringfragmentprivate final Integerorderprivate final BooleanappendFragmentprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<ConverterType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTINGLISTOPTIONALCOALESCINGSINGLECHOICE
-
Method Summary
Modifier and Type Method Description final ConverterTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<ConverterType>values()Returns an array containing the constants of this enum type, in the order they're declared. final StringgetFragment()String fragment to add to the converter type name final IntegergetOrder()Order of types - for naming order and compatibility final BooleangetAppendFragment()Whether to append the string fragment, or ignore it final EnumEntries<ConverterType>getEntries()Enum representing different types of converter functions. -
-
Method Detail
-
valueOf
final ConverterType valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<ConverterType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getFragment
final String getFragment()
String fragment to add to the converter type name
-
getAppendFragment
final Boolean getAppendFragment()
Whether to append the string fragment, or ignore it
-
getEntries
final EnumEntries<ConverterType> getEntries()
Enum representing different types of converter functions.
-
-
-
-