org.activemath.events.tags
Enum UserFeedbackEventTag.FeedbackType

java.lang.Object
  extended by java.lang.Enum<UserFeedbackEventTag.FeedbackType>
      extended by org.activemath.events.tags.UserFeedbackEventTag.FeedbackType
All Implemented Interfaces:
Serializable, Comparable<UserFeedbackEventTag.FeedbackType>
Enclosing interface:
UserFeedbackEventTag

public static enum UserFeedbackEventTag.FeedbackType
extends Enum<UserFeedbackEventTag.FeedbackType>


Enum Constant Summary
DISLIKE
           
LIKE
           
UNDISLIKE
           
UNLIKE
           
 
Method Summary
static UserFeedbackEventTag.FeedbackType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UserFeedbackEventTag.FeedbackType[] 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

LIKE

public static final UserFeedbackEventTag.FeedbackType LIKE

DISLIKE

public static final UserFeedbackEventTag.FeedbackType DISLIKE

UNLIKE

public static final UserFeedbackEventTag.FeedbackType UNLIKE

UNDISLIKE

public static final UserFeedbackEventTag.FeedbackType UNDISLIKE
Method Detail

values

public static UserFeedbackEventTag.FeedbackType[] 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 (UserFeedbackEventTag.FeedbackType c : UserFeedbackEventTag.FeedbackType.values())
    System.out.println(c);

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

valueOf

public static UserFeedbackEventTag.FeedbackType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null