com.konakart.json.app
Class J_DigitalDownload

java.lang.Object
  extended by com.konakart.json.app.J_DigitalDownload
All Implemented Interfaces:
java.io.Serializable

public class J_DigitalDownload
extends java.lang.Object
implements java.io.Serializable

The Digital Download class contains information about which customers are enabled to download products.

See Also:
Serialized Form

Constructor Summary
J_DigitalDownload()
           
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 int getCustomerId()
           
 java.util.Calendar getDateAdded()
           
 java.util.Calendar getExpirationDate()
          The date at which the download expires and the link will be removed from the UI.
 java.lang.String getFilePath()
          The path of the file which will override the filePath defined in the product object
 int getId()
           
 java.util.Calendar getLastModified()
           
 int getMaxDownloads()
          The maximum number of downloads that may be performed from a link, after which the link is removed.
 J_Product getProduct()
           
 int getProductId()
          The id of the digital download product.
 int getTimesDownloaded()
          The number of times that the product has been downloaded.
 void setCustom1(java.lang.String _custom1)
           
 void setCustom2(java.lang.String _custom2)
           
 void setCustom3(java.lang.String _custom3)
           
 void setCustomerId(int _customerId)
           
 void setDateAdded(java.util.Calendar _dateAdded)
           
 void setExpirationDate(java.util.Calendar _expirationDate)
          The date at which the download expires and the link will be removed from the UI.
 void setFilePath(java.lang.String _filePath)
          The path of the file which will override the filePath defined in the product object
 void setId(int _id)
           
 void setLastModified(java.util.Calendar _lastModified)
           
 void setMaxDownloads(int _maxDownloads)
          The maximum number of downloads that may be performed from a link, after which the link is removed.
 void setProduct(J_Product _product)
           
 void setProductId(int _productId)
          The id of the digital download product.
 void setTimesDownloaded(int _timesDownloaded)
          The number of times that the product has been downloaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_DigitalDownload

public J_DigitalDownload()
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int _id)
Parameters:
_id - the id to set

getCustomerId

public int getCustomerId()
Returns:
Returns the customerId.

setCustomerId

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

getDateAdded

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

setDateAdded

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

getExpirationDate

public java.util.Calendar getExpirationDate()
The date at which the download expires and the link will be removed from the UI.

Returns:
Returns the expirationDate.

setExpirationDate

public void setExpirationDate(java.util.Calendar _expirationDate)
The date at which the download expires and the link will be removed from the UI.

Parameters:
_expirationDate - The expirationDate to set.

getLastModified

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

setLastModified

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

getMaxDownloads

public int getMaxDownloads()
The maximum number of downloads that may be performed from a link, after which the link is removed.

Returns:
Returns the maxDownloads.

setMaxDownloads

public void setMaxDownloads(int _maxDownloads)
The maximum number of downloads that may be performed from a link, after which the link is removed.

Parameters:
_maxDownloads - The maxDownloads to set.

getProductId

public int getProductId()
The id of the digital download product.

Returns:
Returns the productId.

setProductId

public void setProductId(int _productId)
The id of the digital download product.

Parameters:
_productId - The productId to set.

getTimesDownloaded

public int getTimesDownloaded()
The number of times that the product has been downloaded.

Returns:
Returns the timesDownloaded.

setTimesDownloaded

public void setTimesDownloaded(int _timesDownloaded)
The number of times that the product has been downloaded.

Parameters:
_timesDownloaded - The timesDownloaded to set.

getProduct

public J_Product getProduct()
Returns:
Returns the product.

setProduct

public void setProduct(J_Product _product)
Parameters:
_product - The product to set.

getFilePath

public java.lang.String getFilePath()
The path of the file which will override the filePath defined in the product object

Returns:
the filePath

setFilePath

public void setFilePath(java.lang.String _filePath)
The path of the file which will override the filePath defined in the product object

Parameters:
_filePath - the filePath to set

getCustom1

public java.lang.String getCustom1()
Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String _custom2)
Parameters:
_custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String _custom3)
Parameters:
_custom3 - the custom3 to set


Copyright © 2011 DS Data Systems UK Ltd.