Interface SkuAttribute
- All Superinterfaces:
MultiTenantCloneable<SkuAttribute>,Serializable,ValueAssignable<String>
- All Known Implementing Classes:
SkuAttributeImpl
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
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.- Author:
- btaylor
-
Method Summary
Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable
createOrRetrieveCopyInstanceMethods inherited from interface org.broadleafcommerce.common.value.ValueAssignable
getValue, setValue
-
Method Details
-
getId
Long getId()Gets the id.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id- the new id
-
getSku
Sku getSku()Gets the sku.- Returns:
- the sku
-
setSku
Sets the sku.- Parameters:
sku- the new sku
-
getName
String getName()Gets the name.- Specified by:
getNamein interfaceValueAssignable<String>- Returns:
- the name
-
setName
Sets the name.- Specified by:
setNamein interfaceValueAssignable<String>- Parameters:
name- the new name
-