org.exolab.jmscts.core.types
Class SessionType

java.lang.Object
  |
  +--org.exolab.jmscts.core.types.SessionType
All Implemented Interfaces:
java.io.Serializable

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

Class SessionType.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static SessionType AUTO_ACKNOWLEDGE
          The instance of the AUTO_ACKNOWLEDGE type
static int AUTO_ACKNOWLEDGE_TYPE
          The AUTO_ACKNOWLEDGE type
static SessionType CLIENT_ACKNOWLEDGE
          The instance of the CLIENT_ACKNOWLEDGE type
static int CLIENT_ACKNOWLEDGE_TYPE
          The CLIENT_ACKNOWLEDGE type
static SessionType DUPS_OK_ACKNOWLEDGE
          The instance of the DUPS_OK_ACKNOWLEDGE type
static int DUPS_OK_ACKNOWLEDGE_TYPE
          The DUPS_OK_ACKNOWLEDGE type
static SessionType TRANSACTED
          The instance of the TRANSACTED type
static int TRANSACTED_TYPE
          The TRANSACTED type
 
Method Summary
static java.util.Enumeration enumerate()
          Method enumerateReturns an enumeration of all possible instances of SessionType
 int getType()
          Method getTypeReturns the type of this SessionType
 java.lang.String toString()
          Method toStringReturns the String representation of this SessionType
static SessionType valueOf(java.lang.String string)
          Method valueOfReturns a new SessionType based on the given String value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TRANSACTED_TYPE

public static final int TRANSACTED_TYPE
The TRANSACTED type

TRANSACTED

public static final SessionType TRANSACTED
The instance of the TRANSACTED type

CLIENT_ACKNOWLEDGE_TYPE

public static final int CLIENT_ACKNOWLEDGE_TYPE
The CLIENT_ACKNOWLEDGE type

CLIENT_ACKNOWLEDGE

public static final SessionType CLIENT_ACKNOWLEDGE
The instance of the CLIENT_ACKNOWLEDGE type

DUPS_OK_ACKNOWLEDGE_TYPE

public static final int DUPS_OK_ACKNOWLEDGE_TYPE
The DUPS_OK_ACKNOWLEDGE type

DUPS_OK_ACKNOWLEDGE

public static final SessionType DUPS_OK_ACKNOWLEDGE
The instance of the DUPS_OK_ACKNOWLEDGE type

AUTO_ACKNOWLEDGE_TYPE

public static final int AUTO_ACKNOWLEDGE_TYPE
The AUTO_ACKNOWLEDGE type

AUTO_ACKNOWLEDGE

public static final SessionType AUTO_ACKNOWLEDGE
The instance of the AUTO_ACKNOWLEDGE type
Method Detail

enumerate

public static java.util.Enumeration enumerate()
Method enumerateReturns an enumeration of all possible instances of SessionType

getType

public int getType()
Method getTypeReturns the type of this SessionType

toString

public java.lang.String toString()
Method toStringReturns the String representation of this SessionType
Overrides:
toString in class java.lang.Object

valueOf

public static SessionType valueOf(java.lang.String string)
Method valueOfReturns a new SessionType based on the given String value.
Parameters:
string -  


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.