|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SkuAttribute
Implementations of this interface are used to hold data about a SKU's Attributes.
A SKU Attribute is a designator on a SKU that differentiates it from other similar SKUs
(for example: Blue attribute for hat).
You should implement this class if you want to make significant changes to how the
class is persisted. If you just want to add additional fields then you should
extend SkuAttributeImpl.
SkuAttributeImpl}, {@link Sku}| Method Summary | |
|---|---|
Long |
getId()
Gets the id. |
String |
getName()
Gets the name. |
Sku |
getSku()
Gets the sku. |
void |
setId(Long id)
Sets the id. |
void |
setName(String name)
Sets the name. |
void |
setSku(Sku sku)
Sets the sku. |
| Methods inherited from interface org.broadleafcommerce.common.value.Searchable |
|---|
getSearchable, setSearchable |
| Methods inherited from interface org.broadleafcommerce.common.value.ValueAssignable |
|---|
getValue, setValue |
| Method Detail |
|---|
Long getId()
void setId(Long id)
id - the new idSku getSku()
void setSku(Sku sku)
sku - the new skuString getName()
getName in interface ValueAssignable<String>void setName(String name)
setName in interface ValueAssignable<String>name - the new name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||