com.konakartadmin.app
Class AdminProductToStore

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

public class AdminProductToStore
extends java.lang.Object
implements AdminObjectIf

ProductToStore object for the Admin App


Field Summary
private  java.lang.String custom1
          custom1
private  java.lang.String custom2
          custom2
private  java.lang.String custom3
          custom3
private  int priceId
          priceId
private  int productId
          productId
private  java.lang.String storeId
          storeId
 
Constructor Summary
AdminProductToStore()
          Constructor
AdminProductToStore(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the Product object from a Record object
 
Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 int getId()
           
 int getPriceId()
           
 int getProductId()
           
 java.lang.String getStoreId()
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setId(int id)
           
 void setPriceId(int priceId)
           
 void setProductId(int productId)
           
 void setStoreId(java.lang.String storeId)
           
 java.lang.String toString()
           
 java.lang.String toStringBrief()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

productId

private int productId
productId


storeId

private java.lang.String storeId
storeId


priceId

private int priceId
priceId


custom1

private java.lang.String custom1
custom1


custom2

private java.lang.String custom2
custom2


custom3

private java.lang.String custom3
custom3

Constructor Detail

AdminProductToStore

public AdminProductToStore()
Constructor


AdminProductToStore

public AdminProductToStore(com.workingdogs.village.Record vr,
                           org.apache.torque.util.Criteria c)
                    throws com.workingdogs.village.DataSetException
Instantiates the attributes of the Product 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 Product object and those of its Options.

toStringBrief

public java.lang.String toStringBrief()
Returns:
Returns a string containing selected attributes of the Product object

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
Returns the id (we'll use the productId)

setId

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

getPriceId

public int getPriceId()
Returns:
the priceId

setPriceId

public void setPriceId(int priceId)
Parameters:
priceId - the priceId to set

getProductId

public int getProductId()
Returns:
the productId

setProductId

public void setProductId(int productId)
Parameters:
productId - the productId 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

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.