com.konakartadmin.app
Class AdminDigitalDownload

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

public class AdminDigitalDownload
extends java.lang.Object

The Digital Download class contains information about which users have products to download.


Field Summary
private  int customerId
          Customer Id
private  java.util.Date dateAdded
          The value for the dateAdded field
private  java.util.Date expirationDate
          The expiration date for the download link
private  java.util.Date lastModified
          The value for the lastModified field
private  int maxDownloads
          The maximum number of times that a product can be downloaded
private  int productId
          Product Id
private  int timesDownloaded
          The number of times that a product has been downloaded
 
Constructor Summary
AdminDigitalDownload()
          Constructor
AdminDigitalDownload(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Promotion object from a Record object
 
Method Summary
 int getCustomerId()
           
 java.util.Date getDateAdded()
           
 java.util.Date getExpirationDate()
           
 java.util.Date getLastModified()
           
 int getMaxDownloads()
           
 int getProductId()
           
 int getTimesDownloaded()
           
 void setCustomerId(int customerId)
           
 void setDateAdded(java.util.Date dateAdded)
           
 void setExpirationDate(java.util.Date expirationDate)
           
 void setLastModified(java.util.Date lastModified)
           
 void setMaxDownloads(int maxDownloads)
           
 void setProductId(int productId)
           
 void setTimesDownloaded(int timesDownloaded)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

productId

private int productId
Product Id


customerId

private int customerId
Customer Id


maxDownloads

private int maxDownloads
The maximum number of times that a product can be downloaded


timesDownloaded

private int timesDownloaded
The number of times that a product has been downloaded


expirationDate

private java.util.Date expirationDate
The expiration date for the download link


lastModified

private java.util.Date lastModified
The value for the lastModified field


dateAdded

private java.util.Date dateAdded
The value for the dateAdded field

Constructor Detail

AdminDigitalDownload

public AdminDigitalDownload()
Constructor


AdminDigitalDownload

public AdminDigitalDownload(com.workingdogs.village.Record vr,
                            org.apache.torque.util.Criteria c)
                     throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Promotion 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()
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Coupon object.

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

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

getMaxDownloads

public int getMaxDownloads()
Returns:
Returns the maxDownloads.

setMaxDownloads

public void setMaxDownloads(int maxDownloads)
Parameters:
maxDownloads - The maxDownloads to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

public void setProductId(int productId)
Parameters:
productId - The productId to set.

getTimesDownloaded

public int getTimesDownloaded()
Returns:
Returns the timesDownloaded.

setTimesDownloaded

public void setTimesDownloaded(int timesDownloaded)
Parameters:
timesDownloaded - The timesDownloaded to set.

getExpirationDate

public java.util.Date getExpirationDate()
Returns:
Returns the expirationDate.

setExpirationDate

public void setExpirationDate(java.util.Date expirationDate)
Parameters:
expirationDate - The expirationDate to set.

getLastModified

public java.util.Date getLastModified()
Returns:
Returns the lastModified.

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - The lastModified to set.

getDateAdded

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

setDateAdded

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


Copyright © 2006 DS Data Systems UK Ltd.