com.konakartadmin.app
Class AdminProductQuantity

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

public class AdminProductQuantity
extends java.lang.Object

Product Quantity object which contains the quantity of a product for different option value combinations


Field Summary
private  java.util.Date dateAvailable
          dateAvailable
private  java.lang.String encodedOptionValues
          encodedOptionValues {4}3{3}6 which means product_options of id==4 and product_options_values of id==3 followed by product_options of id==3 and product_options_values of id==6.
private  java.lang.Integer extQuantity
          extQuantity
private  int productId
          productId
private  int quantity
          quantity
private  java.lang.String sku
          SKU
 
Constructor Summary
AdminProductQuantity()
          Constructor
AdminProductQuantity(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
           
 
Method Summary
 java.util.Date getDateAvailable()
           
 java.lang.String getEncodedOptionValues()
           
 java.lang.Integer getExtQuantity()
           
 int getProductId()
           
 int getQuantity()
           
 java.lang.String getSku()
           
 void setDateAvailable(java.util.Date dateAvailable)
           
 void setEncodedOptionValues(java.lang.String encodedOptionValues)
           
 void setExtQuantity(java.lang.Integer extQuantity)
           
 void setProductId(int productId)
           
 void setQuantity(int quantity)
           
 void setSku(java.lang.String sku)
           
 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
productId


encodedOptionValues

private java.lang.String encodedOptionValues
encodedOptionValues {4}3{3}6 which means product_options of id==4 and product_options_values of id==3 followed by product_options of id==3 and product_options_values of id==6.


quantity

private int quantity
quantity


extQuantity

private java.lang.Integer extQuantity
extQuantity


sku

private java.lang.String sku
SKU


dateAvailable

private java.util.Date dateAvailable
dateAvailable

Constructor Detail

AdminProductQuantity

public AdminProductQuantity()
Constructor


AdminProductQuantity

public AdminProductQuantity(com.workingdogs.village.Record vr,
                            org.apache.torque.util.Criteria c)
                     throws com.workingdogs.village.DataSetException
Parameters:
vr -
c -
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 Option object.

getEncodedOptionValues

public java.lang.String getEncodedOptionValues()
Returns:
Returns the encodedOptionValues.

setEncodedOptionValues

public void setEncodedOptionValues(java.lang.String encodedOptionValues)
Parameters:
encodedOptionValues - The encodedOptionValues to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

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

getSku

public java.lang.String getSku()
Returns:
Returns the sku.

setSku

public void setSku(java.lang.String sku)
Parameters:
sku - The sku to set.

getDateAvailable

public java.util.Date getDateAvailable()
Returns:
the dateAvailable

setDateAvailable

public void setDateAvailable(java.util.Date dateAvailable)
Parameters:
dateAvailable - the dateAvailable to set

getQuantity

public int getQuantity()
Returns:
Returns the quantity.

setQuantity

public void setQuantity(int quantity)
Parameters:
quantity - The quantity to set.

getExtQuantity

public java.lang.Integer getExtQuantity()
Returns:
the extQuantity

setExtQuantity

public void setExtQuantity(java.lang.Integer extQuantity)
Parameters:
extQuantity - the extQuantity to set


Copyright © 2011 DS Data Systems UK Ltd.