com.bankframe.services.notification
Class NotificationEvent

java.lang.Object
  extended bycom.bankframe.services.notification.NotificationEvent
All Implemented Interfaces:
java.io.Serializable

public class NotificationEvent
extends java.lang.Object
implements java.io.Serializable

This is the NotificationEvent object which encapsulates the message to be sent to the Target Node

See Also:
Serialized Form

Constructor Summary
NotificationEvent()
          NotificationEvent constructor
NotificationEvent(java.lang.Object payload)
          NotificationEvent constructor
 
Method Summary
 java.lang.String getAction()
          This method gets the Action
 java.lang.String getDate()
          This method gets the Date
 java.lang.Object getPayload()
          This method gets the Payload
 java.lang.String getSourceId()
          Deprecated. see getSourceNode()
 Node getSourceNode()
          This method gets the SourceNode
 java.lang.String getTargetIp()
          This method gets the Target IP address
 void setAction(java.lang.String action)
          This method sets the Action
 void setDate(java.lang.String date)
          This method sets the Date
 void setPayload(java.lang.Object payload)
          This method sets the Payload
 void setSourceId(java.lang.String sourceId)
          Deprecated. see setSourceNode(Node)
 void setSourceNode(Node sourceNode)
          This method sets the SourceNode
 void setTargetIp(java.lang.String targetIp)
          This method sets the Target IP address
 java.lang.String toString()
          This method returns a stringified version of the NotificationEvent's details
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotificationEvent

public NotificationEvent()
NotificationEvent constructor


NotificationEvent

public NotificationEvent(java.lang.Object payload)
NotificationEvent constructor

Method Detail

toString

public java.lang.String toString()
This method returns a stringified version of the NotificationEvent's details

Returns:
String

getSourceNode

public Node getSourceNode()
This method gets the SourceNode

Returns:
Node sourceNode

setSourceNode

public void setSourceNode(Node sourceNode)
This method sets the SourceNode


getTargetIp

public java.lang.String getTargetIp()
This method gets the Target IP address

Returns:
String

setTargetIp

public void setTargetIp(java.lang.String targetIp)
This method sets the Target IP address


getPayload

public java.lang.Object getPayload()
This method gets the Payload

Returns:
Object

getAction

public java.lang.String getAction()
This method gets the Action

Returns:
String

setPayload

public void setPayload(java.lang.Object payload)
This method sets the Payload


getDate

public java.lang.String getDate()
This method gets the Date

Returns:
String

setDate

public void setDate(java.lang.String date)
This method sets the Date


setAction

public void setAction(java.lang.String action)
This method sets the Action


getSourceId

public java.lang.String getSourceId()
Deprecated. see getSourceNode()

This method gets the Source ID address

Returns:
String

setSourceId

public void setSourceId(java.lang.String sourceId)
Deprecated. see setSourceNode(Node)

This method sets the Source ID



Copyright © 2005, 2007, Oracle. All rights reserved.