public enum AllowanceType extends Enum<AllowanceType>
| Enum Constant and Description |
|---|
CAR |
JOBKEEPER |
LAUNDRY |
MEALS |
OTHER |
TRANSPORT |
TRAVEL |
| Modifier and Type | Method and Description |
|---|---|
static AllowanceType |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static AllowanceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllowanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowanceType CAR
public static final AllowanceType TRANSPORT
public static final AllowanceType TRAVEL
public static final AllowanceType LAUNDRY
public static final AllowanceType MEALS
public static final AllowanceType JOBKEEPER
public static final AllowanceType OTHER
public static AllowanceType[] values()
for (AllowanceType c : AllowanceType.values()) System.out.println(c);
public static AllowanceType 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<AllowanceType>public static AllowanceType fromValue(String value)
Copyright © 2020. All rights reserved.