IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.sib.wsn
Class GetMessagesResponse

java.lang.Object
  extended by com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
      extended by 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

Field Summary
 
Fields inherited from class com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
attributes, elements
 
Constructor Summary
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
 NotificationMessage[] getMessages()
          Get the notification messages returned
 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

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 returned
elements - User defined SOAPElements
Method Detail

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

IBM WebSphere Application ServerTM
Release 7