com.bankframe.services.notification
Class NotificationEvent

java.lang.Object
  extended by com.bankframe.services.notification.NotificationEvent
All Implemented Interfaces:
Serializable

public class NotificationEvent
extends Object
implements 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(Object payload)
          NotificationEvent constructor
 
Method Summary
 String getAction()
          This method gets the Action
 String getDate()
          This method gets the Date
 Object getPayload()
          This method gets the Payload
 String getSourceId()
          Deprecated. see getSourceNode()
 Node getSourceNode()
          This method gets the SourceNode
 String getTargetIp()
          This method gets the Target IP address
 void setAction(String action)
          This method sets the Action
 void setDate(String date)
          This method sets the Date
 void setPayload(Object payload)
          This method sets the Payload
 void setSourceId(String sourceId)
          Deprecated. see setSourceNode(Node)
 void setSourceNode(Node sourceNode)
          This method sets the SourceNode
 void setTargetIp(String targetIp)
          This method sets the Target IP address
 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(Object payload)
NotificationEvent constructor

Parameters:
payload - Object
Method Detail

toString

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

Overrides:
toString in class Object
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

Parameters:
sourceNode - Node

getTargetIp

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

Returns:
String

setTargetIp

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

Parameters:
targetIp - String

getPayload

public Object getPayload()
This method gets the Payload

Returns:
Object

getAction

public String getAction()
This method gets the Action

Returns:
String

setPayload

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

Parameters:
payload - Object

getDate

public String getDate()
This method gets the Date

Returns:
String

setDate

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

Parameters:
date - String

setAction

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

Parameters:
action - String

getSourceId

public String getSourceId()
Deprecated. see getSourceNode()

This method gets the Source ID address

Returns:
String

setSourceId

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

This method sets the Source ID

Parameters:
sourceId - String


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