DEPRECATED Use java.lang.String instead.

# com.bea.p13n.content.document
DocumentPk Class

public class DocumentPk
extends `com.bea.p13n.content.ContentPk`
implements `Serializable`

The primary key class for a Document.

Hierarchy
  `Object`
  `com.bea.p13n.content.ContentPk`
  `DocumentPk`

All Implemented Interfaces
  `Comparable`, `Serializable`

## Field Summary

Fields from com.bea.p13n.content`.`com.bea.p13n.content.ContentPk``
``identifier``

## Constructor Summary

DocumentPk() Default constructor.
DocumentPk(`String` identifier) Constructor that takes in all of the primary key attributes as parameters.

## Method Summary

`public int` | `compareTo`(`Object` o) Implements to compare the object against the identifier.
`public int` | `hashCode`() Override to use the hashcode of the identifier.
`public `String`` | `toString`() Returns the identifier.

Methods from `com.bea.p13n.content.`com.bea.p13n.content.ContentPk``
``equals`,`

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

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

## Constructor Detail

### DocumentPk

    public DocumentPk()

  Default constructor.

### DocumentPk

    public DocumentPk(String identifier)

  Constructor that takes in all of the primary key attributes as parameters. All attribute values will be set to the input parameter values.

## Method Detail

### compareTo(Object) Method

    public int compareTo(Object o)

Implements to compare the object against the identifier.

Overrides
  `ContentPk.compareTo(Object)`

### hashCode() Method

    public int hashCode()

Override to use the hashcode of the identifier.

Overrides
  `ContentPk.hashCode()`

### toString() Method

    public String toString()

Returns the identifier.

Overrides
  `ContentPk.toString()`