org.broadleafcommerce.core.catalog.domain
Interface SkuAttribute

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SkuAttributeImpl

public interface SkuAttribute
extends java.io.Serializable

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
See Also:
SkuAttributeImpl}, {@link Sku}

Method Summary
 java.lang.Long getId()
          Gets the id.
 java.lang.String getName()
          Gets the name.
 java.lang.Boolean getSearchable()
          Gets the searchable.
 Sku getSku()
          Gets the sku.
 java.lang.String getValue()
          Gets the value.
 void setId(java.lang.Long id)
          Sets the id.
 void setName(java.lang.String name)
          Sets the name.
 void setSearchable(java.lang.Boolean searchable)
          Sets the searchable.
 void setSku(Sku sku)
          Sets the sku.
 void setValue(java.lang.String value)
          Sets the value.
 

Method Detail

getId

java.lang.Long getId()
Gets the id.

Returns:
the id

setId

void setId(java.lang.Long id)
Sets the id.

Parameters:
id - the new id

getValue

java.lang.String getValue()
Gets the value.

Returns:
the value

setValue

void setValue(java.lang.String value)
Sets the value.

Parameters:
value - the new value

getSearchable

java.lang.Boolean getSearchable()
Gets the searchable.

Returns:
the searchable

setSearchable

void setSearchable(java.lang.Boolean searchable)
Sets the searchable.

Parameters:
searchable - the new searchable

getSku

Sku getSku()
Gets the sku.

Returns:
the sku

setSku

void setSku(Sku sku)
Sets the sku.

Parameters:
sku - the new sku

getName

java.lang.String getName()
Gets the name.

Returns:
the name

setName

void setName(java.lang.String name)
Sets the name.

Parameters:
name - the new name


Copyright © 2012. All Rights Reserved.