Package org.geotools.jdbc
Class EnumMapper
Object
EnumMapper
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 EnumMapping
due to GEOT-7715.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMapping
(Integer key, String value) Deprecated, for removal: This API element is subject to removal in a future version.Adds a key/value mappingfromInteger
(Integer key) Deprecated, for removal: This API element is subject to removal in a future version.fromString
(String key) Deprecated, for removal: This API element is subject to removal in a future version.fromString
(String value, boolean matchCase) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
EnumMapper
public EnumMapper()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
addMapping
Deprecated, for removal: This API element is subject to removal in a future version.Adds a key/value mapping -
fromInteger
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
key
-- Returns:
-
fromString
Deprecated, for removal: This API element is subject to removal in a future version. -
getIntegerToString
Deprecated, for removal: This API element is subject to removal in a future version. -
getStringToInteger
Deprecated, for removal: This API element is subject to removal in a future version. -
fromString
Deprecated, for removal: This API element is subject to removal in a future version.
-