Enum Class HvlRToolParamValueType

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

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

  • Method Details

    • values

      public static HvlRToolParamValueType[] 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 HvlRToolParamValueType 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 HvlRToolParamValueType fromTypeMappingValue(Integer typeMappingValue)
      Obtains reporting tool param value type using the type mapping value.
      Parameters:
      typeMappingValue - the type mapping value
      Returns:
      the param value type
    • fromDelegatedTypeClass

      public static HvlRToolParamValueType fromDelegatedTypeClass(Class<?> delegatedTypeClass)
      Obtains reporting tool param value type using the delegated type class.
      Parameters:
      delegatedTypeClass - the delegated type class
      Returns:
      the param value type
    • fromDelegatedTypeClassName

      public static HvlRToolParamValueType fromDelegatedTypeClassName(String delegatedTypeClassName)
      Obtains reporting tool param value type using the delegated type class name.
      Parameters:
      delegatedTypeClassName - the delegated type class name
      Returns:
      the param value type
    • getTypeMappingValue

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

      public Class<?> getDelegatedTypeClass()
      Gets delegated type class.
      Returns:
      the delegated type class
    • toDbValue

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