Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

    java.lang.Object
      com.beasys.commerce.ebusiness.catalog.CatalogItemKey

All Implemented Interfaces:
  Cloneable, Comparable, Serializable

Direct Known Subclasses:
  CategoryKey, ProductItemKey

public class CatalogItemKey
extends Object
implements Serializable, Comparable, Cloneable

This class is the base class for keys used to look-up CatalogItems (Products and Categories).

See Also:
  `ProductItemKey`, `CategoryKey`, Serialized Form

Constructor Summary
`CatalogItemKey()` Default constructor.
`CatalogItemKey(String identifier)` Class constructor.

Method Summary
`Object` | `clone()` clone implementation for CatalogItemKeys.
`int` | `compareTo(Object key)` compareTo for the Comparable interface
`boolean` | `equals(Object key)` compareTo for the Comparable interface
`String` | `getIdentifier()` Get the key identifier.
`int` | `hashCode()`
`String` | `toString()` Builds a string representation of this object.

Methods inherited from class java.lang.Object
`finalize, getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### CatalogItemKey

    public CatalogItemKey()

  Default constructor.

### CatalogItemKey

    public CatalogItemKey(String identifier)

  Class constructor.

Parameters:
  `identifier` - A `CatalogItem` identifier.

Method Detail

### equals

    public boolean equals(Object key)

  compareTo for the Comparable interface

### compareTo

    public int compareTo(Object key)

  compareTo for the Comparable interface

  Specified by:
    `compareTo` in interface `Comparable`

### hashCode

    public int hashCode()

### getIdentifier

    public String getIdentifier()

  Get the key identifier.

  Returns:
    identifier.

### clone

    public Object clone()

  clone implementation for CatalogItemKeys.

  Returns:
    copy of this key.

### toString

    public String toString()

  Builds a string representation of this object.

  Returns:
    the string

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved