Package org.apache.jackrabbit.core.data
Class DataIdentifier
java.lang.Object
org.apache.jackrabbit.core.data.DataIdentifier
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataIdentifier(String identifier) Creates a data identifier from the given string. -
Method Summary
-
Constructor Details
-
DataIdentifier
Creates a data identifier from the given string.- Parameters:
identifier- data identifier
-
-
Method Details
-
toString
Returns the identifier string. -
equals
Checks if the given object is a data identifier and has the same string representation as this one. -
hashCode
public int hashCode()Returns the hash code of the identifier string.
-