Enum FieldTypeEnum

java.lang.Object
java.lang.Enum<FieldTypeEnum>
de.knightsoftnet.validators.shared.data.FieldTypeEnum
All Implemented Interfaces:
Serializable, Comparable<FieldTypeEnum>, java.lang.constant.Constable

public enum FieldTypeEnum extends Enum<FieldTypeEnum>
Field type enumeration.
Author:
Manfred Tremmel
  • Enum Constant Details

    • STRING

      public static final FieldTypeEnum STRING
      string/text.
    • NUMERIC

      public static final FieldTypeEnum NUMERIC
      numeric.
    • BOOLEAN

      public static final FieldTypeEnum BOOLEAN
      boolean.
    • DATE

      public static final FieldTypeEnum DATE
      date.
    • TIME

      public static final FieldTypeEnum TIME
      time.
    • DATETIME

      public static final FieldTypeEnum DATETIME
      date and time.
    • ENUM_FIXED

      public static final FieldTypeEnum ENUM_FIXED
      enumeration with fixed values.
    • ENUM_SQL

      public static final FieldTypeEnum ENUM_SQL
      enumeration read from database.
  • Method Details

    • values

      public static FieldTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FieldTypeEnum valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null