|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.core.data.AbstractDataRecord
public abstract class AbstractDataRecord
Abstract data record base class. This base class contains only
a reference to the data identifier of the record and implements
the standard Object
equality, hash code, and string
representation methods based on the identifier.
Constructor Summary | |
---|---|
AbstractDataRecord(DataIdentifier identifier)
Creates a data record with the given identifier. |
Method Summary | |
---|---|
boolean |
equals(Object object)
Checks if the given object is a data record with the same identifier as this one. |
DataIdentifier |
getIdentifier()
Returns the data identifier. |
int |
hashCode()
Returns the hash code of the data identifier. |
String |
toString()
Returns the string representation of the data identifier. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jackrabbit.core.data.DataRecord |
---|
getLength, getStream |
Constructor Detail |
---|
public AbstractDataRecord(DataIdentifier identifier)
identifier
- data identifierMethod Detail |
---|
public DataIdentifier getIdentifier()
getIdentifier
in interface DataRecord
data
- identifier
public String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
object
- other object
true
if the other object is a data record and has
the same identifier as this one, false
otherwisepublic int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |