Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
altitude.integrationServer.types.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
Represents the data type of a column in the database.
  • Enum Constant Details

    • Text

      public static final DataType Text
      Text data type.
    • Number

      public static final DataType Number
      Number data type.
    • Date

      public static final DataType Date
      Date data type.
    • Time

      public static final DataType Time
      Time data type.
    • DateTime

      public static final DataType DateTime
      Date time data type.
    • TextUnicode

      public static final DataType TextUnicode
      Wide (Unicode) text.
    • UserDefinedEnumerated

      public static final DataType UserDefinedEnumerated
      User defined enumerated data type.
    • Boolean

      public static final DataType Boolean
      Boolean data type.
    • Email

      public static final DataType Email
      Email data type.
    • Document

      public static final DataType Document
      Document data type.
    • BuiltInEnumerated

      public static final DataType BuiltInEnumerated
      Built-in enumerated data type.
    • TimeSpan

      public static final DataType TimeSpan
      Time span data type.
  • Method Details

    • values

      public static DataType[] 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 DataType 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
    • value

      public int value()
    • fromValue

      public static DataType fromValue(int v)