public static enum Event.AttendanceStatus extends Enum<Event.AttendanceStatus>
attend
operation.Enum Constant and Description |
---|
ATTENDING |
MAYBE_ATTENDING |
NOT_ATTENDING |
Modifier and Type | Field and Description |
---|---|
private int |
id |
Modifier and Type | Method and Description |
---|---|
static Event.AttendanceStatus |
getByID(int statusId) |
int |
getId() |
static Event.AttendanceStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.AttendanceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.AttendanceStatus ATTENDING
public static final Event.AttendanceStatus MAYBE_ATTENDING
public static final Event.AttendanceStatus NOT_ATTENDING
private int id
public static Event.AttendanceStatus[] values()
for (Event.AttendanceStatus c : Event.AttendanceStatus.values()) System.out.println(c);
public static Event.AttendanceStatus 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 Event.AttendanceStatus getByID(int statusId)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses