DocumentPk Class
DEPRECATED Use java.lang.String instead.
- 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
-
DocumentPk()
- Default constructor.
|
-
DocumentPk(
String identifier)
- Constructor that takes in all of the primary key attributes as
parameters.
|
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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()