com.deltalearn.rte.webservice.data
Enum CompletionStatusEnum

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

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

Constants describing possible completion status.

Version:
0.1

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

COMPLETED

public static final CompletionStatusEnum COMPLETED
The completed status.


INCOMPLETE

public static final CompletionStatusEnum INCOMPLETE
The incomplete status.


UNKNOWN

public static final CompletionStatusEnum UNKNOWN
The unknown status.

Method Detail

values

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

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

valueOf

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

fromString

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


toString

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