com.ibm.websphere.models.extensions.eventsejbext
Class EventTime

java.lang.Object
  extended by org.eclipse.emf.common.util.AbstractEnumerator
      extended by com.ibm.websphere.models.extensions.eventsejbext.EventTime
All Implemented Interfaces:
org.eclipse.emf.common.util.Enumerator

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

A representation of the literals of the enumeration 'Event Time', and utility methods for working with them. Specifies when the event should be fired.

See Also:
EventsejbextPackage.getEventTime()

Field Summary
static int AFTER
          The 'AFTER' literal value
static EventTime AFTER_LITERAL
          The 'AFTER' literal object
static int BEFORE
          The 'BEFORE' literal value
static EventTime BEFORE_LITERAL
          The 'BEFORE' literal object
static java.util.List VALUES
          A public read-only list of all the 'Event Time' enumerators
 
Method Summary
static EventTime get(int value)
          Returns the 'Event Time' literal with the specified integer value
static EventTime get(java.lang.String literal)
          Returns the 'Event Time' literal with the specified literal value
static EventTime getByName(java.lang.String name)
          Returns the 'Event Time' 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BEFORE

public static final int BEFORE
The 'BEFORE' literal value. Event is created before the method call

See Also:
BEFORE_LITERAL, Constant Field Values

AFTER

public static final int AFTER
The 'AFTER' literal value. Event is created after the method call

See Also:
AFTER_LITERAL, Constant Field Values

BEFORE_LITERAL

public static final EventTime BEFORE_LITERAL
The 'BEFORE' literal object.

See Also:
BEFORE

AFTER_LITERAL

public static final EventTime AFTER_LITERAL
The 'AFTER' literal object.

See Also:
AFTER

VALUES

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

Method Detail

get

public static EventTime get(java.lang.String literal)
Returns the 'Event Time' literal with the specified literal value.


getByName

public static EventTime getByName(java.lang.String name)
Returns the 'Event Time' literal with the specified name.


get

public static EventTime get(int value)
Returns the 'Event Time' literal with the specified integer value.