org.broadleafcommerce.core.search.domain
Class CategorySearchFacetImpl

java.lang.Object
  extended by org.broadleafcommerce.core.search.domain.CategorySearchFacetImpl
All Implemented Interfaces:
Serializable, CategorySearchFacet

@Entity
public class CategorySearchFacetImpl
extends Object
implements CategorySearchFacet, Serializable

See Also:
Serialized Form

Field Summary
protected  Category category
           
protected  Long id
           
protected  SearchFacet searchFacet
           
protected  Long sequence
           
 
Constructor Summary
CategorySearchFacetImpl()
           
 
Method Summary
 Category getCategory()
          Gets the associated category
 Long getId()
          Gets the internal id
 SearchFacet getSearchFacet()
          Gets the associated search facet
 Long getSequence()
          Gets the priority of this search facet in relationship to other search facets in this category
 void setCategory(Category category)
          Sets the associated category
 void setId(Long id)
          Sets the internal id
 void setSearchFacet(SearchFacet searchFacet)
          Sets the associated search facet
 void setSequence(Long sequence)
          Sets the sequence of this search facet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

category

protected Category category

searchFacet

protected SearchFacet searchFacet

sequence

protected Long sequence
Constructor Detail

CategorySearchFacetImpl

public CategorySearchFacetImpl()
Method Detail

getId

public Long getId()
Description copied from interface: CategorySearchFacet
Gets the internal id

Specified by:
getId in interface CategorySearchFacet
Returns:
the internal id

setId

public void setId(Long id)
Description copied from interface: CategorySearchFacet
Sets the internal id

Specified by:
setId in interface CategorySearchFacet

getCategory

public Category getCategory()
Description copied from interface: CategorySearchFacet
Gets the associated category

Specified by:
getCategory in interface CategorySearchFacet
Returns:
the associated category

setCategory

public void setCategory(Category category)
Description copied from interface: CategorySearchFacet
Sets the associated category

Specified by:
setCategory in interface CategorySearchFacet

getSearchFacet

public SearchFacet getSearchFacet()
Description copied from interface: CategorySearchFacet
Gets the associated search facet

Specified by:
getSearchFacet in interface CategorySearchFacet
Returns:
the associated search facet

setSearchFacet

public void setSearchFacet(SearchFacet searchFacet)
Description copied from interface: CategorySearchFacet
Sets the associated search facet

Specified by:
setSearchFacet in interface CategorySearchFacet

getSequence

public Long getSequence()
Description copied from interface: CategorySearchFacet
Gets the priority of this search facet in relationship to other search facets in this category

Specified by:
getSequence in interface CategorySearchFacet
Returns:
the sequence of this search facet

setSequence

public void setSequence(Long sequence)
Description copied from interface: CategorySearchFacet
Sets the sequence of this search facet

Specified by:
setSequence in interface CategorySearchFacet
See Also:
#getPosition()


Copyright © 2013. All Rights Reserved.