org.fcrepo.oai
Interface Header

All Known Implementing Classes:
SimpleHeader

public interface Header

Describes a record in the repository with the associated item identifier, record datestamp, item set membership, and record deletion indicator.

Author:
Chris Wilper
See Also:
http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm#Record

Method Summary
 Date getDatestamp()
          Get the date of creation, modification or deletion of the record (in UTC) for the purpose of selective harvesting.
 String getIdentifier()
          Get the unique identifier of the item.
 Set getSetSpecs()
          Get a (possibly empty) Set of Strings indicating the repository 'set' membership of the item, for the purpose of selective harvesting.
 boolean isAvailable()
          Tells whether the record is currently available.
 

Method Detail

getIdentifier

String getIdentifier()
Get the unique identifier of the item.


getDatestamp

Date getDatestamp()
Get the date of creation, modification or deletion of the record (in UTC) for the purpose of selective harvesting.


getSetSpecs

Set getSetSpecs()
Get a (possibly empty) Set of Strings indicating the repository 'set' membership of the item, for the purpose of selective harvesting.


isAvailable

boolean isAvailable()
Tells whether the record is currently available. This should only return false if the repository supports deletions.



Copyright © 2011 DuraSpace. All Rights Reserved.