org.eclipse.jst.j2ee.ejb
Class ReturnTypeMapping

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

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

Since:
1.0
See Also:
Serialized Form

Field Summary
static int LOCAL
           
static ReturnTypeMapping LOCAL_LITERAL
          The 'Local' literal object
static int REMOTE
           
static ReturnTypeMapping REMOTE_LITERAL
          The 'Remote' literal object
static java.util.List VALUES
          A public read-only list of all the 'Return Type Mapping' enumerators
 
Method Summary
static ReturnTypeMapping get(int value)
          Returns the 'Return Type Mapping' literal with the specified integer value
static ReturnTypeMapping get(java.lang.String literal)
          Returns the 'Return Type Mapping' literal with the specified literal value
static ReturnTypeMapping getByName(java.lang.String name)
          Returns the 'Return Type Mapping' 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

LOCAL

public static final int LOCAL
See Also:
Constant Field Values

REMOTE

public static final int REMOTE
See Also:
Constant Field Values

LOCAL_LITERAL

public static final ReturnTypeMapping LOCAL_LITERAL
The 'Local' literal object.

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

See Also:
LOCAL

REMOTE_LITERAL

public static final ReturnTypeMapping REMOTE_LITERAL
The 'Remote' literal object.

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

See Also:
REMOTE

VALUES

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

Method Detail

get

public static ReturnTypeMapping get(java.lang.String literal)
Returns the 'Return Type Mapping' literal with the specified literal value.

Parameters:
name - passes literal name
Returns:
literal instance

getByName

public static ReturnTypeMapping getByName(java.lang.String name)
Returns the 'Return Type Mapping' literal with the specified name.


get

public static ReturnTypeMapping get(int value)
Returns the 'Return Type Mapping' literal with the specified integer value.

Parameters:
value - passes literal value
Returns:
literal instance