org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventDetailEB

java.lang.Object
  extended by 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

Constructor Summary
JasmineEventDetailEB()
          default constructor
JasmineEventDetailEB(String key, String value)
           
 
Method Summary
 boolean equals(Object obj)
          Two JasmineEventDetailEB are equals only if the key, the value and the referenced JasmineEventNotificationEBImpl are the same.
 int getId()
           
 String getKey()
           
 JasmineEventNotificationEBImpl getNotification()
           
 String getValue()
           
 int hashCode()
           
 void setId(int id)
           
 void setKey(String key)
           
 void setNotification(JasmineEventNotificationEBImpl notification)
           
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JasmineEventDetailEB

public JasmineEventDetailEB()
default constructor


JasmineEventDetailEB

public JasmineEventDetailEB(String key,
                            String value)
Parameters:
key -
value -
Method Detail

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.