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
-
-
Field Summary
-
Fields inherited from class com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
attributes, elements
-
-
Constructor Summary
Constructors Constructor and Description GetMessagesResponse(NotificationMessage[] messages)
Create an instance without user defined elementsGetMessagesResponse(NotificationMessage[] messages, javax.xml.soap.SOAPElement[] elements)
Create an instance with user defined elements
-
Method Summary
Methods Modifier and Type Method and Description NotificationMessage[]
getMessages()
Get the notification messages returnedvoid
setMessages(NotificationMessage[] messages)
Set the notification messages to return-
Methods inherited from class com.ibm.websphere.sib.wsn.AnyElemAnyAttrType
addAttribute, getAttributes, getAttributeValue, getElements, setElements
-
-
-
-
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 returnedelements
- 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
-
-