Package org.opennms.netmgt.dao.mock
Class EventWrapper
- java.lang.Object
-
- org.opennms.netmgt.dao.mock.EventWrapper
-
public class EventWrapper extends java.lang.Object
Need this class because Event doesn't properly implement hashCode- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description EventWrapper(Event event)
Constructor for EventWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Event
getEvent()
getEventint
hashCode()
hashCodejava.lang.String
toString()
toString
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
hashCode
- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- a int.
-
toString
public java.lang.String toString()
toString
- Overrides:
toString
in classjava.lang.Object
- Returns:
- a
String
object.
-
-