Enum Field

  • All Implemented Interfaces:
    org.refcodes.mixin.NameAccessor


    public enum Field
    extends java.lang.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 Detail

      • 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 Detail

      • values

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

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