org.broadleafcommerce.core.catalog.domain
Class ProductSkuImpl

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.ProductImpl
      extended by org.broadleafcommerce.core.catalog.domain.ProductSkuImpl
All Implemented Interfaces:
Serializable, Product, ProductSku

@Entity
public class ProductSkuImpl
extends ProductImpl
implements ProductSku

Author:
jfischer
See Also:
Serialized Form

Field Summary
protected  Sku sku
           
 
Fields inherited from class org.broadleafcommerce.core.catalog.domain.ProductImpl
activeEndDate, activeStartDate, allParentCategories, allSkus, crossSaleProducts, defaultCategory, description, dimension, id, isFeaturedProduct, isMachineSortable, longDescription, manufacturer, model, name, productAttributes, productImages, productMedia, promoMessage, skus, upSaleProducts, weight
 
Constructor Summary
ProductSkuImpl()
           
 
Method Summary
 boolean equals(Object obj)
           
 Sku getSku()
          Retrieve the sku
 int hashCode()
           
 void setSku(Sku sku)
          Set the sku
 
Methods inherited from class org.broadleafcommerce.core.catalog.domain.ProductImpl
getActiveEndDate, getActiveStartDate, getAllParentCategories, getAllSkus, getContainer, getCrossSaleProducts, getDefaultCategory, getDepth, getDescription, getDimension, getDimensionString, getGirth, getHeight, getId, getLongDescription, getManufacturer, getModel, getName, getProductAttributes, getProductImage, getProductImages, getProductMedia, getPromoMessage, getSize, getSkus, getUpSaleProducts, getWeight, getWidth, isActive, isFeaturedProduct, isMachineSortable, setActiveEndDate, setActiveStartDate, setAllParentCategories, setAllSkus, setContainer, setCrossSaleProducts, setDefaultCategory, setDepth, setDescription, setDimension, setFeaturedProduct, setGirth, setHeight, setId, setLongDescription, setMachineSortable, setManufacturer, setModel, setName, setProductAttributes, setProductImages, setProductMedia, setPromoMessage, setSize, setUpSaleProducts, setWeight, setWidth
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.broadleafcommerce.core.catalog.domain.Product
getActiveEndDate, getActiveStartDate, getAllParentCategories, getAllSkus, getContainer, getCrossSaleProducts, getDefaultCategory, getDepth, getDescription, getDimension, getDimensionString, getGirth, getHeight, getId, getLongDescription, getManufacturer, getModel, getName, getProductAttributes, getProductImage, getProductImages, getProductMedia, getPromoMessage, getSize, getSkus, getUpSaleProducts, getWeight, getWidth, isActive, isFeaturedProduct, isMachineSortable, setActiveEndDate, setActiveStartDate, setAllParentCategories, setAllSkus, setContainer, setCrossSaleProducts, setDefaultCategory, setDepth, setDescription, setDimension, setFeaturedProduct, setGirth, setHeight, setId, setLongDescription, setMachineSortable, setManufacturer, setModel, setName, setProductAttributes, setProductImages, setProductMedia, setPromoMessage, setSize, setUpSaleProducts, setWeight, setWidth
 

Field Detail

sku

protected Sku sku
Constructor Detail

ProductSkuImpl

public ProductSkuImpl()
Method Detail

getSku

public Sku getSku()
Description copied from interface: ProductSku
Retrieve the sku

Specified by:
getSku in interface ProductSku
Returns:
sku

setSku

public void setSku(Sku sku)
Description copied from interface: ProductSku
Set the sku

Specified by:
setSku in interface ProductSku

hashCode

public int hashCode()
Overrides:
hashCode in class ProductImpl

equals

public boolean equals(Object obj)
Overrides:
equals in class ProductImpl


Copyright © 2012. All Rights Reserved.