public enum EntertainmentType extends java.lang.Enum<EntertainmentType> implements LineItemTypeDescription
| Enum Constant and Description |
|---|
BeveragesAndRefreshments |
ClientMeal |
EmployeeMeal |
EmployeeRecreation |
LightMeals |
SocialEventOrParty |
Standard |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
code() |
java.lang.String |
description() |
static EntertainmentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntertainmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntertainmentType Standard
public static final EntertainmentType BeveragesAndRefreshments
public static final EntertainmentType LightMeals
public static final EntertainmentType EmployeeRecreation
public static final EntertainmentType EmployeeMeal
public static final EntertainmentType ClientMeal
public static final EntertainmentType SocialEventOrParty
public static EntertainmentType[] values()
for (EntertainmentType c : EntertainmentType.values()) System.out.println(c);
public static EntertainmentType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String code()
code in interface LineItemTypeDescriptionpublic java.lang.String description()
description in interface LineItemTypeDescription