org.eclipse.jst.j2ee.common
Class EjbRefType

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

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

See Also:
Serialized Form

Field Summary
static int ENTITY
           
static EjbRefType ENTITY_LITERAL
          The 'Entity' literal object
static int SESSION
           
static EjbRefType SESSION_LITERAL
          The 'Session' literal object
static java.util.List VALUES
          A public read-only list of all the 'Ejb Ref Type' enumerators
 
Method Summary
static EjbRefType get(int value)
          Returns the 'Ejb Ref Type' literal with the specified integer value
static EjbRefType get(java.lang.String literal)
          Returns the 'Ejb Ref Type' literal with the specified literal value
static EjbRefType getByName(java.lang.String name)
          Returns the 'Ejb Ref 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

SESSION

public static final int SESSION
See Also:
Constant Field Values

ENTITY

public static final int ENTITY
See Also:
Constant Field Values

SESSION_LITERAL

public static final EjbRefType SESSION_LITERAL
The 'Session' literal object.

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

See Also:
SESSION

ENTITY_LITERAL

public static final EjbRefType ENTITY_LITERAL
The 'Entity' literal object.

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

See Also:
ENTITY

VALUES

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

Method Detail

get

public static EjbRefType get(java.lang.String literal)
Returns the 'Ejb Ref Type' literal with the specified literal value.

Parameters:
name - passes literal name
Returns:
literal instance

getByName

public static EjbRefType getByName(java.lang.String name)
Returns the 'Ejb Ref Type' literal with the specified name.


get

public static EjbRefType get(int value)
Returns the 'Ejb Ref Type' literal with the specified integer value.

Parameters:
value - passes literal value
Returns:
literal instance