public static enum FacebookEvent.RSVPStatus extends java.lang.Enum<FacebookEvent.RSVPStatus>
Enum Constant and Description |
---|
ATTENDING
user is attending to the event
|
DECLINED
user has declined the invitation
|
NOT_REPLIED
user has not replied to the invitation
|
UNSURE
user has nor decided
|
Modifier and Type | Method and Description |
---|---|
static FacebookEvent.RSVPStatus |
fromRSVPStatusString(java.lang.String statusString) |
java.lang.String |
toRSVPStatusString() |
static FacebookEvent.RSVPStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacebookEvent.RSVPStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacebookEvent.RSVPStatus NOT_REPLIED
public static final FacebookEvent.RSVPStatus UNSURE
public static final FacebookEvent.RSVPStatus ATTENDING
public static final FacebookEvent.RSVPStatus DECLINED
public static FacebookEvent.RSVPStatus[] values()
for (FacebookEvent.RSVPStatus c : FacebookEvent.RSVPStatus.values()) System.out.println(c);
public static FacebookEvent.RSVPStatus 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 toRSVPStatusString()
public static FacebookEvent.RSVPStatus fromRSVPStatusString(java.lang.String statusString)
statusString
- Copyright © 2015 Tampere University of Technology, Pori Department.