| Constructor and Description |
|---|
EnumToStringMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertObject(MapperContext<Enum,String> context)
Convert object from one type to expected type
|
Class<String> |
getExpectedReturnType() |
Class<? extends Enum> |
getTypeOfObjectToConvert() |
public String convertObject(MapperContext<Enum,String> context)
MapperconvertObject in interface Mapper<Enum,String>context - Encapsulates reference to converted object and other things, which might be helpful in conversionpublic Class<? extends Enum> getTypeOfObjectToConvert()
getTypeOfObjectToConvert in interface Mapper<Enum,String>Copyright © 2016 JBoss by Red Hat. All rights reserved.