Enum Class HvlRToolReportDataSourceType

java.lang.Object
java.lang.Enum<HvlRToolReportDataSourceType>
tr.com.havelsan.javarch.report.rtool.cloud.client.data.HvlRToolReportDataSourceType
All Implemented Interfaces:
Serializable, Comparable<HvlRToolReportDataSourceType>, Constable, tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>

public enum HvlRToolReportDataSourceType extends Enum<HvlRToolReportDataSourceType> implements tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
The type represents reporting tool report data source types.
  • Enum Constant Details

  • Method Details

    • values

      public static HvlRToolReportDataSourceType[] 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 HvlRToolReportDataSourceType 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
    • fromTypeMappingValue

      public static HvlRToolReportDataSourceType fromTypeMappingValue(Integer typeMappingValue)
      Obtains reporting tool data source type using the type mapping value.
      Parameters:
      typeMappingValue - the type mapping value
      Returns:
      the report data source type
    • findByQueryLangName

      public static Optional<HvlRToolReportDataSourceType> findByQueryLangName(String queryLangName)
      Finds reporting tool data source type by query lang name.
      Parameters:
      queryLangName - the query lang name
      Returns:
      the report data source type
    • getTypeMappingValue

      public Integer getTypeMappingValue()
      Gets type mapping value.
      Returns:
      the type mapping value
    • getSupportedQueryLangNames

      public Set<String> getSupportedQueryLangNames()
      Gets supported query lang names.
      Returns:
      the supported query lang names
    • toDbValue

      public Integer toDbValue()
      Specified by:
      toDbValue in interface tr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>