org.eclipse.jst.j2ee.ejb
Class SessionType

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by org.eclipse.jst.j2ee.ejb.SessionType
All Implemented Interfaces:
java.io.Serializable, org.eclipse.emf.common.util.Enumerator

public final class SessionType
extends org.eclipse.emf.common.util.AbstractEnumerator

Since:
1.0
See Also:
Serialized Form

Field Summary
static int STATEFUL
           
static SessionType STATEFUL_LITERAL
          The 'Stateful' literal object
static int STATELESS
           
static SessionType STATELESS_LITERAL
          The 'Stateless' literal object
static java.util.List VALUES
          A public read-only list of all the 'Session Type' enumerators
 
Method Summary
static SessionType get(int value)
          Returns the 'Session Type' literal with the specified integer value
static SessionType get(java.lang.String literal)
          Returns the 'Session Type' literal with the specified literal value
static SessionType getByName(java.lang.String name)
          Returns the 'Session Type' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATEFUL

public static final int STATEFUL
See Also:
Constant Field Values

STATELESS

public static final int STATELESS
See Also:
Constant Field Values

STATEFUL_LITERAL

public static final SessionType STATEFUL_LITERAL
The 'Stateful' literal object.

If the meaning of 'Stateful' literal object isn't clear, there really should be more of a description here...

See Also:
STATEFUL

STATELESS_LITERAL

public static final SessionType STATELESS_LITERAL
The 'Stateless' literal object.

If the meaning of 'Stateless' literal object isn't clear, there really should be more of a description here...

See Also:
STATELESS

VALUES

public static final java.util.List VALUES
A public read-only list of all the 'Session Type' enumerators.

Method Detail

get

public static SessionType get(java.lang.String literal)
Returns the 'Session Type' literal with the specified literal value.

Parameters:
name - passes literal name
Returns:
literal instance

getByName

public static SessionType getByName(java.lang.String name)
Returns the 'Session Type' literal with the specified name.


get

public static SessionType get(int value)
Returns the 'Session Type' literal with the specified integer value.

Parameters:
value - passes literal value
Returns:
literal instance