org.ow2.jasmine.event.beans
Class JasmineEventNotificationUpdate

java.lang.Object
  extended by org.ow2.jasmine.event.beans.JasmineEventNotificationUpdate
All Implemented Interfaces:
java.io.Serializable, IJasmineEventNotification

public class JasmineEventNotificationUpdate
extends java.lang.Object
implements IJasmineEventNotification, java.io.Serializable

Contains informations to update a stored JasmineEventNotification. The update will add a JasmineEventNotificationDetail, or a JasmineEventNotificationExecutedAction. Filters have to be set to get a unique notification to update.

Author:
Guillaume Renault
See Also:
Serialized Form

Constructor Summary
JasmineEventNotificationUpdate()
          Initialize the SearchFilter list and the JasmineEventNotificationDetail list.
JasmineEventNotificationUpdate(JasmineEventNotificationExecutedAction p_action)
          Initialize the SearchFilter list and set the action to add.
JasmineEventNotificationUpdate(java.util.List<JasmineEventNotificationDetail> p_details)
          Initialize the SearchFilter list and set the detail to add.
 
Method Summary
 void addDetail(JasmineEventNotificationDetail detail)
           
 void addSearchFilter(SearchFilter searchFilter)
          Add a SearchFilter to the list.
 JasmineEventNotificationExecutedAction getAction()
           
 java.lang.String getComment()
           
 java.util.Date getDate()
           
 java.util.List<JasmineEventNotificationDetail> getDetails()
           
 int getMaxRetry()
           
 java.lang.String getMessage()
           
 java.lang.String getRule()
           
 java.util.List<SearchFilter> getSearchFilters()
           
 java.lang.String getUser()
           
 void setAction(JasmineEventNotificationExecutedAction action)
           
 void setComment(java.lang.String comment)
           
 void setDate(java.util.Date date)
           
 void setMaxRetry(int maxRetry)
           
 void setMessage(java.lang.String message)
           
 void setRule(java.lang.String rule)
           
 void setUser(java.lang.String user)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JasmineEventNotificationUpdate

public JasmineEventNotificationUpdate()
Initialize the SearchFilter list and the JasmineEventNotificationDetail list.


JasmineEventNotificationUpdate

public JasmineEventNotificationUpdate(java.util.List<JasmineEventNotificationDetail> p_details)
Initialize the SearchFilter list and set the detail to add.

Parameters:
p_details - the JasmineEventNotificationDetail to add.

JasmineEventNotificationUpdate

public JasmineEventNotificationUpdate(JasmineEventNotificationExecutedAction p_action)
Initialize the SearchFilter list and set the action to add.

Parameters:
p_action - the JasmineEventNotificationExecutedAction to add.
Method Detail

getDetails

public java.util.List<JasmineEventNotificationDetail> getDetails()
Returns:
the detail

addDetail

public final void addDetail(JasmineEventNotificationDetail detail)
Parameters:
detail - the detail to set

getAction

public final JasmineEventNotificationExecutedAction getAction()
Returns:
the action

setAction

public final void setAction(JasmineEventNotificationExecutedAction action)
Parameters:
action - the action to set

getSearchFilters

public java.util.List<SearchFilter> getSearchFilters()
Returns:
the filters

addSearchFilter

public void addSearchFilter(SearchFilter searchFilter)
Add a SearchFilter to the list.

Parameters:
searchFilter - the SearchFilter to add.

getDate

public java.util.Date getDate()
Returns:
the date

setDate

public void setDate(java.util.Date date)
Parameters:
date - the date of the notification update

getMessage

public final java.lang.String getMessage()
Returns:
the message

setMessage

public final void setMessage(java.lang.String message)
Parameters:
message - the message to set

getComment

public final java.lang.String getComment()
Returns:
the comment

setComment

public final void setComment(java.lang.String comment)
Parameters:
comment - the comment to set

getUser

public final java.lang.String getUser()
Returns:
the user

setUser

public final void setUser(java.lang.String user)
Parameters:
user - the user to set

getRule

public java.lang.String getRule()

setRule

public void setRule(java.lang.String rule)

getMaxRetry

public final int getMaxRetry()
Returns:
the max retry

setMaxRetry

public final void setMaxRetry(int maxRetry)
Parameters:
maxRetry -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 OW2 Consortium. All Rights Reserved.