public enum EarningsType extends Enum<EarningsType>
| Enum Constant and Description |
|---|
ALLOWANCE |
EMPLOYMENTTERMINATIONPAYMENT |
FIXED |
LUMPSUMA |
LUMPSUMB |
LUMPSUMD |
ORDINARYTIMEEARNINGS |
OVERTIMEEARNINGS |
| Modifier and Type | Method and Description |
|---|---|
static EarningsType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static EarningsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EarningsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EarningsType FIXED
public static final EarningsType ORDINARYTIMEEARNINGS
public static final EarningsType OVERTIMEEARNINGS
public static final EarningsType ALLOWANCE
public static final EarningsType LUMPSUMD
public static final EarningsType EMPLOYMENTTERMINATIONPAYMENT
public static final EarningsType LUMPSUMA
public static final EarningsType LUMPSUMB
public static EarningsType[] values()
for (EarningsType c : EarningsType.values()) System.out.println(c);
public static EarningsType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<EarningsType>public static EarningsType fromValue(String value)
Copyright © 2020. All rights reserved.