Interface SkuAttribute

All Superinterfaces:
org.broadleafcommerce.common.copy.MultiTenantCloneable<SkuAttribute>, Serializable, org.broadleafcommerce.common.value.ValueAssignable<String>
All Known Implementing Classes:
SkuAttributeImpl

public interface SkuAttribute extends org.broadleafcommerce.common.value.ValueAssignable<String>, org.broadleafcommerce.common.copy.MultiTenantCloneable<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.
Author:
btaylor
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the id.
    Gets the name.
    Gets the sku.
    void
    setId(Long id)
    Sets the id.
    void
    Sets the name.
    void
    setSku(Sku sku)
    Sets the sku.

    Methods inherited from interface org.broadleafcommerce.common.copy.MultiTenantCloneable

    createOrRetrieveCopyInstance

    Methods inherited from interface org.broadleafcommerce.common.value.ValueAssignable

    getValue, setValue
  • Method Details

    • getId

      Long getId()
      Gets the id.
      Returns:
      the id
    • setId

      void setId(Long id)
      Sets the id.
      Parameters:
      id - the new id
    • getSku

      Sku getSku()
      Gets the sku.
      Returns:
      the sku
    • setSku

      void setSku(Sku sku)
      Sets the sku.
      Parameters:
      sku - the new sku
    • getName

      String getName()
      Gets the name.
      Specified by:
      getName in interface org.broadleafcommerce.common.value.ValueAssignable<String>
      Returns:
      the name
    • setName

      void setName(String name)
      Sets the name.
      Specified by:
      setName in interface org.broadleafcommerce.common.value.ValueAssignable<String>
      Parameters:
      name - the new name