com.ibm.websphere.sib.wsn

Class GetMessages



  • public class GetMessages
    extends AnyElemAnyAttrType
    A class which represents the GetMessages element in the WS-Notification Base Notification schema. This class allows custom elements and attributes to be set.
    See Also:
    AnyElemAnyAttrType
    • Constructor Summary

      Constructors 
      Constructor and Description
      GetMessages(java.lang.Integer maxNumber)
      Create an instance without user defined elements
      GetMessages(java.lang.Integer maxNumber, javax.xml.soap.SOAPElement[] elements)
      Create an instance with user defined elements
    • Constructor Detail

      • GetMessages

        public GetMessages(java.lang.Integer maxNumber)
        Create an instance without user defined elements
        Parameters:
        maxNumber - The maxiumum number of messages to return. Non-null values must be positive integers. A value of null indicates all available messages.
        Throws:
        java.lang.IllegalArgumentException - If an negative value for the maximum number is specified
      • GetMessages

        public GetMessages(java.lang.Integer maxNumber,
                   javax.xml.soap.SOAPElement[] elements)
        Create an instance with user defined elements
        Parameters:
        maxNumber - The maxiumum number of messages to return. Non-null values must be positive integers. A value of null indicates all available messages.
        Throws:
        java.lang.IllegalArgumentException - If an negative value for the maximum number is specified
    • Method Detail

      • getMaxNumber

        public java.lang.Integer getMaxNumber()
        Get the maximum number of message to return
        Returns:
        Returns The maximum number of messages
      • setMaxNumber

        public void setMaxNumber(java.lang.Integer maxNumber)
        Set the maximum number of elements to return.
        Parameters:
        maxNumber - The maximum number of messages. Non-null values must be positive integers. A value of null indicates all available messages.
        Throws:
        java.lang.IllegalArgumentException - If an negative value for the maximum number is specified
IBM WebSphere Application ServerTM
Release 9.0