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