org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventDetailEB
java.lang.Object
org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventDetailEB
- All Implemented Interfaces:
- Serializable
public class JasmineEventDetailEB
- extends Object
- implements Serializable
- Author:
- Jean-Pierre Poutcheu Generic details about a Jasmine event
notification
- See Also:
- Serialized Form
JasmineEventDetailEB
public JasmineEventDetailEB()
- default constructor
JasmineEventDetailEB
public JasmineEventDetailEB(String key,
String value)
- Parameters:
key - value -
getId
public int getId()
- Returns:
- the primary key
setId
public void setId(int id)
- Parameters:
id - set the primary key
getKey
public String getKey()
- Returns:
- the key
setKey
public void setKey(String key)
- Parameters:
key - the key to set
getValue
public String getValue()
- Returns:
- the value
setValue
public void setValue(String value)
- Parameters:
value - the value to set
getNotification
public JasmineEventNotificationEBImpl getNotification()
- Returns:
- the notification
setNotification
public void setNotification(JasmineEventNotificationEBImpl notification)
- Parameters:
notification - the notification to set
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- the string detail description
equals
public boolean equals(Object obj)
- Two
JasmineEventDetailEB are equals only if the key, the value
and the referenced JasmineEventNotificationEBImpl are the same.
- Overrides:
equals in class Object
- Returns:
true if the two events details are the same,
false otherwise.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- Returns:
- hashcode of this object, based on the key hashcode, the value
hashcode and the notification hashcode.
Copyright © 2012 OW2 Consortium. All Rights Reserved.