Interface SkuAttribute

All Superinterfaces:
MultiTenantCloneable<SkuAttribute>, Serializable, ValueAssignable<String>
All Known Implementing Classes:
SkuAttributeImpl

public interface SkuAttribute extends ValueAssignable<String>, 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 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 ValueAssignable<String>
      Returns:
      the name
    • setName

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