com.genesyslab.ail.event
Class DnEvent.EventReason

java.lang.Object
  extended by com.genesyslab.ail.Enum
      extended by com.genesyslab.ail.event.DnEvent.EventReason
Enclosing interface:
DnEvent

public static class DnEvent.EventReason
extends Enum

Enum for the event reasons.


Field Summary
static DnEvent.EventReason INFO_CHANGED
          Some information about the DN has changed.
static int INFO_CHANGED_
          Some information about the DN has changed.
static DnEvent.EventReason INIT
          The listener has been added.
static int INIT_
          The listener has been added.
static DnEvent.EventReason LOGGED_IN
          This event is generated because the DN was logged in.
static int LOGGED_IN_
          This event is generated because the DN was logged in.
static int MAX
          The maximum number of event reasons.
static DnEvent.EventReason STATUS_CHANGED
          The status of the DN has changed.
static int STATUS_CHANGED_
          The status of the DN has changed.
static DnEvent.EventReason USER_EVENT
          This event is actually a user event.
static int USER_EVENT_
          This event is actually a user event.
 
Fields inherited from class com.genesyslab.ail.Enum
CONSTANTS_RANGE
 
Method Summary
static DnEvent.EventReason getEventReason(int value)
          Returns the EventReason for this value.
static int max()
          The maximum number of event reasons.
 
Methods inherited from class com.genesyslab.ail.Enum
equals, hashCode, toInt, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INIT_

public static final int INIT_
The listener has been added.

See Also:
Constant Field Values

INIT

public static final DnEvent.EventReason INIT
The listener has been added.


STATUS_CHANGED_

public static final int STATUS_CHANGED_
The status of the DN has changed.

See Also:
Constant Field Values

STATUS_CHANGED

public static final DnEvent.EventReason STATUS_CHANGED
The status of the DN has changed.


INFO_CHANGED_

public static final int INFO_CHANGED_
Some information about the DN has changed.

See Also:
Constant Field Values

INFO_CHANGED

public static final DnEvent.EventReason INFO_CHANGED
Some information about the DN has changed.


USER_EVENT_

public static final int USER_EVENT_
This event is actually a user event.
To retrieve data of the user event, cast it to a DnUserEvent.

See Also:
Constant Field Values

USER_EVENT

public static final DnEvent.EventReason USER_EVENT
This event is actually a user event.
To retrieve data of the user event, cast it to a DnUserEvent.


LOGGED_IN_

public static final int LOGGED_IN_
This event is generated because the DN was logged in.

See Also:
Constant Field Values

LOGGED_IN

public static final DnEvent.EventReason LOGGED_IN
This event is generated because the DN was logged in.


MAX

public static final int MAX
The maximum number of event reasons.

See Also:
Constant Field Values
Method Detail

max

public static final int max()
The maximum number of event reasons.


getEventReason

public static final DnEvent.EventReason getEventReason(int value)
Returns the EventReason for this value.