public abstract class AbstractDataRecord extends Object implements DataRecord
DataRecord
Constructor and Description |
---|
AbstractDataRecord(AbstractSharedBackend backend,
DataIdentifier identifier)
Creates a data record with the given identifier.
|
Modifier and Type | Method and Description |
---|---|
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()
Delegates the call to the backend to retrieve reference.
|
int |
hashCode()
Returns the hash code of the data identifier.
|
String |
toString()
Returns the string representation of the data identifier.
|
getLastModified, getLength, getStream
public AbstractDataRecord(AbstractSharedBackend backend, DataIdentifier identifier)
identifier
- data identifierpublic DataIdentifier getIdentifier()
getIdentifier
in interface DataRecord
public String getReference()
getReference
in interface DataRecord
public String toString()
public boolean equals(Object object)
Copyright © 2010 - 2020 Adobe. All Rights Reserved