Class EnumDataProvider<T extends Enum<T>>

All Implemented Interfaces:
ConfigurableFilterDataProvider<T,SerializablePredicate<T>,SerializablePredicate<T>>, DataProvider<T,SerializablePredicate<T>>, InMemoryDataProvider<T>, Serializable

public class EnumDataProvider<T extends Enum<T>> extends ListDataProvider<T>
A simple data provider containing Enum values.

When created by a FieldBuilder, instances will automatically infer the Enum type via FieldBuilderContext.inferDataModelType() and then populate themselves with the corresponding enum values.

See Also:
  • Constructor Details

  • Method Details

    • getEnumType

      public Class<T> getEnumType()
      Get the enum type.
      Returns:
      enum type