Enum Class DataSetType

java.lang.Object
java.lang.Enum<DataSetType>
io.jmix.reports.entity.DataSetType
All Implemented Interfaces:
EnumClass<Integer>, Serializable, Comparable<DataSetType>, Constable

public enum DataSetType extends Enum<DataSetType> implements EnumClass<Integer>
  • Enum Constant Details

    • SQL

      public static final DataSetType SQL
      SQL query
    • JPQL

      public static final DataSetType JPQL
      JPQL query
    • GROOVY

      public static final DataSetType GROOVY
      Groovy script
    • SINGLE

      public static final DataSetType SINGLE
      Entity
    • MULTI

      public static final DataSetType MULTI
      Entities list
    • JSON

      public static final DataSetType JSON
      json
  • Method Details

    • values

      public static DataSetType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DataSetType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public Integer getId()
      Specified by:
      getId in interface EnumClass<Integer>
    • getCode

      public String getCode()
    • fromId

      public static DataSetType fromId(Integer id)
    • fromCode

      public static DataSetType fromCode(String code)