org.broadleafcommerce.core.catalog.domain
Class CategoryProductXrefPK

java.lang.Object
  extended by org.broadleafcommerce.core.catalog.domain.CategoryProductXrefPK
All Implemented Interfaces:
Serializable

@Embeddable
public class CategoryProductXrefPK
extends Object
implements Serializable

Author:
Jeff Fischer
See Also:
Serialized Form

Field Summary
protected  Category category
           
protected  Product product
          The product.
 
Constructor Summary
CategoryProductXrefPK()
           
 
Method Summary
 boolean equals(Object obj)
           
 Category getCategory()
           
 Product getProduct()
           
 int hashCode()
           
 void setCategory(Category category)
           
 void setProduct(Product product)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

protected Category category

product

protected Product product
The product.

Constructor Detail

CategoryProductXrefPK

public CategoryProductXrefPK()
Method Detail

getCategory

public Category getCategory()

setCategory

public void setCategory(Category category)

getProduct

public Product getProduct()

setProduct

public void setProduct(Product product)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2013. All Rights Reserved.