com.ibm.websphere.sib.wsn
Class GetMessagesResponse
java.lang.Object
com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
com.ibm.websphere.sib.wsn.GetMessagesResponse
public class GetMessagesResponse
- extends AnyElemAnyAttrType
A class which represents the GetMessagesResponse element in the WS-Notification
Base Notification schema.
This class allows custom elements and attributes to
be set.
- See Also:
AnyElemAnyAttrType
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetMessagesResponse
public GetMessagesResponse(NotificationMessage[] messages)
- Create an instance without user defined elements
- Parameters:
messages
- The notification messages being returned
GetMessagesResponse
public GetMessagesResponse(NotificationMessage[] messages,
javax.xml.soap.SOAPElement[] elements)
- Create an instance with user defined elements
- Parameters:
messages
- The notification messages being returnedelements
- User defined SOAPElements
getMessages
public NotificationMessage[] getMessages()
- Get the notification messages returned
- Returns:
- Returns the messages
setMessages
public void setMessages(NotificationMessage[] messages)
- Set the notification messages to return
- Parameters:
messages
- The messages