public class AdminProductAttribute
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 java.lang.String |
optionCode
optionCode
|
private int |
optionId
optionId
|
private java.lang.String |
optionName
optionName
|
private java.lang.String |
optionValueCode
optionValueCode
|
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 |
sortOrder
Sort Order
|
private int |
type
type of option
|
Constructor and Description |
---|
AdminProductAttribute()
Constructor
|
AdminProductAttribute(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c) |
Modifier and Type | Method and Description |
---|---|
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() |
java.lang.String |
getOptionCode() |
int |
getOptionId() |
java.lang.String |
getOptionName() |
java.lang.String |
getOptionValueCode() |
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 |
getSortOrder() |
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 |
setOptionCode(java.lang.String optionCode) |
void |
setOptionId(int optionId) |
void |
setOptionName(java.lang.String optionName) |
void |
setOptionValueCode(java.lang.String optionValueCode) |
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 |
setSortOrder(int sortOrder) |
void |
setType(int type)
The type of option.
|
java.lang.String |
toString() |
private int id
private int productId
private int optionId
private java.lang.String optionName
private java.lang.String optionCode
private int optionValueId
private java.lang.String optionValueName
private java.lang.String optionValueCode
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
private int sortOrder
public AdminProductAttribute()
public AdminProductAttribute(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- the vrc
- the ccom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public void setId(int id)
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 setpublic int getSortOrder()
public void setSortOrder(int sortOrder)
sortOrder
- the sortOrder to setpublic java.lang.String getOptionCode()
public void setOptionCode(java.lang.String optionCode)
optionCode
- the optionCode to setpublic java.lang.String getOptionValueCode()
public void setOptionValueCode(java.lang.String optionValueCode)
optionValueCode
- the optionValueCode to setCopyright © 2018 DS Data Systems UK Ltd.