com.elasticpath.domain.catalog.impl
Class CategoryTypeImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractEntityImpl
              extended by com.elasticpath.domain.catalog.impl.CategoryTypeImpl
All Implemented Interfaces:
CategoryType, Entity, EpDomain, Persistence, java.io.Serializable

public class CategoryTypeImpl
extends AbstractEntityImpl
implements CategoryType

Represents a default implmentation of CategoryType.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
CategoryTypeImpl()
          The default constructor.
 
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()
          Returns the display template of this category type.
 void setAttributeGroup(AttributeGroup categoryAttributeGroup)
          Sets the category attribute group.
 void setDefaultValues()
          Set default values for those fields need default values.
 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 class com.elasticpath.domain.impl.AbstractEntityImpl
convertAttributeGroupAttributes, getGuid, setGuid
 
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
 
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl
getElasticPath, setElasticPath
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.elasticpath.domain.Entity
getGuid, setGuid
 
Methods inherited from interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

CategoryTypeImpl

public CategoryTypeImpl()
The default constructor.

Method Detail

getAttributeGroup

public AttributeGroup getAttributeGroup()
Returns the category attribute group.

Specified by:
getAttributeGroup in interface CategoryType
Returns:
the category attribute group

getDescription

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

Specified by:
getDescription in interface CategoryType
Returns:
the category type description

getName

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

Specified by:
getName in interface CategoryType
Returns:
the category type name

getTemplate

public java.lang.String getTemplate()
Returns the display template of this category type.

Specified by:
getTemplate in interface CategoryType
Returns:
the template

setAttributeGroup

public void setAttributeGroup(AttributeGroup categoryAttributeGroup)
Sets the category attribute group.

Specified by:
setAttributeGroup in interface CategoryType
Parameters:
categoryAttributeGroup - the category attribute group.

setDefaultValues

public void setDefaultValues()
Set default values for those fields need default values.

Specified by:
setDefaultValues in interface Persistence
Overrides:
setDefaultValues in class AbstractEntityImpl

setDescription

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

Specified by:
setDescription in interface CategoryType
Parameters:
description - the category type description

setName

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

Specified by:
setName in interface CategoryType
Parameters:
name - the category type name

setTemplate

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

Specified by:
setTemplate in interface CategoryType
Parameters:
template - the template