Package org.geotools.jdbc
Class EnumMapper
- Object
-
- EnumMapper
-
public class EnumMapper extends Object
Helper class for enums mapped between integers and strings.
-
-
Constructor Summary
Constructors Constructor Description EnumMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMapping(Integer key, String value)
Adds a key/value mappingString
fromInteger(Integer key)
Integer
fromString(String key)
Integer
fromString(String value, boolean matchCase)
Map<Integer,String>
getIntegerToString()
Map<String,Integer>
getStringToInteger()
-