com.elasticpath.domain.catalog
Interface CategoryType

All Superinterfaces:
Entity, EpDomain, Persistence, java.io.Serializable
All Known Implementing Classes:
CategoryTypeImpl

public interface CategoryType
extends Entity

Represents the type of a Category, which determines the set of attributes that it has. An example of a category type is "Shoe." Note that this differs from a category category, which might also be called "Shoes" because this describes the characteristics of the category rather than how they are displayed and organized in the store.


Method Summary
 AttributeGroup getAttributeGroup()
          Returns the category attribute group.
 java.lang.String getDescription()
          Get the category type description.
 java.lang.String getName()
          Get the category type name.
 java.lang.String getTemplate()
          Get the display template of this category.
 void setAttributeGroup(AttributeGroup attributeGroup)
          Sets the category attribute group.
 void setDescription(java.lang.String description)
          Set the category type description.
 void setName(java.lang.String name)
          Set the category type name.
 void setTemplate(java.lang.String template)
          Set the template.
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getAttributeGroup

AttributeGroup getAttributeGroup()
Returns the category attribute group.

Returns:
the category attribute group

getDescription

java.lang.String getDescription()
Get the category type description.

Returns:
the category type description

getName

java.lang.String getName()
Get the category type name.

Returns:
the category type name

getTemplate

java.lang.String getTemplate()
Get the display template of this category.

Returns:
the template

setAttributeGroup

void setAttributeGroup(AttributeGroup attributeGroup)
Sets the category attribute group.

Parameters:
attributeGroup - the category attribute group.

setDescription

void setDescription(java.lang.String description)
Set the category type description.

Parameters:
description - the category type description

setName

void setName(java.lang.String name)
Set the category type name.

Parameters:
name - the category type name

setTemplate

void setTemplate(java.lang.String template)
Set the template.

Parameters:
template - the template