|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakartadmin.app.AdminProductAttribute
public class AdminProductAttribute
Product Option object for the Admin App
Field Summary | |
---|---|
private java.lang.String |
custom1
custom field |
private java.lang.String |
custom2
custom field |
private java.math.BigDecimal |
extPrice0
External attributes |
private java.math.BigDecimal |
extPrice1
|
private java.math.BigDecimal |
extPrice2
|
private java.math.BigDecimal |
extPrice3
|
private int |
id
id |
private int |
optionId
optionId |
private java.lang.String |
optionName
optionName |
private int |
optionValueId
optionValueId |
private java.lang.String |
optionValueName
optionValueName |
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 |
private int |
type
type of option |
static int |
TYPE_SIMPLE
Constant to define the Option type |
static int |
TYPE_VARIABLE_QUANTITY
Constant to define the Option type. |
Constructor Summary | |
---|---|
AdminProductAttribute()
Constructor |
|
AdminProductAttribute(com.workingdogs.village.Record vr,
org.apache.torque.util.Criteria c)
|
Method Summary | |
---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.math.BigDecimal |
getExtPrice0()
|
java.math.BigDecimal |
getExtPrice1()
|
java.math.BigDecimal |
getExtPrice2()
|
java.math.BigDecimal |
getExtPrice3()
|
int |
getId()
|
int |
getOptionId()
|
java.lang.String |
getOptionName()
|
int |
getOptionValueId()
|
java.lang.String |
getOptionValueName()
|
java.math.BigDecimal |
getPrice()
|
java.math.BigDecimal |
getPrice1()
|
java.math.BigDecimal |
getPrice2()
|
java.math.BigDecimal |
getPrice3()
|
java.lang.String |
getPricePrefix()
|
int |
getProductId()
|
int |
getType()
The type of option. |
void |
setCustom1(java.lang.String custom1)
|
void |
setCustom2(java.lang.String custom2)
|
void |
setExtPrice0(java.math.BigDecimal extPrice0)
|
void |
setExtPrice1(java.math.BigDecimal extPrice1)
|
void |
setExtPrice2(java.math.BigDecimal extPrice2)
|
void |
setExtPrice3(java.math.BigDecimal extPrice3)
|
void |
setId(int id)
|
void |
setOptionId(int optionId)
|
void |
setOptionName(java.lang.String optionName)
|
void |
setOptionValueId(int optionValueId)
|
void |
setOptionValueName(java.lang.String optionValueName)
|
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)
|
void |
setType(int type)
The type of option. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_SIMPLE
public static final int TYPE_VARIABLE_QUANTITY
private int id
private int productId
private int optionId
private java.lang.String optionName
private int optionValueId
private java.lang.String optionValueName
private int type
private java.math.BigDecimal price
private java.math.BigDecimal price1
private java.math.BigDecimal price2
private java.math.BigDecimal price3
private java.lang.String pricePrefix
private java.lang.String custom1
private java.lang.String custom2
private java.math.BigDecimal extPrice0
private java.math.BigDecimal extPrice1
private java.math.BigDecimal extPrice2
private java.math.BigDecimal extPrice3
Constructor Detail |
---|
public AdminProductAttribute()
public AdminProductAttribute(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c) throws com.workingdogs.village.DataSetException
vr
- c
-
com.workingdogs.village.DataSetException
Method Detail |
---|
public java.lang.String toString()
toString
in interface AdminObjectIf
toString
in class java.lang.Object
public int getId()
getId
in interface AdminObjectIf
public void setId(int id)
setId
in interface AdminObjectIf
id
- The id to set.public int getOptionId()
public void setOptionId(int optionId)
optionId
- The optionId to set.public int getOptionValueId()
public void setOptionValueId(int optionValueId)
optionValueId
- The optionValueId to set.public java.math.BigDecimal getPrice()
public void setPrice(java.math.BigDecimal price)
price
- The price to set.public java.lang.String getPricePrefix()
public void setPricePrefix(java.lang.String pricePrefix)
pricePrefix
- The pricePrefix to set.public int getProductId()
public void setProductId(int productId)
productId
- The productId to set.public java.math.BigDecimal getPrice1()
public void setPrice1(java.math.BigDecimal price1)
price1
- The price1 to set.public java.math.BigDecimal getPrice2()
public void setPrice2(java.math.BigDecimal price2)
price2
- The price2 to set.public java.math.BigDecimal getPrice3()
public void setPrice3(java.math.BigDecimal price3)
price3
- The price3 to set.public java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getOptionName()
public void setOptionName(java.lang.String optionName)
optionName
- the optionName to setpublic java.lang.String getOptionValueName()
public void setOptionValueName(java.lang.String optionValueName)
optionValueName
- the optionValueName to setpublic int getType()
public void setType(int type)
type
- the type to setpublic java.math.BigDecimal getExtPrice0()
public void setExtPrice0(java.math.BigDecimal extPrice0)
extPrice0
- the extPrice0 to setpublic java.math.BigDecimal getExtPrice1()
public void setExtPrice1(java.math.BigDecimal extPrice1)
extPrice1
- the extPrice1 to setpublic java.math.BigDecimal getExtPrice2()
public void setExtPrice2(java.math.BigDecimal extPrice2)
extPrice2
- the extPrice2 to setpublic java.math.BigDecimal getExtPrice3()
public void setExtPrice3(java.math.BigDecimal extPrice3)
extPrice3
- the extPrice3 to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |