Class DbPollEvent
- java.lang.Object
-
- org.opennms.netmgt.poller.pollables.PollEvent
-
- org.opennms.netmgt.poller.pollables.DbPollEvent
-
public class DbPollEvent extends PollEvent
Represents a DbPollEvent- Version:
- $Id: $
- Author:
- Mathew Brozowski
-
-
Constructor Summary
Constructors Constructor Description DbPollEvent(int eventId, java.lang.String uei, java.util.Date date)
Constructor for DbPollEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
boolean
equals(PollEvent e)
equalsjava.util.Date
getDate()
getDateint
getEventId()
getEventIdint
hashCode()
hashCodejava.lang.String
toString()
toString-
Methods inherited from class org.opennms.netmgt.poller.pollables.PollEvent
getScope, hasLargerScopeThan, hasSameScope, hasScopeLargerThan, hasScopeSmallerThan, hasSmallerScopeThan, isInterfaceDown, isNodeDown, isNodeLostService, withLargestScope
-
-
-
-
Method Detail
-
getEventId
public int getEventId()
getEventId
- Specified by:
getEventId
in classPollEvent
- Returns:
- a int.
-
getDate
public java.util.Date getDate()
getDate
-
hashCode
public int hashCode()
hashCode
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a int.
-
equals
public boolean equals(PollEvent e)
equals
- Parameters:
e
- aPollEvent
object.- Returns:
- a boolean.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
-