IBM BPM API for Web Service Clients v8.0.0

com.lombardisoftware.webapi
Class SearchResults

java.lang.Object
  extended by com.lombardisoftware.webapi.SearchResults
All Implemented Interfaces:
java.io.Serializable

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

A SearchResults object contains the column meta-data for columns specified in the search and a list of rows containing values for each of the columns ordered by the search ordering. It also contains an element, TotalRowCount, specifying the total number of rows returned by the search for use in paging through the results. TotalRowCount may be greater than the number of rows returned in the search results if the maxRows and/or beginIndex parameter were specified while executing the search.

See Also:
Serialized Form

Constructor Summary
SearchResults()
           
SearchResults(SearchColumnMetaData[] columns, SearchResultRow[] rows, int totalRowCount)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 SearchColumnMetaData[] getColumns()
          Gets the columns value for this SearchResults.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 SearchResultRow[] getRows()
          Gets the rows value for this SearchResults.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 int getTotalRowCount()
          Gets the totalRowCount value for this SearchResults.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setColumns(SearchColumnMetaData[] columns)
          Sets the columns value for this SearchResults.
 void setRows(SearchResultRow[] rows)
          Sets the rows value for this SearchResults.
 void setTotalRowCount(int totalRowCount)
          Sets the totalRowCount value for this SearchResults.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResults

public SearchResults()

SearchResults

public SearchResults(SearchColumnMetaData[] columns,
                     SearchResultRow[] rows,
                     int totalRowCount)
Method Detail

getColumns

public SearchColumnMetaData[] getColumns()
Gets the columns value for this SearchResults.

Returns:
columns

setColumns

public void setColumns(SearchColumnMetaData[] columns)
Sets the columns value for this SearchResults.

Parameters:
columns -

getRows

public SearchResultRow[] getRows()
Gets the rows value for this SearchResults.

Returns:
rows

setRows

public void setRows(SearchResultRow[] rows)
Sets the rows value for this SearchResults.

Parameters:
rows -

getTotalRowCount

public int getTotalRowCount()
Gets the totalRowCount value for this SearchResults.

Returns:
totalRowCount

setTotalRowCount

public void setTotalRowCount(int totalRowCount)
Sets the totalRowCount value for this SearchResults.

Parameters:
totalRowCount -

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


IBM BPM API for Web Service Clients v8.0.0

(C) Copyright IBM Corporation 2011. All Rights Reserved.