Enum Class Precision

java.lang.Object
java.lang.Enum<Precision>
com.wisecoders.dbs.schema.Precision
All Implemented Interfaces:
Serializable, Comparable<Precision>, Constable

public enum Precision extends Enum<Precision>
Data type precision, states if the data type request a length or precision, decimal, enumeration or none
  • Enum Constant Details

    • NONE

      public static final Precision NONE
    • LENGTH

      public static final Precision LENGTH
    • PRECISION

      public static final Precision PRECISION
    • DECIMAL

      public static final Precision DECIMAL
    • ENUMERATION

      public static final Precision ENUMERATION
  • Method Details

    • values

      public static Precision[] 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 Precision 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
    • usesLength

      public boolean usesLength()
    • usesDecimal

      public boolean usesDecimal()