|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.services.notification.NotificationEvent
public class NotificationEvent
This is the NotificationEvent object which encapsulates the message to be sent to the Target Node
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 |
---|
public NotificationEvent()
public NotificationEvent(Object payload)
payload
- ObjectMethod Detail |
---|
public String toString()
toString
in class Object
public Node getSourceNode()
public void setSourceNode(Node sourceNode)
sourceNode
- Nodepublic String getTargetIp()
public void setTargetIp(String targetIp)
targetIp
- Stringpublic Object getPayload()
public String getAction()
public void setPayload(Object payload)
payload
- Objectpublic String getDate()
public void setDate(String date)
date
- Stringpublic void setAction(String action)
action
- Stringpublic String getSourceId()
public void setSourceId(String sourceId)
sourceId
- String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |