Enum ColumnType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ColumnType>

    public enum ColumnType
    extends java.lang.Enum<ColumnType>
    Represents column types.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ABSTRACT_DATETIME
      Represents the ABSTRACT_DATETIME (auto number) column type
      CHECKBOX
      Represents the CHECKBOX column type.
      CONTACT_LIST
      Represents the CONTACT_LIST column type.
      DATE
      Represents the DATE column type.
      DATETIME
      Represents the DATETIME column type.
      DURATION
      Represents the DURATION column type.
      MULTI_CONTACT_LIST
      Represents the MULTI_CONTACT_LIST (multi-assign) column type
      MULTI_PICKLIST
      Represents the MULTI_PICKLIST (multi select picklist) column type
      PICKLIST
      Represents the PICKLIST column type.
      PREDECESSOR
      Represents the PREDECESSOR column type.
      TEXT_NUMBER
      Represents the TEXT_NUMBER column type.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ColumnType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ColumnType[] 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

      • TEXT_NUMBER

        public static final ColumnType TEXT_NUMBER
        Represents the TEXT_NUMBER column type.
      • CONTACT_LIST

        public static final ColumnType CONTACT_LIST
        Represents the CONTACT_LIST column type.
      • DATE

        public static final ColumnType DATE
        Represents the DATE column type.
      • DATETIME

        public static final ColumnType DATETIME
        Represents the DATETIME column type.
      • PICKLIST

        public static final ColumnType PICKLIST
        Represents the PICKLIST column type.
      • CHECKBOX

        public static final ColumnType CHECKBOX
        Represents the CHECKBOX column type.
      • DURATION

        public static final ColumnType DURATION
        Represents the DURATION column type.
      • PREDECESSOR

        public static final ColumnType PREDECESSOR
        Represents the PREDECESSOR column type.
      • ABSTRACT_DATETIME

        public static final ColumnType ABSTRACT_DATETIME
        Represents the ABSTRACT_DATETIME (auto number) column type
      • MULTI_CONTACT_LIST

        public static final ColumnType MULTI_CONTACT_LIST
        Represents the MULTI_CONTACT_LIST (multi-assign) column type
      • MULTI_PICKLIST

        public static final ColumnType MULTI_PICKLIST
        Represents the MULTI_PICKLIST (multi select picklist) column type
    • Method Detail

      • values

        public static ColumnType[] 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 (ColumnType c : ColumnType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ColumnType 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