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 EnumMapping due to GEOT-7715.

  • Constructor Details

    • EnumMapper

      public EnumMapper()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • 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.
    • fromString

      public Integer fromString(String value, boolean matchCase)
      Deprecated, for removal: This API element is subject to removal in a future version.