public enum LodgingItemType extends Enum<LodgingItemType>
| Enum Constant and Description |
|---|
GIFT_SHOP |
LAUNDRY |
MINI_BAR |
NO_SHOW |
OTHER |
PHONE |
RESTAURANT |
| Modifier and Type | Method and Description |
|---|---|
static LodgingItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LodgingItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LodgingItemType RESTAURANT
public static final LodgingItemType GIFT_SHOP
public static final LodgingItemType MINI_BAR
public static final LodgingItemType PHONE
public static final LodgingItemType LAUNDRY
public static final LodgingItemType OTHER
public static final LodgingItemType NO_SHOW
public static LodgingItemType[] values()
for (LodgingItemType c : LodgingItemType.values()) System.out.println(c);
public static LodgingItemType 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 nullCopyright © 2024. All rights reserved.