org.ow2.jasmine.monitoring.eventswitch.beans.impl
Class JasmineEventNotificationActionEBImpl
java.lang.Object
org.ow2.jasmine.monitoring.eventswitch.beans.impl.JasmineEventNotificationActionEBImpl
- All Implemented Interfaces:
- Serializable
public class JasmineEventNotificationActionEBImpl
- extends Object
- implements Serializable
- See Also:
- Serialized Form
JasmineEventNotificationActionEBImpl
public JasmineEventNotificationActionEBImpl()
- Default Constructor
JasmineEventNotificationActionEBImpl
public JasmineEventNotificationActionEBImpl(String comment,
String action,
Date date,
String user)
- Constructor using fields ...
- Parameters:
comment - Comment of the user that executed the action.action - Action executeddate - Date when the action was executed
getId
public Long getId()
- Returns:
- Primary key
setId
public void setId(Long id)
- Parameters:
id - Primary key
getComment
public String getComment()
- Returns:
- the comment
setComment
public void setComment(String comment)
- Parameters:
comment - the comment to set
getAction
public String getAction()
- Returns:
- the action
setAction
public void setAction(String action)
- Parameters:
action - the action to set
getDate
public Date getDate()
- Returns:
- the date
setDate
public void setDate(Date date)
- Parameters:
date - the date to set
getNotification
public JasmineEventNotificationEBImpl getNotification()
- Returns:
- the notification
setNotification
public void setNotification(JasmineEventNotificationEBImpl notification)
- Parameters:
notification - the notification to set
getUser
public String getUser()
- Returns:
- the user
setUser
public void setUser(String user)
- Parameters:
user - the user to set
equals
public boolean equals(Object obj)
- Two
JasmineEventNotificationActionEBImpl are equals only if the
action, the comment, the date, the user and the
JasmineEventNotification.getId() are equals.
- Overrides:
equals in class Object
- Returns:
true if the two objects are equals,
false otherwise.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- Returns:
- the hashcode of this object, based on the action hashcode, the
comment hashcode, the date hashcode, the user hascode and the
notificaiton hashcode.
Copyright © 2012 OW2 Consortium. All Rights Reserved.