@Entity public class ProductOptionValueImpl extends java.lang.Object implements ProductOptionValue
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
attributeValue |
protected java.lang.Long |
displayOrder |
protected java.lang.Long |
id |
protected java.math.BigDecimal |
priceAdjustment |
protected ProductOption |
productOption |
| Constructor and Description |
|---|
ProductOptionValueImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeValue()
Gets the option value.
|
java.lang.Long |
getDisplayOrder()
Returns the order that the option value should be displayed in.
|
java.lang.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(java.lang.String attributeValue)
Sets the option value.
|
void |
setDisplayOrder(java.lang.Long displayOrder)
Sets the display order.
|
void |
setId(java.lang.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 java.lang.Long id
protected java.lang.String attributeValue
protected java.lang.Long displayOrder
protected java.math.BigDecimal priceAdjustment
protected ProductOption productOption
public java.lang.Long getId()
ProductOptionValuegetId in interface ProductOptionValuepublic void setId(java.lang.Long id)
ProductOptionValuesetId in interface ProductOptionValuepublic java.lang.String getAttributeValue()
ProductOptionValuegetAttributeValue in interface ProductOptionValuepublic void setAttributeValue(java.lang.String attributeValue)
ProductOptionValuesetAttributeValue in interface ProductOptionValuepublic java.lang.Long getDisplayOrder()
ProductOptionValuegetDisplayOrder in interface ProductOptionValuepublic void setDisplayOrder(java.lang.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 ProductOptionValuepublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.