org.opennms.netmgt.poller.pollables
Class DbPollEvent

java.lang.Object
  extended by org.opennms.netmgt.poller.pollables.PollEvent
      extended by org.opennms.netmgt.poller.pollables.DbPollEvent

public class DbPollEvent
extends PollEvent

Represents a DbPollEvent

Version:
$Id: $
Author:
Mathew Brozowski

Constructor Summary
DbPollEvent(int eventId, String uei, Date date)
          Constructor for DbPollEvent.
 
Method Summary
 boolean equals(Object o)
          
 boolean equals(PollEvent e)
          equals
 Date getDate()
          getDate
 int getEventId()
          getEventId
 int hashCode()
          hashCode
 String toString()
          toString
 
Methods inherited from class org.opennms.netmgt.poller.pollables.PollEvent
getScope, hasLargerScopeThan, hasSameScope, hasScopeLargerThan, hasScopeSmallerThan, hasSmallerScopeThan, isInterfaceDown, isNodeDown, isNodeLostService, withLargestScope
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DbPollEvent

public DbPollEvent(int eventId,
                   String uei,
                   Date date)

Constructor for DbPollEvent.

Parameters:
eventId - a int.
uei - a String object.
date - a Date object.
Method Detail

getEventId

public int getEventId()

getEventId

Specified by:
getEventId in class PollEvent
Returns:
a int.

getDate

public Date getDate()

getDate

Specified by:
getDate in class PollEvent
Returns:
a Date object.

hashCode

public int hashCode()

hashCode

Overrides:
hashCode in class Object
Returns:
a int.

equals

public boolean equals(PollEvent e)

equals

Parameters:
e - a PollEvent object.
Returns:
a boolean.

equals

public boolean equals(Object o)

Overrides:
equals in class Object

toString

public String toString()

toString

Overrides:
toString in class Object
Returns:
a String object.


Copyright © 2011. All Rights Reserved.