org.ow2.orchestra.ws_ht.api
Enum TStatus

java.lang.Object
  extended by java.lang.Enum<TStatus>
      extended by org.ow2.orchestra.ws_ht.api.TStatus
All Implemented Interfaces:
Serializable, Comparable<TStatus>

public enum TStatus
extends Enum<TStatus>

Java class for tStatus.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="tStatus">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CREATED"/>
     <enumeration value="READY"/>
     <enumeration value="RESERVED"/>
     <enumeration value="IN_PROGRESS"/>
     <enumeration value="SUSPENDED"/>
     <enumeration value="COMPLETED"/>
     <enumeration value="FAILED"/>
     <enumeration value="ERROR"/>
     <enumeration value="EXITED"/>
     <enumeration value="OBSOLETE"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
COMPLETED
           
CREATED
           
ERROR
           
EXITED
           
FAILED
           
IN_PROGRESS
           
OBSOLETE
           
READY
           
RESERVED
           
SUSPENDED
           
 
Method Summary
static TStatus fromValue(String v)
           
 String value()
           
static TStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TStatus[] 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

CREATED

public static final TStatus CREATED

READY

public static final TStatus READY

RESERVED

public static final TStatus RESERVED

IN_PROGRESS

public static final TStatus IN_PROGRESS

SUSPENDED

public static final TStatus SUSPENDED

COMPLETED

public static final TStatus COMPLETED

FAILED

public static final TStatus FAILED

ERROR

public static final TStatus ERROR

EXITED

public static final TStatus EXITED

OBSOLETE

public static final TStatus OBSOLETE
Method Detail

values

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

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

valueOf

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

value

public String value()

fromValue

public static TStatus fromValue(String v)


Copyright © 2012 OW2 Consortium. All Rights Reserved.