com.konakartadmin.app
Class AdminCountrySearchResult

java.lang.Object
  extended by com.konakartadmin.app.AdminCountrySearchResult

public class AdminCountrySearchResult
extends java.lang.Object

Country Search Results object for the Admin App


Field Summary
private  AdminCountry[] countries
          the countries retrieved
private  int maxGroupSize
          maxGroupSize
private  int offset
          offset
private  AdminCountrySearch search
          search - the search that was used to get the results
private  int totalSetSize
          totalSetSize
 
Constructor Summary
AdminCountrySearchResult()
          Constructor
AdminCountrySearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Country object from a Record object
 
Method Summary
 AdminCountry[] getCountries()
           
 int getMaxGroupSize()
           
 int getOffset()
           
 AdminCountrySearch getSearch()
           
 int getTotalSetSize()
           
 void setCountries(AdminCountry[] countries)
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 void setSearch(AdminCountrySearch search)
           
 void setTotalSetSize(int totalSetSize)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

search

private AdminCountrySearch search
search - the search that was used to get the results


countries

private AdminCountry[] countries
the countries retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminCountrySearchResult

public AdminCountrySearchResult()
Constructor


AdminCountrySearchResult

public AdminCountrySearchResult(com.workingdogs.village.Record r,
                                org.apache.torque.util.Criteria c)
                         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Country object from a Record object

Parameters:
r - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Country object.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing the attributes of the Country object.

getCountries

public AdminCountry[] getCountries()
Returns:
the countries

setCountries

public void setCountries(AdminCountry[] countries)
Parameters:
countries - the countries to set

getSearch

public AdminCountrySearch getSearch()
Returns:
the search

setSearch

public void setSearch(AdminCountrySearch search)
Parameters:
search - the search to set

getOffset

public int getOffset()
Returns:
the offset

setOffset

public void setOffset(int offset)
Parameters:
offset - the offset to set

getMaxGroupSize

public int getMaxGroupSize()
Returns:
the maxGroupSize

setMaxGroupSize

public void setMaxGroupSize(int maxGroupSize)
Parameters:
maxGroupSize - the maxGroupSize to set

getTotalSetSize

public int getTotalSetSize()
Returns:
the totalSetSize

setTotalSetSize

public void setTotalSetSize(int totalSetSize)
Parameters:
totalSetSize - the totalSetSize to set


Copyright © 2011 DS Data Systems UK Ltd.