|
||||||||||
| 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(AbstractDataStore store,
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. |
String |
getReference()
Returns a secure reference to this binary, or null if no such
reference is available. |
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 |
|---|
getLastModified, getLength, getStream |
| Constructor Detail |
|---|
public AbstractDataRecord(AbstractDataStore store,
DataIdentifier identifier)
identifier - data identifier| Method Detail |
|---|
public DataIdentifier getIdentifier()
getIdentifier in interface DataRecordpublic String getReference()
DataRecordnull if no such
reference is available.
getReference in interface DataRecordnullpublic String toString()
toString in class Objectpublic boolean equals(Object object)
equals in class Objectobject - 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 | |||||||||