Class Category
java.lang.Object
com.broadleafcommerce.subscriptionoperation.domain.Category
- All Implemented Interfaces:
Serializable
Categories provide a way to group related
Products for merchandising, marketing,
and search results.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalAttribute(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected booleanbooleanReturn any additional attributes passed in the request not matching any defined properties.Map holding any additional attributes passed in the request not matching any defined properties.org.springframework.data.domain.Page<Product>The first page ofProductsbelonging to the category.inthashCode()voidsetAdditionalAttributes(Map<String, Object> additionalAttributes) Map holding any additional attributes passed in the request not matching any defined properties.voidsetProducts(org.springframework.data.domain.Page<Product> products) The first page ofProductsbelonging to the category.toString()
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
addAdditionalAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name- Name of the additional attributevalue- Value of the additional attribute
-
getAdditionalAttribute
Return any additional attributes passed in the request not matching any defined properties.- Returns:
- any additional attributes passed in the request not matching any defined properties.
-
getProducts
The first page ofProductsbelonging to the category. -
getAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setProducts
The first page ofProductsbelonging to the category. -
setAdditionalAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-