public class SyncNotificationResults extends NotificationResults
Constructor and Description |
---|
SyncNotificationResults(java.lang.String notificationName,
boolean returnValue,
java.lang.Object errorInfo)
To construct the object specify the notification node name,
return value, and any relevent error information.
|
Modifier and Type | Method and Description |
---|---|
WmRecord |
getReplyResults()
This method will return the stored IData object as a WmRecord.
|
java.lang.String |
getType() |
void |
setReplyResults(com.wm.data.IData rec)
This method will store the data returned from the service invoked by
a synchronous notification.
|
getErrorInfo, getNotificationName, getReturnValue, hadError, setErrorInfo, setHadError, toString
public SyncNotificationResults(java.lang.String notificationName, boolean returnValue, java.lang.Object errorInfo)
notificationName
- a string that represents the fully-qualified
name of your notification node. It must be in the format of
folder:notificationNodeName. It may not be null.returnValue
- the boolean value indicating a return status.errorInfo
- the Object containing error information to associate with a
failed execution. It may be null.public WmRecord getReplyResults()
public java.lang.String getType()
getType
in class NotificationResults
public void setReplyResults(com.wm.data.IData rec)
rec
- the IData object that contains the data returned from a
synchronous notification execution.
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.