com.deltalearn.rte.webservice.data
Enum SuccessStatusEnum

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

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

Constants describing possible sucess status.

Version:
0.1

Enum Constant Summary
NOT_SATISFIED
          The not satisfied success status.
SATISFIED
          The satisfied success status.
UNKNOWN
          The unknown success status.
 
Method Summary
static SuccessStatusEnum fromString(java.lang.String string)
          Returns an enum object from one of the following strings: satisfied, not_satisfied, or unknown.
 java.lang.String toString()
           
static SuccessStatusEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SuccessStatusEnum[] 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

SATISFIED

public static final SuccessStatusEnum SATISFIED
The satisfied success status.


NOT_SATISFIED

public static final SuccessStatusEnum NOT_SATISFIED
The not satisfied success status.


UNKNOWN

public static final SuccessStatusEnum UNKNOWN
The unknown success status.

Method Detail

values

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

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

valueOf

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

fromString

public static SuccessStatusEnum fromString(java.lang.String string)
Returns an enum object from one of the following strings: satisfied, not_satisfied, or unknown.