# com.beasys.commerce.ebusiness.catalog
CategoryKey Class

public class CategoryKey
extends `CatalogItemKey`

The CategoryKey class is used to index and retrieve Category objects.

Hierarchy
  `Object`
  `CatalogItemKey`
  `CategoryKey`

All Implemented Interfaces
  `Cloneable`, `Comparable`, `Serializable`

## Field Summary

`public static final `CategoryKey`` | `ROOT` This key allows you to specify retrieval of items from the root of the category hierarchy.

## Constructor Summary

CategoryKey() Default constructor.
CategoryKey(`String` identifier) Class constructor.

## Method Summary

`public `Object`` | `clone`() clone implementation for CategoryKey.

Methods from `com.beasys.commerce.ebusiness.catalog.`CatalogItemKey``
``compareTo`, `equals`, `getIdentifier`, `hashCode`, `toString``

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `java.lang.`Comparable``
`compareTo`

## Field Detail

### ROOT

    public static final CategoryKey ROOT

  This key allows you to specify retrieval of items from the root of the category hierarchy.

## Constructor Detail

### CategoryKey

    public CategoryKey()

  Default constructor.

### CategoryKey

    public CategoryKey(String identifier)

  Class constructor.

## Method Detail

### clone() Method

    public Object clone()

clone implementation for CategoryKey.

Overrides
  `CatalogItemKey.clone()`

#### Returns

a clone of this object.