Enum#ordinal() to convert a source Enum to an Integer.
This converter will not match enums with interfaces that can be converted.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | convert(Enum<?>
the source object to convert, which must be an instance of source)S (never null)Implements org. Convert the source object of type |
| EnumToIntegerConverter | back to summary |
|---|---|
| public EnumToIntegerConverter(ConversionService conversionService) | |
| convert | back to summary |
|---|---|
| public Integer convert(Enum<?> source) Implements org. Doc from org. Convert the source object of type | |