Enum DbFieldType

java.lang.Object
java.lang.Enum<DbFieldType>
cn.mapway.ui.client.db.DbFieldType
All Implemented Interfaces:
Serializable, Comparable<DbFieldType>, java.lang.constant.Constable

public enum DbFieldType extends Enum<DbFieldType>
Shape File 字段类型 0 String 1 Integer 2 Float 3 DateTime 4 Boolean public static final int FLD_TYPE_STRING = 0; public static final int FLD_TYPE_INTEGER = 1; public static final int FLD_TYPE_FLOAT = 2; public static final int FLD_TYPE_DATETIME = 3; public static final int FLD_TYPE_BOOLEAN = 4;
  • Enum Constant Details

    • FLD_TYPE_STRING

      public static final DbFieldType FLD_TYPE_STRING
    • FLD_TYPE_INTEGER

      public static final DbFieldType FLD_TYPE_INTEGER
    • FLD_TYPE_BIGINTEGER

      public static final DbFieldType FLD_TYPE_BIGINTEGER
    • FLD_TYPE_FLOAT

      public static final DbFieldType FLD_TYPE_FLOAT
    • FLD_TYPE_DATETIME

      public static final DbFieldType FLD_TYPE_DATETIME
    • FLD_TYPE_BOOLEAN

      public static final DbFieldType FLD_TYPE_BOOLEAN
    • FLD_TYPE_GEOMETRY

      public static final DbFieldType FLD_TYPE_GEOMETRY
    • FLD_TYPE_SERIAL

      public static final DbFieldType FLD_TYPE_SERIAL
    • FLD_TYPE_STRING_ARRAY

      public static final DbFieldType FLD_TYPE_STRING_ARRAY
    • FLD_TYPE_CLOB

      public static final DbFieldType FLD_TYPE_CLOB
    • FLD_TYPE_BLOB

      public static final DbFieldType FLD_TYPE_BLOB
    • FLD_TYPE_CUSTOM

      public static final DbFieldType FLD_TYPE_CUSTOM
  • Method Details

    • values

      public static DbFieldType[] 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 DbFieldType 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
    • valueOfCode

      public static DbFieldType valueOfCode(Integer code)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DbFieldType>
    • getCode

      public int getCode()
    • getName

      public String getName()
    • getUnicode

      public String getUnicode()