public static enum Room.Type extends Enum<Room.Type>
Enum Constant and Description |
---|
conference |
interview |
restricted |
Modifier and Type | Method and Description |
---|---|
static Room.Type |
get(int type) |
static Room.Type |
get(Integer type) |
static Room.Type |
get(Long type) |
int |
getId() |
static Room.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Room.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Room.Type conference
public static final Room.Type restricted
public static final Room.Type interview
public static Room.Type[] values()
for (Room.Type c : Room.Type.values()) System.out.println(c);
public static Room.Type 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 int getId()
public static Room.Type get(int type)
Copyright © 2012–2016 Apache Software Foundation. All rights reserved.