org.caleigo.core.event
Class EntityEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.caleigo.core.event.EntityEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EntityChangeEvent

public class EntityEvent
extends java.util.EventObject

Event for relaying notifications of performed operations in IEntity objects.

Version:
1.00
Author:
Dennis Zikovic
See Also:
Serialized Form

Field Summary
static int DATA_CHANGED
           
static int DELETED
           
static int REFRESHED
           
static int STATUS_CHANGED
           
static int STORED
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EntityEvent(IEntity sourceEntity, int eventType)
          Creates new EntityCollectionEvent
 
Method Summary
 int getEventType()
           
 IEntity getSourceEntity()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STORED

public static final int STORED
See Also:
Constant Field Values

DELETED

public static final int DELETED
See Also:
Constant Field Values

REFRESHED

public static final int REFRESHED
See Also:
Constant Field Values

DATA_CHANGED

public static final int DATA_CHANGED
See Also:
Constant Field Values

STATUS_CHANGED

public static final int STATUS_CHANGED
See Also:
Constant Field Values
Constructor Detail

EntityEvent

public EntityEvent(IEntity sourceEntity,
                   int eventType)
Creates new EntityCollectionEvent

Method Detail

toString

public java.lang.String toString()

getSourceEntity

public IEntity getSourceEntity()

getEventType

public int getEventType()


Copyright © 2005 Caleigo. All Rights Reserved.