com.konakartadmin.app
Class AdminCouponSearchResult

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

public class AdminCouponSearchResult
extends java.lang.Object

Coupon Search Results object for the Admin App


Field Summary
private  AdminCoupon[] coupons
          the coupons retrieved
private  AdminCouponSearch couponSearch
          couponSearch - the search that was used to get the results
private  int maxGroupSize
          maxGroupSize
private  int offset
          offset
private  int totalSetSize
          totalSetSize
 
Constructor Summary
AdminCouponSearchResult()
          Constructor
AdminCouponSearchResult(com.workingdogs.village.Record r, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Language object from a Record object
 
Method Summary
 AdminCoupon[] getCoupons()
           
 AdminCouponSearch getCouponSearch()
           
 int getMaxGroupSize()
           
 int getOffset()
           
 int getTotalSetSize()
           
 void setCoupons(AdminCoupon[] coupons)
           
 void setCouponSearch(AdminCouponSearch couponSearch)
           
 void setMaxGroupSize(int maxGroupSize)
           
 void setOffset(int offset)
           
 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

couponSearch

private AdminCouponSearch couponSearch
couponSearch - the search that was used to get the results


coupons

private AdminCoupon[] coupons
the coupons retrieved


offset

private int offset
offset


maxGroupSize

private int maxGroupSize
maxGroupSize


totalSetSize

private int totalSetSize
totalSetSize

Constructor Detail

AdminCouponSearchResult

public AdminCouponSearchResult()
Constructor


AdminCouponSearchResult

public AdminCouponSearchResult(com.workingdogs.village.Record r,
                               org.apache.torque.util.Criteria c)
                        throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Language 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 Promotion Search object.

toStringBrief

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

getMaxGroupSize

public int getMaxGroupSize()
Returns:
Returns the maxGroupSize.

setMaxGroupSize

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

getOffset

public int getOffset()
Returns:
Returns the offset.

setOffset

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

getTotalSetSize

public int getTotalSetSize()
Returns:
Returns the totalSetSize.

setTotalSetSize

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

getCoupons

public AdminCoupon[] getCoupons()
Returns:
Returns the coupons.

setCoupons

public void setCoupons(AdminCoupon[] coupons)
Parameters:
coupons - The coupons to set.

getCouponSearch

public AdminCouponSearch getCouponSearch()
Returns:
Returns the couponSearch.

setCouponSearch

public void setCouponSearch(AdminCouponSearch couponSearch)
Parameters:
couponSearch - The couponSearch to set.


Copyright © 2011 DS Data Systems UK Ltd.