Package org.geotools.jdbc
Class EnumMapper
- Object
-
- EnumMapper
-
@Deprecated(forRemoval=true) public class EnumMapper extends Object
Deprecated, for removal: This API element is subject to removal in a future version.Helper class for enums mapped between integers and strings.Deprecated in favor of
EnumMappingdue to GEOT-7715.
-
-
Constructor Summary
Constructors Constructor Description EnumMapper()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddMapping(Integer key, String value)Deprecated, for removal: This API element is subject to removal in a future version.Adds a key/value mappingStringfromInteger(Integer key)Deprecated, for removal: This API element is subject to removal in a future version.IntegerfromString(String key)Deprecated, for removal: This API element is subject to removal in a future version.IntegerfromString(String value, boolean matchCase)Deprecated, for removal: This API element is subject to removal in a future version.Map<Integer,String>getIntegerToString()Deprecated, for removal: This API element is subject to removal in a future version.Map<String,Integer>getStringToInteger()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
addMapping
public void addMapping(Integer key, String value)
Deprecated, for removal: This API element is subject to removal in a future version.Adds a key/value mapping
-
fromInteger
public String fromInteger(Integer key)
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
key-- Returns:
-
fromString
public Integer fromString(String key)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getIntegerToString
public Map<Integer,String> getIntegerToString()
Deprecated, for removal: This API element is subject to removal in a future version.
-
getStringToInteger
public Map<String,Integer> getStringToInteger()
Deprecated, for removal: This API element is subject to removal in a future version.
-
-