Package com.xero.models.payrolluk
Enum PayRun.CalendarTypeEnum
- java.lang.Object
-
- java.lang.Enum<PayRun.CalendarTypeEnum>
-
- com.xero.models.payrolluk.PayRun.CalendarTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PayRun.CalendarTypeEnum>
- Enclosing class:
- PayRun
public static enum PayRun.CalendarTypeEnum extends Enum<PayRun.CalendarTypeEnum>
Calendar type of the pay run
-
-
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 PayRun.CalendarTypeEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic PayRun.CalendarTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PayRun.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 PayRun.CalendarTypeEnum WEEKLY
WEEKLY
-
FORTNIGHTLY
public static final PayRun.CalendarTypeEnum FORTNIGHTLY
FORTNIGHTLY
-
FOURWEEKLY
public static final PayRun.CalendarTypeEnum FOURWEEKLY
FOURWEEKLY
-
MONTHLY
public static final PayRun.CalendarTypeEnum MONTHLY
MONTHLY
-
ANNUAL
public static final PayRun.CalendarTypeEnum ANNUAL
ANNUAL
-
QUARTERLY
public static final PayRun.CalendarTypeEnum QUARTERLY
QUARTERLY
-
-
Method Detail
-
values
public static PayRun.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 (PayRun.CalendarTypeEnum c : PayRun.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 PayRun.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<PayRun.CalendarTypeEnum>- Returns:
- String value
-
fromValue
public static PayRun.CalendarTypeEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-