@Entity public class ProductOptionValueImpl extends Object implements ProductOptionValue
| Modifier and Type | Field and Description |
|---|---|
protected String |
attributeValue |
protected Long |
displayOrder |
protected Long |
id |
protected BigDecimal |
priceAdjustment |
protected ProductOption |
productOption |
| Constructor and Description |
|---|
ProductOptionValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttributeValue()
Gets the option value.
|
Long |
getDisplayOrder()
Returns the order that the option value should be displayed in.
|
Long |
getId()
Returns unique identifier of the product option value.
|
Money |
getPriceAdjustment()
Gets the price adjustment associated with this value.
|
ProductOption |
getProductOption()
Returns the associated ProductOption
|
void |
setAttributeValue(String attributeValue)
Sets the option value.
|
void |
setDisplayOrder(Long displayOrder)
Sets the display order.
|
void |
setId(Long id)
Sets the unique identifier of the product option value.
|
void |
setPriceAdjustment(Money priceAdjustment)
Gets the price adjustment associated with this value.
|
void |
setProductOption(ProductOption productOption)
Sets the associated product option.
|
protected Long id
protected String attributeValue
protected Long displayOrder
protected BigDecimal priceAdjustment
protected ProductOption productOption
public Long getId()
ProductOptionValuegetId in interface ProductOptionValuepublic void setId(Long id)
ProductOptionValuesetId in interface ProductOptionValuepublic String getAttributeValue()
ProductOptionValuegetAttributeValue in interface ProductOptionValuepublic void setAttributeValue(String attributeValue)
ProductOptionValuesetAttributeValue in interface ProductOptionValuepublic Long getDisplayOrder()
ProductOptionValuegetDisplayOrder in interface ProductOptionValuepublic void setDisplayOrder(Long displayOrder)
ProductOptionValuesetDisplayOrder in interface ProductOptionValuepublic Money getPriceAdjustment()
ProductOptionValuegetPriceAdjustment in interface ProductOptionValuepublic void setPriceAdjustment(Money priceAdjustment)
ProductOptionValuesetPriceAdjustment in interface ProductOptionValuepublic ProductOption getProductOption()
ProductOptionValuegetProductOption in interface ProductOptionValuepublic void setProductOption(ProductOption productOption)
ProductOptionValuesetProductOption in interface ProductOptionValueCopyright © 2014. All Rights Reserved.