|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.app.AdminDigitalDownload
public class AdminDigitalDownload
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 |
|---|
private int productId
private int customerId
private int maxDownloads
private int timesDownloaded
private java.util.Date expirationDate
private java.util.Date lastModified
private java.util.Date dateAdded
| Constructor Detail |
|---|
public AdminDigitalDownload()
public AdminDigitalDownload(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
throws com.workingdogs.village.DataSetException
vr - Record containing datac - Criteria containing column names
com.workingdogs.village.DataSetException| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId - The customerId to set.public int getMaxDownloads()
public void setMaxDownloads(int maxDownloads)
maxDownloads - The maxDownloads to set.public int getProductId()
public void setProductId(int productId)
productId - The productId to set.public int getTimesDownloaded()
public void setTimesDownloaded(int timesDownloaded)
timesDownloaded - The timesDownloaded to set.public java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)
expirationDate - The expirationDate to set.public java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified - The lastModified to set.public java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded - The dateAdded to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||