|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.data.DataIdentifier
public final class DataIdentifier
Opaque data identifier used to identify records in a data store. All identifiers must be serializable and implement the standard object equality and hash code methods.
| Constructor Summary | |
|---|---|
DataIdentifier(byte[] identifier)
Creates a data identifier from the hexadecimal string representation of the given bytes. |
|
DataIdentifier(String identifier)
Creates a data identifier from the given string. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Checks if the given object is a data identifier and has the same string representation as this one. |
int |
hashCode()
Returns the hash code of the identifier string. |
String |
toString()
Returns the identifier string. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataIdentifier(String identifier)
identifier - data identifierpublic DataIdentifier(byte[] identifier)
identifier - data identifier| Method Detail |
|---|
public String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectobject - other object
true if the given object is the same identifier,
false otherwisepublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||