Enum EarningsType

    • Enum Constant Detail

      • ORDINARYTIMEEARNINGS

        public static final EarningsType ORDINARYTIMEEARNINGS
        ORDINARYTIMEEARNINGS
      • OVERTIMEEARNINGS

        public static final EarningsType OVERTIMEEARNINGS
        OVERTIMEEARNINGS
      • ALLOWANCE

        public static final EarningsType ALLOWANCE
        ALLOWANCE
      • LUMPSUMD

        public static final EarningsType LUMPSUMD
        LUMPSUMD
      • EMPLOYMENTTERMINATIONPAYMENT

        public static final EarningsType EMPLOYMENTTERMINATIONPAYMENT
        EMPLOYMENTTERMINATIONPAYMENT
      • LUMPSUMA

        public static final EarningsType LUMPSUMA
        LUMPSUMA
      • LUMPSUMB

        public static final EarningsType LUMPSUMB
        LUMPSUMB
      • BONUSESANDCOMMISSIONS

        public static final EarningsType BONUSESANDCOMMISSIONS
        BONUSESANDCOMMISSIONS
      • LUMPSUME

        public static final EarningsType LUMPSUME
        LUMPSUME
    • Method Detail

      • values

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

        public static EarningsType 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
      • getValue

        public String getValue()
        Returns:
        String value
      • fromValue

        public static EarningsType fromValue​(String value)
        fromValue
        Parameters:
        value - String