com.konakartadmin.app
Class AdminPromotionSearch

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

public class AdminPromotionSearch
extends java.lang.Object

Promotion search object for the Admin App


Field Summary
private  java.lang.Boolean active
          active
private  java.lang.Boolean cumulative
          cumulative
private  java.util.Date endDate
          end date
private  int id
          id
private  java.lang.String name
          name
private  int nameRule
          name rule
private  java.lang.String orderBy
          orderBy
private  java.lang.String orderTotalCode
          order Total Code
private  int orderTotalCodeRule
          order Total Code rule
private  java.lang.Boolean requiresCoupon
          requires Coupon
private  java.util.Date startDate
          start date
 
Constructor Summary
AdminPromotionSearch()
          Instantiates an AdminPromotionSearch object - a requirement for a bean class
AdminPromotionSearch(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.Boolean getActive()
           
 java.lang.Boolean getCumulative()
           
 java.util.Date getEndDate()
           
 int getId()
           
 java.lang.String getName()
           
 int getNameRule()
          The rule for the search.
 java.lang.String getOrderBy()
           
 java.lang.String getOrderTotalCode()
           
 int getOrderTotalCodeRule()
          The rule for the search.
 java.lang.Boolean getRequiresCoupon()
           
 java.util.Date getStartDate()
           
 void setActive(java.lang.Boolean active)
           
 void setCumulative(java.lang.Boolean cumulative)
           
 void setEndDate(java.util.Date endDate)
           
 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 setOrderTotalCode(java.lang.String orderTotalCode)
           
 void setOrderTotalCodeRule(int orderTotalCodeRule)
          The rule for the search.
 void setRequiresCoupon(java.lang.Boolean requiresCoupon)
           
 void setStartDate(java.util.Date startDate)
           
 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

active

private java.lang.Boolean active
active


startDate

private java.util.Date startDate
start date


endDate

private java.util.Date endDate
end date


cumulative

private java.lang.Boolean cumulative
cumulative


name

private java.lang.String name
name


nameRule

private int nameRule
name rule


orderTotalCode

private java.lang.String orderTotalCode
order Total Code


orderTotalCodeRule

private int orderTotalCodeRule
order Total Code rule


requiresCoupon

private java.lang.Boolean requiresCoupon
requires Coupon


orderBy

private java.lang.String orderBy
orderBy


id

private int id
id

Constructor Detail

AdminPromotionSearch

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


AdminPromotionSearch

public AdminPromotionSearch(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.

toStringBrief

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

getActive

public java.lang.Boolean getActive()
Returns:
Returns the active.

setActive

public void setActive(java.lang.Boolean active)
Parameters:
active - The active to set.

getCumulative

public java.lang.Boolean getCumulative()
Returns:
Returns the cumulative.

setCumulative

public void setCumulative(java.lang.Boolean cumulative)
Parameters:
cumulative - The cumulative to set.

getEndDate

public java.util.Date getEndDate()
Returns:
Returns the endDate.

setEndDate

public void setEndDate(java.util.Date endDate)
Parameters:
endDate - The endDate 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.

getOrderTotalCode

public java.lang.String getOrderTotalCode()
Returns:
Returns the orderTotalCode.

setOrderTotalCode

public void setOrderTotalCode(java.lang.String orderTotalCode)
Parameters:
orderTotalCode - The orderTotalCode to set.

getRequiresCoupon

public java.lang.Boolean getRequiresCoupon()
Returns:
Returns the requiresCoupon.

setRequiresCoupon

public void setRequiresCoupon(java.lang.Boolean requiresCoupon)
Parameters:
requiresCoupon - The requiresCoupon to set.

getStartDate

public java.util.Date getStartDate()
Returns:
Returns the startDate.

setStartDate

public void setStartDate(java.util.Date startDate)
Parameters:
startDate - The startDate 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.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int id)
Parameters:
id - The id 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

getOrderTotalCodeRule

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

Returns:
the orderTotalCodeRule

setOrderTotalCodeRule

public void setOrderTotalCodeRule(int orderTotalCodeRule)
The rule for the search. Valid values are:

Parameters:
orderTotalCodeRule - the orderTotalCodeRule to set


Copyright © 2011 DS Data Systems UK Ltd.