public class AdminCouponSearchResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
AdminCouponSearchResult()
Constructor
|
AdminCouponSearchResult(com.workingdogs.village.Record r,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the Language object from a Record object
|
Modifier and Type | Method and Description |
---|---|
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() |
private AdminCouponSearch couponSearch
private AdminCoupon[] coupons
private int offset
private int maxGroupSize
private int totalSetSize
public AdminCouponSearchResult()
public AdminCouponSearchResult(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
r
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public int getMaxGroupSize()
public void setMaxGroupSize(int maxGroupSize)
maxGroupSize
- The maxGroupSize to set.public int getOffset()
public void setOffset(int offset)
offset
- The offset to set.public int getTotalSetSize()
public void setTotalSetSize(int totalSetSize)
totalSetSize
- The totalSetSize to set.public AdminCoupon[] getCoupons()
public void setCoupons(AdminCoupon[] coupons)
coupons
- The coupons to set.public AdminCouponSearch getCouponSearch()
public void setCouponSearch(AdminCouponSearch couponSearch)
couponSearch
- The couponSearch to set.Copyright © 2018 DS Data Systems UK Ltd.