Enum Field.Type

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Field.Type>
    Enclosing class:
    Field

    public static enum Field.Type
    extends java.lang.Enum<Field.Type>
    The different row value types.
    Since:
    100.0.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BLOB
      A binary large object (Java byte array).
      DATE
      A date time value (Java Calendar).
      DOUBLE
      A double-precision 64-bit floating point value (Java Double).
      FLOAT
      A single-precision 32-bit floating point value (Java Float).
      GEOMETRY
      A geometry value.
      GLOBALID
      An esri global ID value (Java UUID).
      GUID
      Globally Unique Identifier value (Java UUID).
      INTEGER
      A 32-bit integer value (Java Integer).
      OID
      An object ID value (Java Long).
      RASTER
      A raster value (Java byte array).
      SHORT
      A 16-bit integer value (Java Short).
      TEXT
      A string value (Java String).
      UNKNOWN
      Unknown field type.
      XML
      An xml value.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Field.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Field.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNKNOWN

        public static final Field.Type UNKNOWN
        Unknown field type.
      • SHORT

        public static final Field.Type SHORT
        A 16-bit integer value (Java Short).
      • INTEGER

        public static final Field.Type INTEGER
        A 32-bit integer value (Java Integer).
      • GUID

        public static final Field.Type GUID
        Globally Unique Identifier value (Java UUID).
      • FLOAT

        public static final Field.Type FLOAT
        A single-precision 32-bit floating point value (Java Float).
      • DOUBLE

        public static final Field.Type DOUBLE
        A double-precision 64-bit floating point value (Java Double).
      • DATE

        public static final Field.Type DATE
        A date time value (Java Calendar). Warning: Shapefile formats do not store the time component.
      • TEXT

        public static final Field.Type TEXT
        A string value (Java String).
      • OID

        public static final Field.Type OID
        An object ID value (Java Long).
      • GLOBALID

        public static final Field.Type GLOBALID
        An esri global ID value (Java UUID).
      • BLOB

        public static final Field.Type BLOB
        A binary large object (Java byte array).
      • GEOMETRY

        public static final Field.Type GEOMETRY
        A geometry value.
      • RASTER

        public static final Field.Type RASTER
        A raster value (Java byte array).
      • XML

        public static final Field.Type XML
        An xml value.
    • Method Detail

      • values

        public static Field.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Field.Type c : Field.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Field.Type valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null