com.deltalearn.rte.webservice.data
Enum InteractionTypeEnum

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

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

Constants describing possible interaction types.

Version:
0.1

Enum Constant Summary
FILL_IN
          A fill-in question.
LIKERT
          Like RT question.
LONG_FILL_IN
          A long fill-in question.
MATCHING
          Matching question.
MULTIPLE_CHOICE
          A multiple choice question.
NUMERIC
          Numeric question.
OTHER
          Other type of interaction.
PERFORMANCE
          Performance question.
SEQUENCING
          Sequencing question.
TRUE_FALSE
          A true or false question.
 
Method Summary
static InteractionTypeEnum fromString(java.lang.String string)
          Returns an enum object from one of the following strings: true-false, choice, fill-in, long-fill-in, likert, matching, performance, sequencing, numeric or other.
 java.lang.String toString()
           
static InteractionTypeEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InteractionTypeEnum[] 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

TRUE_FALSE

public static final InteractionTypeEnum TRUE_FALSE
A true or false question.


MULTIPLE_CHOICE

public static final InteractionTypeEnum MULTIPLE_CHOICE
A multiple choice question.


FILL_IN

public static final InteractionTypeEnum FILL_IN
A fill-in question.


LONG_FILL_IN

public static final InteractionTypeEnum LONG_FILL_IN
A long fill-in question.


LIKERT

public static final InteractionTypeEnum LIKERT
Like RT question.


MATCHING

public static final InteractionTypeEnum MATCHING
Matching question.


PERFORMANCE

public static final InteractionTypeEnum PERFORMANCE
Performance question.


SEQUENCING

public static final InteractionTypeEnum SEQUENCING
Sequencing question.


NUMERIC

public static final InteractionTypeEnum NUMERIC
Numeric question.


OTHER

public static final InteractionTypeEnum OTHER
Other type of interaction.

Method Detail

values

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

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

valueOf

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

fromString

public static InteractionTypeEnum fromString(java.lang.String string)
Returns an enum object from one of the following strings: true-false, choice, fill-in, long-fill-in, likert, matching, performance, sequencing, numeric or other.