com.tietoenator.trip.jxp

## Enum TdbFieldType

- java.lang.Object
- - java.lang.Enum<TdbFieldType>
  - - com.tietoenator.trip.jxp.TdbFieldType

- All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TdbFieldType>

      public enum TdbFieldType
      extends java.lang.Enum<TdbFieldType>

  Enumeration of field types

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `DateField` DAte field
    `IntegerField` INteger field
    `NumberField` NUmber (float) field
    `PhraseField` PHrase field
    `StringField` STring (blob) field
    `TextField` TExt field
    `TimeField` TIme field
    `UnknownField` Invalid

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getFieldType()` Retrieve the underlying identifier expected by TRIPxpi for the field type
    `static TdbFieldType` | `getTypeof(int type)` Retrieve the appropriate field type given a TRIPxpi identifier
    `static TdbFieldType` | `valueOf(java.lang.String name)` Returns the enum constant of this type with the specified name.
    `static TdbFieldType[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### UnknownField

          public static final TdbFieldType UnknownField

      Invalid

    - #### TextField

          public static final TdbFieldType TextField

      TExt field

    - #### PhraseField

          public static final TdbFieldType PhraseField

      PHrase field

    - #### IntegerField

          public static final TdbFieldType IntegerField

      INteger field

    - #### NumberField

          public static final TdbFieldType NumberField

      NUmber (float) field

    - #### DateField

          public static final TdbFieldType DateField

      DAte field

    - #### TimeField

          public static final TdbFieldType TimeField

      TIme field

    - #### StringField

          public static final TdbFieldType StringField

      STring (blob) field

  - ### Method Detail

    - #### values

          public static TdbFieldType[] 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 (TdbFieldType c : TdbFieldType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

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

    - #### getFieldType

          public int getFieldType()

      Retrieve the underlying identifier expected by TRIPxpi for the field type
      Returns:
        The TRIPxpi field type

    - #### getTypeof

          public static TdbFieldType getTypeof(int type)

      Retrieve the appropriate field type given a TRIPxpi identifier
      Parameters:
        `type` - The TRIPxpi field type
      Returns:
        The TdbFieldType that corresponds to the TRIPxpi identifier