Interface EnumValueResolver


  • public interface EnumValueResolver
    Used by DefaultEnumEditor to retrieve all possible values for an enum or enum-like property type.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.Object> getAllValues​(java.lang.String valueType, java.lang.Object value)
      Returns all available values for the given type and/or initialValue.
    • Method Detail

      • getAllValues

        java.util.List<java.lang.Object> getAllValues​(java.lang.String valueType,
                                                      java.lang.Object value)
        Returns all available values for the given type and/or initialValue.
        Parameters:
        valueType - The type of the enumeration.
        value - An optional possible value if present. Could improve resolving performance.