com.konakartadmin.app
Class AdminRewardPoint

java.lang.Object
  extended by com.konakartadmin.app.AdminRewardPoint
All Implemented Interfaces:
AdminObjectIf

public class AdminRewardPoint
extends java.lang.Object
implements AdminObjectIf

Reward point object for the Admin App


Field Summary
private  java.lang.String code
          code
private  int customerId
          customerId
private  java.util.Date dateAdded
          dateAdded
private  java.lang.String description
          description
private  boolean expired
          expired
private  int id
          id
private  int initialPoints
          initialPoints
private  int remainingPoints
          remainingPoints
private  java.lang.String storeId
          storeId
private  int transactionType
          transactionType
 
Constructor Summary
AdminRewardPoint()
          Constructor
AdminRewardPoint(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Reward Points object from a Record object
 
Method Summary
 java.lang.String getCode()
           
 int getCustomerId()
           
 java.util.Date getDateAdded()
           
 java.lang.String getDescription()
           
 int getId()
           
 int getInitialPoints()
           
 int getRemainingPoints()
           
 java.lang.String getStoreId()
           
 int getTransactionType()
           
 boolean isExpired()
           
 void setCode(java.lang.String code)
           
 void setCustomerId(int customerId)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setDescription(java.lang.String description)
           
 void setExpired(boolean expired)
           
 void setId(int id)
           
 void setInitialPoints(int initialPoints)
           
 void setRemainingPoints(int remainingPoints)
           
 void setStoreId(java.lang.String storeId)
           
 void setTransactionType(int transactionType)
           
 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
id


storeId

private java.lang.String storeId
storeId


code

private java.lang.String code
code


description

private java.lang.String description
description


customerId

private int customerId
customerId


initialPoints

private int initialPoints
initialPoints


remainingPoints

private int remainingPoints
remainingPoints


expired

private boolean expired
expired


transactionType

private int transactionType
transactionType


dateAdded

private java.util.Date dateAdded
dateAdded

Constructor Detail

AdminRewardPoint

public AdminRewardPoint()
Constructor


AdminRewardPoint

public AdminRewardPoint(com.workingdogs.village.Record vr,
                        org.apache.torque.util.Criteria c)
                 throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Reward Points object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Reward Points object

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
the id

setId

public void setId(int id)
Specified by:
setId in interface AdminObjectIf
Parameters:
id - the id to set

getStoreId

public java.lang.String getStoreId()
Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String storeId)
Parameters:
storeId - the storeId to set

getCode

public java.lang.String getCode()
Returns:
the code

setCode

public void setCode(java.lang.String code)
Parameters:
code - the code to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getCustomerId

public int getCustomerId()
Returns:
the customerId

setCustomerId

public void setCustomerId(int customerId)
Parameters:
customerId - the customerId to set

getInitialPoints

public int getInitialPoints()
Returns:
the initialPoints

setInitialPoints

public void setInitialPoints(int initialPoints)
Parameters:
initialPoints - the initialPoints to set

getRemainingPoints

public int getRemainingPoints()
Returns:
the remainingPoints

setRemainingPoints

public void setRemainingPoints(int remainingPoints)
Parameters:
remainingPoints - the remainingPoints to set

isExpired

public boolean isExpired()
Returns:
the expired

setExpired

public void setExpired(boolean expired)
Parameters:
expired - the expired to set

getTransactionType

public int getTransactionType()
Returns:
the transactionType

setTransactionType

public void setTransactionType(int transactionType)
Parameters:
transactionType - the transactionType to set

getDateAdded

public java.util.Date getDateAdded()
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Date dateAdded)
Parameters:
dateAdded - the dateAdded to set


Copyright © 2011 DS Data Systems UK Ltd.