com.collabnet.helm.ws
Class PaginationType

java.lang.Object
  extended by com.collabnet.helm.ws.PaginationType
All Implemented Interfaces:
java.io.Serializable

public class PaginationType
extends java.lang.Object
implements java.io.Serializable

Controls the pagination of the result set.

See Also:
Serialized Form

Constructor Summary
PaginationType()
           
PaginationType(int entriesPerPage, int pageNumber)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getEntriesPerPage()
          Gets the entriesPerPage value for this PaginationType.
 int getPageNumber()
          Gets the pageNumber value for this PaginationType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setEntriesPerPage(int entriesPerPage)
          Sets the entriesPerPage value for this PaginationType.
 void setPageNumber(int pageNumber)
          Sets the pageNumber value for this PaginationType.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaginationType

public PaginationType()

PaginationType

public PaginationType(int entriesPerPage,
                      int pageNumber)
Method Detail

getEntriesPerPage

public int getEntriesPerPage()
Gets the entriesPerPage value for this PaginationType.

Returns:
entriesPerPage * Specifies the maximum number of entries to return in a single call. If the number of entries that can be returned is less than the value in entriesPerPage, then the lower number is returned. For most calls, the max is 100 and the default is 25.

setEntriesPerPage

public void setEntriesPerPage(int entriesPerPage)
Sets the entriesPerPage value for this PaginationType.

Parameters:
entriesPerPage - * Specifies the maximum number of entries to return in a single call. If the number of entries that can be returned is less than the value in entriesPerPage, then the lower number is returned. For most calls, the max is 100 and the default is 25.

getPageNumber

public int getPageNumber()
Gets the pageNumber value for this PaginationType.

Returns:
pageNumber * Specifies the number of the page of data to return in the current call. Default is 1. Specify a positive value equal to or lower than the number of pages available (which you determine by examining the results of your initial request).

setPageNumber

public void setPageNumber(int pageNumber)
Sets the pageNumber value for this PaginationType.

Parameters:
pageNumber - * Specifies the number of the page of data to return in the current call. Default is 1. Specify a positive value equal to or lower than the number of pages available (which you determine by examining the results of your initial request).

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer