net.roarsoftware.lastfm
Enum Event.AttendanceStatus

java.lang.Object
  extended by java.lang.Enum<Event.AttendanceStatus>
      extended by net.roarsoftware.lastfm.Event.AttendanceStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Event.AttendanceStatus>
Enclosing class:
Event

public static enum Event.AttendanceStatus
extends java.lang.Enum<Event.AttendanceStatus>

Enumeration for the attendance status parameter of the attend operation.


Enum Constant Summary
ATTENDING
           
MAYBE_ATTENDING
           
NOT_ATTENDING
           
 
Method Summary
 int getId()
           
static Event.AttendanceStatus valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ATTENDING

public static final Event.AttendanceStatus ATTENDING

MAYBE_ATTENDING

public static final Event.AttendanceStatus MAYBE_ATTENDING

NOT_ATTENDING

public static final Event.AttendanceStatus NOT_ATTENDING
Method Detail

values

public static Event.AttendanceStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Event.AttendanceStatus c : Event.AttendanceStatus.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Event.AttendanceStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()