com.genesyslab.openmedia.soa
Class ServiceStatus

java.lang.Object
  extended bycom.genesyslab.openmedia.soa.ServiceStatus
All Implemented Interfaces:
java.io.Serializable

public class ServiceStatus
extends java.lang.Object
implements java.io.Serializable

Enumerates the possible statuses of service connections.

See Also:
Serialized Form

Field Summary
static java.lang.String _off
          Indicates that the service is disconnected from the server.
static java.lang.String _off_connecting
          Indicates that the service is attempting to connect the server.
static java.lang.String _on
          Indicates that the service is connected to the server and that it is working properly.
protected static java.util.HashMap _table_
           
protected  java.lang.String _value_
           
static ServiceStatus off
           
static ServiceStatus off_connecting
           
static ServiceStatus on
           
 
Constructor Summary
protected ServiceStatus(java.lang.String value)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static ServiceStatus fromString(java.lang.String value)
           
static ServiceStatus fromValue(java.lang.String value)
           
 java.lang.String getValue()
           
 int hashCode()
           
 java.lang.Object readResolve()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_value_

protected java.lang.String _value_

_table_

protected static java.util.HashMap _table_

_off

public static final java.lang.String _off
Indicates that the service is disconnected from the server.

See Also:
Constant Field Values

_off_connecting

public static final java.lang.String _off_connecting
Indicates that the service is attempting to connect the server.

See Also:
Constant Field Values

_on

public static final java.lang.String _on
Indicates that the service is connected to the server and that it is working properly.

See Also:
Constant Field Values

off

public static final ServiceStatus off

off_connecting

public static final ServiceStatus off_connecting

on

public static final ServiceStatus on
Constructor Detail

ServiceStatus

protected ServiceStatus(java.lang.String value)
Method Detail

getValue

public java.lang.String getValue()

fromValue

public static ServiceStatus fromValue(java.lang.String value)
                               throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

fromString

public static ServiceStatus fromString(java.lang.String value)
                                throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Throws:
java.io.ObjectStreamException