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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<HvlRToolReportDataSourceType>
findByQueryLangName
(String queryLangName) Finds reporting tool data source type by query lang name.static HvlRToolReportDataSourceType
fromTypeMappingValue
(Integer typeMappingValue) Obtains reporting tool data source type using the type mapping value.Gets supported query lang names.Gets type mapping value.static HvlRToolReportDataSourceType
Returns the enum constant of this class with the specified name.static HvlRToolReportDataSourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED
-
JSON
-
JDBC
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
fromTypeMappingValue
Obtains reporting tool data source type using the type mapping value.- Parameters:
typeMappingValue
- the type mapping value- Returns:
- the report data source type
-
findByQueryLangName
Finds reporting tool data source type by query lang name.- Parameters:
queryLangName
- the query lang name- Returns:
- the report data source type
-
getTypeMappingValue
Gets type mapping value.- Returns:
- the type mapping value
-
getSupportedQueryLangNames
Gets supported query lang names.- Returns:
- the supported query lang names
-
toDbValue
- Specified by:
toDbValue
in interfacetr.com.havelsan.javarch.data.converter.enumeration.HvlEnumerationConverter<Integer>
-