Package com.xero.models.payrolluk
Enum PayRunCalendar.CalendarTypeEnum
- java.lang.Object
-
- java.lang.Enum<PayRunCalendar.CalendarTypeEnum>
-
- com.xero.models.payrolluk.PayRunCalendar.CalendarTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PayRunCalendar.CalendarTypeEnum>
- Enclosing class:
- PayRunCalendar
public static enum PayRunCalendar.CalendarTypeEnum extends Enum<PayRunCalendar.CalendarTypeEnum>
Type of the calendar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNUALANNUALFORTNIGHTLYFORTNIGHTLYFOURWEEKLYFOURWEEKLYMONTHLYMONTHLYQUARTERLYQUARTERLYWEEKLYWEEKLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PayRunCalendar.CalendarTypeEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic PayRunCalendar.CalendarTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PayRunCalendar.CalendarTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WEEKLY
public static final PayRunCalendar.CalendarTypeEnum WEEKLY
WEEKLY
-
FORTNIGHTLY
public static final PayRunCalendar.CalendarTypeEnum FORTNIGHTLY
FORTNIGHTLY
-
FOURWEEKLY
public static final PayRunCalendar.CalendarTypeEnum FOURWEEKLY
FOURWEEKLY
-
MONTHLY
public static final PayRunCalendar.CalendarTypeEnum MONTHLY
MONTHLY
-
ANNUAL
public static final PayRunCalendar.CalendarTypeEnum ANNUAL
ANNUAL
-
QUARTERLY
public static final PayRunCalendar.CalendarTypeEnum QUARTERLY
QUARTERLY
-
-
Method Detail
-
values
public static PayRunCalendar.CalendarTypeEnum[] 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 (PayRunCalendar.CalendarTypeEnum c : PayRunCalendar.CalendarTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PayRunCalendar.CalendarTypeEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
getValue- Returns:
- String value
-
toString
public String toString()
toString- Overrides:
toStringin classEnum<PayRunCalendar.CalendarTypeEnum>- Returns:
- String value
-
fromValue
public static PayRunCalendar.CalendarTypeEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-