Enum Class CellDataType

java.lang.Object
java.lang.Enum<CellDataType>
com.almis.awe.model.type.CellDataType
All Implemented Interfaces:
Serializable, Comparable<CellDataType>, Constable

public enum CellDataType extends Enum<CellDataType> implements Serializable
CellDataType Enumerated List of allowed cell data types in DataList
Author:
Pablo VIDAL - 16/Nov/2018
  • Enum Constant Details

  • Method Details

    • values

      public static CellDataType[] 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 CellDataType 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
    • fromValue

      public static CellDataType fromValue(String value)
      Get celldata type from value
      Parameters:
      value - value
      Returns:
      CellDataType
    • toValue

      public String toValue()
      Get string cellDataType
      Returns:
      String
    • convertSQLType

      public static CellDataType convertSQLType(int type)
      Get enumerated property key
      Parameters:
      type - celldata type
      Returns:
      Property key (if defined)