Enum Field

java.lang.Object
java.lang.Enum<Field>
org.refcodes.data.Field
All Implemented Interfaces:
Serializable, Comparable<Field>, java.lang.constant.Constable, org.refcodes.mixin.NameAccessor

public enum Field extends Enum<Field> implements org.refcodes.mixin.NameAccessor
The Field are useful when working with fields defined for external systems such as databases or when working with tables or Map instances.
  • Enum Constant Details

    • META_CREATED_DATE

      public static final Field META_CREATED_DATE
    • META_MODIFIED_DATE

      public static final Field META_MODIFIED_DATE
    • META_CREATED_BY

      public static final Field META_CREATED_BY
    • META_MOFIFIED_BY

      public static final Field META_MOFIFIED_BY
    • META_TIMESTAMP

      public static final Field META_TIMESTAMP
    • META_VERSION

      public static final Field META_VERSION
    • LOG_LINE_NUMBER

      public static final Field LOG_LINE_NUMBER
    • LOG_DATE

      public static final Field LOG_DATE
    • LOG_PRIORITY

      public static final Field LOG_PRIORITY
    • LOG_THREAD_NAME

      public static final Field LOG_THREAD_NAME
    • LOG_MESSAGE

      public static final Field LOG_MESSAGE
    • LOG_EXCEPTION

      public static final Field LOG_EXCEPTION
    • LOG_FULLY_QUALIFIED_CLASS_NAME

      public static final Field LOG_FULLY_QUALIFIED_CLASS_NAME
    • LOG_METHOD_NAME

      public static final Field LOG_METHOD_NAME
    • LOG_CLASS_LINE_NUMBER

      public static final Field LOG_CLASS_LINE_NUMBER
    • LOG_SESSION_ID

      public static final Field LOG_SESSION_ID
    • LOG_REQUEST_ID

      public static final Field LOG_REQUEST_ID
  • Method Details

    • values

      public static Field[] 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 Field 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
    • getName

      public String getName()
      Specified by:
      getName in interface org.refcodes.mixin.NameAccessor