com.ibm.websphere.sib.wsn

Class GetMessagesResponse

  1. java.lang.Object
  2. extended bycom.ibm.websphere.sib.wsn.AnyElemAnyAttrType
  3. extended bycom.ibm.websphere.sib.wsn.GetMessagesResponse

  1. public class GetMessagesResponse
  2. 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

Field Summary

Fields inherited from class com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
attributes, elements

Constructor Summary

Constructor and Description
GetMessagesResponse(NotificationMessage[] messages)
Create an instance without user defined elements
GetMessagesResponse(NotificationMessage[] messages,javax.xml.soap.SOAPElement[] elements)
Create an instance with user defined elements

Method Summary

Modifier and Type Method and Description
  1. NotificationMessage[]
getMessages()
Get the notification messages returned
  1. void
setMessages(NotificationMessage[] messages)
Set the notification messages to return
Methods inherited from class com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
addAttribute, getAttributes, getAttributeValue, getElements, setElements
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

GetMessagesResponse

  1. public GetMessagesResponse(NotificationMessage[] messages)
Create an instance without user defined elements
Parameters:
messages - The notification messages being returned

GetMessagesResponse

  1. public GetMessagesResponse(NotificationMessage[] messages,
  2. javax.xml.soap.SOAPElement[] elements)
Create an instance with user defined elements
Parameters:
messages - The notification messages being returned
elements - User defined SOAPElements

Method Detail

getMessages

  1. public NotificationMessage[] getMessages( )
Get the notification messages returned
Returns:
Returns the messages

setMessages

  1. public void setMessages(NotificationMessage[] messages)
Set the notification messages to return
Parameters:
messages - The messages