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 id
          The value for the couponId field
private  java.lang.String name
          Name
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, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the AdminLanguageSearch object from a Record object
 
Method Summary
 java.lang.String getCouponCode()
           
 int getId()
           
 java.lang.String getName()
           
 java.lang.String getOrderBy()
           
 int getPromotionId()
           
 void setCouponCode(java.lang.String couponCode)
           
 void setId(int id)
           
 void setName(java.lang.String name)
           
 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


couponCode

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


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,
                         org.apache.torque.util.Criteria 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.


Copyright © 2006 DS Data Systems UK Ltd.