BEA Systems, Inc.

com.beasys.commerce.axiom.document
Class DocumentPk

java.lang.Object
  |
  +--com.beasys.commerce.foundation.SmartKey
        |
        +--com.beasys.commerce.axiom.content.ContentPk
              |
              +--com.beasys.commerce.axiom.document.DocumentPk

public class DocumentPk
extends ContentPk
implements java.io.Serializable

The primary key class for a Document.

This doesn't currently add any functionality, but it might in the future.

See Also:
Serialized Form

Fields inherited from class com.beasys.commerce.axiom.content.ContentPk
identifier
 
Constructor Summary
DocumentPk()
          Default constructor.
DocumentPk(java.lang.String identifier)
          Constructor that takes in all of the primary key attributes as parameters.
 
Method Summary
 int compareTo(java.lang.Object o)
          Implements the compareTo method.
 int hashCode()
          Override the hashCode() method
 java.lang.String toString()
          Returns the stringified version of the key class.
 
Methods inherited from class com.beasys.commerce.foundation.SmartKey
equals
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentPk

public DocumentPk()
Default constructor.

DocumentPk

public DocumentPk(java.lang.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

public int compareTo(java.lang.Object o)
Implements the compareTo method.
Overrides:
compareTo in class ContentPk

toString

public java.lang.String toString()
Returns the stringified version of the key class.
Overrides:
toString in class ContentPk

hashCode

public int hashCode()
Override the hashCode() method
Overrides:
hashCode in class ContentPk

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved