com.konakartadmin.app
Class AdminProductToProduct

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

public class AdminProductToProduct
extends java.lang.Object
implements AdminObjectIf

ProductToProducte object for the Admin App


Field Summary
private  java.lang.String custom1
          custom1
private  java.lang.String custom2
          custom2
private  int id
          id
private  java.lang.String options
          options
private  int prodIdFrom
          prodIdFrom
private  int prodIdTo
          prodIdTo
private  int quantity
          quantity
private  int relationType
          relationType
private  java.lang.String storeId
          storeId
 
Constructor Summary
AdminProductToProduct()
          Constructor
AdminProductToProduct(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()
           
 int getId()
           
 java.lang.String getOptions()
           
 int getProdIdFrom()
           
 int getProdIdTo()
           
 int getQuantity()
           
 int getRelationType()
           
 java.lang.String getStoreId()
           
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setId(int id)
           
 void setOptions(java.lang.String options)
           
 void setProdIdFrom(int prodIdFrom)
           
 void setProdIdTo(int prodIdTo)
           
 void setQuantity(int quantity)
           
 void setRelationType(int relationType)
           
 void setStoreId(java.lang.String storeId)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private int id
id


prodIdFrom

private int prodIdFrom
prodIdFrom


prodIdTo

private int prodIdTo
prodIdTo


relationType

private int relationType
relationType


quantity

private int quantity
quantity


options

private java.lang.String options
options


custom1

private java.lang.String custom1
custom1


custom2

private java.lang.String custom2
custom2


storeId

private java.lang.String storeId
storeId

Constructor Detail

AdminProductToProduct

public AdminProductToProduct()
Constructor


AdminProductToProduct

public AdminProductToProduct(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 to Product object

getId

public int getId()
Specified by:
getId in interface AdminObjectIf
Returns:
the id

setId

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

getProdIdFrom

public int getProdIdFrom()
Returns:
the prodIdFrom

setProdIdFrom

public void setProdIdFrom(int prodIdFrom)
Parameters:
prodIdFrom - the prodIdFrom to set

getProdIdTo

public int getProdIdTo()
Returns:
the prodIdTo

setProdIdTo

public void setProdIdTo(int prodIdTo)
Parameters:
prodIdTo - the prodIdTo to set

getRelationType

public int getRelationType()
Returns:
the relationType

setRelationType

public void setRelationType(int relationType)
Parameters:
relationType - the relationType to set

getQuantity

public int getQuantity()
Returns:
the quantity

setQuantity

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

getOptions

public java.lang.String getOptions()
Returns:
the options

setOptions

public void setOptions(java.lang.String options)
Parameters:
options - the options 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

getStoreId

public java.lang.String getStoreId()
Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String storeId)
Parameters:
storeId - the storeId to set


Copyright © 2011 DS Data Systems UK Ltd.