org.entityfs.event
Class EntityModifiedEvent

java.lang.Object
  extended by org.entityfs.event.AbstractEntityEvent<EntityModifiedEvent>
      extended by org.entityfs.event.EntityModifiedEvent
All Implemented Interfaces:
EntityEvent<EntityModifiedEvent>

public final class EntityModifiedEvent
extends AbstractEntityEvent<EntityModifiedEvent>

This event is sent by an entity or entity view when the viewed entity has been modified in a way that updated its last modification time.

Since:
1.0
Author:
Karl Gustafsson
See Also:
EntityView.getLastModified()

Constructor Summary
EntityModifiedEvent(EntityView sender)
           
 
Method Summary
 EntityModifiedEvent copy(EntityView sender)
          Copy this event, but set the given entity view as sender.
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class org.entityfs.event.AbstractEntityEvent
getSender, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityModifiedEvent

public EntityModifiedEvent(EntityView sender)
Method Detail

copy

public EntityModifiedEvent copy(EntityView sender)
Description copied from interface: EntityEvent
Copy this event, but set the given entity view as sender. This is used by views to send events to their listeners.

Parameters:
sender - The entity view to set as sender.
Returns:
An EntityEvent of the same type, but with a new sender.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object