org.broadleafcommerce.core.catalog.domain
Class CategoryXrefImpl

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

@Entity
public class CategoryXrefImpl
extends Object
implements CategoryXref

The Class CategoryXrefImpl is for testing purposes only. It helps autogenerate the cross reference table properly with the DISPLY_ORDER column

Author:
krosenberg
See Also:
Serialized Form

Field Summary
protected  Long displayOrder
           
 
Constructor Summary
CategoryXrefImpl()
           
 
Method Summary
 boolean equals(Object o)
           
 Category getCategory()
           
 CategoryXrefPK getCategoryXrefPK()
           
 Long getDisplayOrder()
           
 Category getSubCategory()
           
 int hashCode()
           
 void setCategory(Category category)
           
 void setCategoryXrefPK(CategoryXrefPK categoryXrefPK)
           
 void setDisplayOrder(Long displayOrder)
           
 void setSubCategory(Category subCategory)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

displayOrder

protected Long displayOrder
Constructor Detail

CategoryXrefImpl

public CategoryXrefImpl()
Method Detail

getCategoryXrefPK

public CategoryXrefPK getCategoryXrefPK()

setCategoryXrefPK

public void setCategoryXrefPK(CategoryXrefPK categoryXrefPK)

getDisplayOrder

public Long getDisplayOrder()
Specified by:
getDisplayOrder in interface CategoryXref

setDisplayOrder

public void setDisplayOrder(Long displayOrder)
Specified by:
setDisplayOrder in interface CategoryXref

getCategory

public Category getCategory()
Specified by:
getCategory in interface CategoryXref
Returns:
See Also:
org.broadleafcommerce.core.catalog.domain.CategoryXrefImpl.CategoryXrefPK#getCategory()

setCategory

public void setCategory(Category category)
Specified by:
setCategory in interface CategoryXref
Parameters:
category -
See Also:
org.broadleafcommerce.core.catalog.domain.CategoryXrefImpl.CategoryXrefPK#setCategory(org.broadleafcommerce.core.catalog.domain.Category)

getSubCategory

public Category getSubCategory()
Specified by:
getSubCategory in interface CategoryXref
Returns:
See Also:
org.broadleafcommerce.core.catalog.domain.CategoryXrefImpl.CategoryXrefPK#getSubCategory()

setSubCategory

public void setSubCategory(Category subCategory)
Specified by:
setSubCategory in interface CategoryXref
Parameters:
subCategory -
See Also:
org.broadleafcommerce.core.catalog.domain.CategoryXrefImpl.CategoryXrefPK#setSubCategory(org.broadleafcommerce.core.catalog.domain.Category)

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013. All Rights Reserved.