org.eclipse.jst.j2ee.ejb
Class DestinationType

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

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

Since:
1.0
See Also:
Serialized Form

Field Summary
static int QUEUE
           
static DestinationType QUEUE_LITERAL
          The 'Queue' literal object
static int TOPIC
           
static DestinationType TOPIC_LITERAL
          The 'Topic' literal object
static java.util.List VALUES
          A public read-only list of all the 'Destination Type' enumerators
 
Method Summary
static DestinationType get(int value)
          Returns the 'Destination Type' literal with the specified integer value
static DestinationType get(java.lang.String literal)
          Returns the 'Destination Type' literal with the specified literal value
static DestinationType getByName(java.lang.String name)
          Returns the 'Destination 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

QUEUE

public static final int QUEUE
See Also:
Constant Field Values

TOPIC

public static final int TOPIC
See Also:
Constant Field Values

QUEUE_LITERAL

public static final DestinationType QUEUE_LITERAL
The 'Queue' literal object.

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

See Also:
QUEUE

TOPIC_LITERAL

public static final DestinationType TOPIC_LITERAL
The 'Topic' literal object.

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

See Also:
TOPIC

VALUES

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

Method Detail

get

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

Parameters:
name - passes literal name
Returns:
literal instance

getByName

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


get

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

Parameters:
value - passes literal value
Returns:
literal instance