com.konakartadmin.app
Class AdminCouponSearch

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

public class AdminCouponSearch
extends java.lang.Object

Coupon search object for the Admin App


Field Summary
private  java.lang.String couponCode
          The value of the coupon code
private  int couponCodeRule
          The value of the coupon code rule
private  int id
          The value for the couponId field
private  java.lang.String name
          Name
private  int nameRule
          Name Rule
private  java.lang.String orderBy
          orderBy
private  int promotionId
          promotion Id
 
Constructor Summary
AdminCouponSearch()
          Instantiates an AdminCouponSearch object - a requirement for a bean class
AdminCouponSearch(com.workingdogs.village.Record r, com.konakart.db.KKCriteria c)
          Instantiates the attributes of the AdminLanguageSearch object from a Record object
 
Method Summary
 java.lang.String getCouponCode()
           
 int getCouponCodeRule()
          The rule for the search.
 int getId()
           
 java.lang.String getName()
           
 int getNameRule()
          The rule for the search.
 java.lang.String getOrderBy()
           
 int getPromotionId()
           
 void setCouponCode(java.lang.String couponCode)
           
 void setCouponCodeRule(int couponCodeRule)
          The rule for the search.
 void setId(int id)
           
 void setName(java.lang.String name)
           
 void setNameRule(int nameRule)
          The rule for the search.
 void setOrderBy(java.lang.String orderBy)
           
 void setPromotionId(int promotionId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
The value for the couponId field


name

private java.lang.String name
Name


nameRule

private int nameRule
Name Rule


couponCode

private java.lang.String couponCode
The value of the coupon code


couponCodeRule

private int couponCodeRule
The value of the coupon code rule


orderBy

private java.lang.String orderBy
orderBy


promotionId

private int promotionId
promotion Id

Constructor Detail

AdminCouponSearch

public AdminCouponSearch()
Instantiates an AdminCouponSearch object - a requirement for a bean class


AdminCouponSearch

public AdminCouponSearch(com.workingdogs.village.Record r,
                         com.konakart.db.KKCriteria c)
                  throws com.workingdogs.village.DataSetException
Instantiates the attributes of the AdminLanguageSearch 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 PromotionSearch object.

getCouponCode

public java.lang.String getCouponCode()
Returns:
Returns the couponCode.

setCouponCode

public void setCouponCode(java.lang.String couponCode)
Parameters:
couponCode - The couponCode to set.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

getOrderBy

public java.lang.String getOrderBy()
Returns:
Returns the orderBy.

setOrderBy

public void setOrderBy(java.lang.String orderBy)
Parameters:
orderBy - The orderBy to set.

getPromotionId

public int getPromotionId()
Returns:
Returns the promotionId.

setPromotionId

public void setPromotionId(int promotionId)
Parameters:
promotionId - The promotionId to set.

getNameRule

public int getNameRule()
The rule for the search. Valid values are:

Returns:
the nameRule

setNameRule

public void setNameRule(int nameRule)
The rule for the search. Valid values are:

Parameters:
nameRule - the nameRule to set

getCouponCodeRule

public int getCouponCodeRule()
The rule for the search. Valid values are:

Returns:
the couponCodeRule

setCouponCodeRule

public void setCouponCodeRule(int couponCodeRule)
The rule for the search. Valid values are:

Parameters:
couponCodeRule - the couponCodeRule to set


Copyright © 2011 DS Data Systems UK Ltd.