Enum Type

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

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

    Filter to select time-off policies by type

    • Enum Constant Detail

      • SICK

        public static final Type SICK
      • UNMAPPED_VALUE

        public static final Type UNMAPPED_VALUE
      • VACATION

        public static final Type VACATION
      • LONG_TERM_DISABILITY

        public static final Type LONG_TERM_DISABILITY
      • SHORT_TERM_DISABILITY

        public static final Type SHORT_TERM_DISABILITY
      • ABSENT

        public static final Type ABSENT
      • COMP_TIME

        public static final Type COMP_TIME
      • TRAINING

        public static final Type TRAINING
      • ANNUAL_LEAVE

        public static final Type ANNUAL_LEAVE
      • LEAVE_OF_ABSENCE

        public static final Type LEAVE_OF_ABSENCE
      • BREAK

        public static final Type BREAK
      • CHILD_CARE_LEAVE

        public static final Type CHILD_CARE_LEAVE
      • MATERNITY_LEAVE

        public static final Type MATERNITY_LEAVE
      • JURY_DUTY

        public static final Type JURY_DUTY
      • SABBATICAL

        public static final Type SABBATICAL
      • ACCIDENT

        public static final Type ACCIDENT
      • PAID

        public static final Type PAID
      • UNPAID

        public static final Type UNPAID
      • HOLIDAY

        public static final Type HOLIDAY
      • PERSONAL

        public static final Type PERSONAL
      • IN_LIEU

        public static final Type IN_LIEU
      • BEREAVEMENT

        public static final Type BEREAVEMENT
      • OTHER

        public static final Type OTHER
    • Method Detail

      • values

        public static 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 (Type c : 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 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
      • value

        public java.lang.String value()
      • fromValue

        public static java.util.Optional<Type> fromValue​(java.lang.String value)