com.deltalearn.rte.webservice.data
Enum InteractionResultEnum

java.lang.Object
  extended by java.lang.Enum<InteractionResultEnum>
      extended by com.deltalearn.rte.webservice.data.InteractionResultEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InteractionResultEnum>

public enum InteractionResultEnum
extends java.lang.Enum<InteractionResultEnum>
implements java.io.Serializable

Constants describing possible interaction results.

Version:
0.1

Enum Constant Summary
CORRECT
          The interaction was correct.
INCORRECT
          The interaction was incorrect.
NEUTRAL
          The interaction was neutral.
UNANTICIPATED
          The interaction was unanticipated.
 
Method Summary
static InteractionResultEnum fromString(java.lang.String string)
          Returns an enum object from one of the following strings: correct, incorrect, unanticipated or neutral.
 java.lang.String toString()
           
static InteractionResultEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InteractionResultEnum[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CORRECT

public static final InteractionResultEnum CORRECT
The interaction was correct.


INCORRECT

public static final InteractionResultEnum INCORRECT
The interaction was incorrect.


UNANTICIPATED

public static final InteractionResultEnum UNANTICIPATED
The interaction was unanticipated.


NEUTRAL

public static final InteractionResultEnum NEUTRAL
The interaction was neutral.

Method Detail

values

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

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

valueOf

public static InteractionResultEnum 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<InteractionResultEnum>

fromString

public static InteractionResultEnum fromString(java.lang.String string)
Returns an enum object from one of the following strings: correct, incorrect, unanticipated or neutral.