org.ikasan.framework.systemevent.model
Class SystemEvent

java.lang.Object
  extended by org.ikasan.framework.systemevent.model.SystemEvent

public class SystemEvent
extends Object

Simple JavaBean encapsulating system event information Simply binds information about an action (can be anything) taken on a subject (again anything) at a given time, by a given actor

Author:
Ikasan Development Team

Constructor Summary
SystemEvent(String subject, String action, Date timestamp, String actor, Date expiry)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 String getAction()
          Accessor for action
 String getActor()
          Accessor for actor
 Date getExpiry()
          Accessor for expiry
 Long getId()
          Accessor for id
 String getSubject()
          Accessor for subject
 Date getTimestamp()
          Accessor for timestamp
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemEvent

public SystemEvent(String subject,
                   String action,
                   Date timestamp,
                   String actor,
                   Date expiry)
Constructor

Parameters:
subject -
action -
timestamp -
actor -
expiry -
Method Detail

equals

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

getAction

public String getAction()
Accessor for action

Returns:
action

getActor

public String getActor()
Accessor for actor

Returns:
actor

getId

public Long getId()
Accessor for id

Returns:
id

getSubject

public String getSubject()
Accessor for subject

Returns:
subject

getTimestamp

public Date getTimestamp()
Accessor for timestamp

Returns:
timestamp

getExpiry

public Date getExpiry()
Accessor for expiry

Returns:
expiry

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2007-2012 Ikasan. All Rights Reserved.