com.konakartadmin.app
Class AdminProductAttribute

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

public class AdminProductAttribute
extends java.lang.Object
implements AdminObjectIf

Product Option object for the Admin App


Field Summary
private  int id
          id
private  int optionId
          optionId
private  int optionValueId
          optionValueId
private  java.math.BigDecimal price
          price
private  java.math.BigDecimal price1
          price1
private  java.math.BigDecimal price2
          price2
private  java.math.BigDecimal price3
          price3
private  java.lang.String pricePrefix
          pricePrefix
private  int productId
          productId
 
Constructor Summary
AdminProductAttribute()
          Constructor
AdminProductAttribute(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
           
 
Method Summary
 int getId()
           
 int getOptionId()
           
 int getOptionValueId()
           
 java.math.BigDecimal getPrice()
           
 java.math.BigDecimal getPrice1()
           
 java.math.BigDecimal getPrice2()
           
 java.math.BigDecimal getPrice3()
           
 java.lang.String getPricePrefix()
           
 int getProductId()
           
 void setId(int id)
           
 void setOptionId(int optionId)
           
 void setOptionValueId(int optionValueId)
           
 void setPrice(java.math.BigDecimal price)
           
 void setPrice1(java.math.BigDecimal price1)
           
 void setPrice2(java.math.BigDecimal price2)
           
 void setPrice3(java.math.BigDecimal price3)
           
 void setPricePrefix(java.lang.String pricePrefix)
           
 void setProductId(int productId)
           
 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


productId

private int productId
productId


optionId

private int optionId
optionId


optionValueId

private int optionValueId
optionValueId


price

private java.math.BigDecimal price
price


price1

private java.math.BigDecimal price1
price1


price2

private java.math.BigDecimal price2
price2


price3

private java.math.BigDecimal price3
price3


pricePrefix

private java.lang.String pricePrefix
pricePrefix

Constructor Detail

AdminProductAttribute

public AdminProductAttribute()
Constructor


AdminProductAttribute

public AdminProductAttribute(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()
Specified by:
toString in interface AdminObjectIf
Overrides:
toString in class java.lang.Object
Returns:
Returns a string containing the attributes of the Option object.

getId

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

setId

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

getOptionId

public int getOptionId()
Returns:
Returns the optionId.

setOptionId

public void setOptionId(int optionId)
Parameters:
optionId - The optionId to set.

getOptionValueId

public int getOptionValueId()
Returns:
Returns the optionValueId.

setOptionValueId

public void setOptionValueId(int optionValueId)
Parameters:
optionValueId - The optionValueId to set.

getPrice

public java.math.BigDecimal getPrice()
Returns:
Returns the price.

setPrice

public void setPrice(java.math.BigDecimal price)
Parameters:
price - The price to set.

getPricePrefix

public java.lang.String getPricePrefix()
Returns:
Returns the pricePrefix.

setPricePrefix

public void setPricePrefix(java.lang.String pricePrefix)
Parameters:
pricePrefix - The pricePrefix to set.

getProductId

public int getProductId()
Returns:
Returns the productId.

setProductId

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

getPrice1

public java.math.BigDecimal getPrice1()
Returns:
Returns the price1.

setPrice1

public void setPrice1(java.math.BigDecimal price1)
Parameters:
price1 - The price1 to set.

getPrice2

public java.math.BigDecimal getPrice2()
Returns:
Returns the price2.

setPrice2

public void setPrice2(java.math.BigDecimal price2)
Parameters:
price2 - The price2 to set.

getPrice3

public java.math.BigDecimal getPrice3()
Returns:
Returns the price3.

setPrice3

public void setPrice3(java.math.BigDecimal price3)
Parameters:
price3 - The price3 to set.


Copyright © 2006 DS Data Systems UK Ltd.