Class CategoryAttributeImpl
java.lang.Object
org.broadleafcommerce.core.catalog.domain.CategoryAttributeImpl
- All Implemented Interfaces:
Serializable,MultiTenantCloneable<CategoryAttribute>,ValueAssignable<String>,CategoryAttribute
- Author:
- Phillip Verheyden
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<G extends CategoryAttribute>
CreateResponse<G>booleanGets theCategory.getId()Gets the id.getName()Gets the name.getValue()Gets the value.inthashCode()voidsetCategory(Category category) Sets theCategory.voidSets the id.voidSets the name.voidSets the value.toString()
-
Field Details
-
id
-
name
-
value
-
category
-
-
Constructor Details
-
CategoryAttributeImpl
public CategoryAttributeImpl()
-
-
Method Details
-
getId
Description copied from interface:CategoryAttributeGets the id.- Specified by:
getIdin interfaceCategoryAttribute- Returns:
- the id
-
setId
Description copied from interface:CategoryAttributeSets the id.- Specified by:
setIdin interfaceCategoryAttribute- Parameters:
id- the new id
-
getValue
Description copied from interface:CategoryAttributeGets the value.- Specified by:
getValuein interfaceCategoryAttribute- Specified by:
getValuein interfaceValueAssignable<String>- Returns:
- the value
-
setValue
Description copied from interface:CategoryAttributeSets the value.- Specified by:
setValuein interfaceCategoryAttribute- Specified by:
setValuein interfaceValueAssignable<String>- Parameters:
value- the new value
-
getName
Description copied from interface:CategoryAttributeGets the name.- Specified by:
getNamein interfaceCategoryAttribute- Specified by:
getNamein interfaceValueAssignable<String>- Returns:
- the name
-
setName
Description copied from interface:CategoryAttributeSets the name.- Specified by:
setNamein interfaceCategoryAttribute- Specified by:
setNamein interfaceValueAssignable<String>- Parameters:
name- the new name
-
toString
-
getCategory
Description copied from interface:CategoryAttributeGets theCategory.- Specified by:
getCategoryin interfaceCategoryAttribute- Returns:
- the
Category
-
setCategory
Description copied from interface:CategoryAttributeSets theCategory.- Specified by:
setCategoryin interfaceCategoryAttribute- Parameters:
category- the newCategory
-
hashCode
public int hashCode() -
equals
-
createOrRetrieveCopyInstance
public <G extends CategoryAttribute> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException - Specified by:
createOrRetrieveCopyInstancein interfaceMultiTenantCloneable<CategoryAttribute>- Throws:
CloneNotSupportedException
-