fedora.oai
Interface Header

All Known Implementing Classes:
SimpleHeader

public interface Header

Title: Header.java

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

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: Header.java,v 1.7 2005/01/11 20:06:05 cwilper Exp $
Author:
cwilper@cs.cornell.edu
See Also:
http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm#Record

Method Summary
 java.util.Date getDatestamp()
          Get the date of creation, modification or deletion of the record (in UTC) for the purpose of selective harvesting.
 java.lang.String getIdentifier()
          Get the unique identifier of the item.
 java.util.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

public java.lang.String getIdentifier()
Get the unique identifier of the item.


getDatestamp

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


getSetSpecs

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


isAvailable

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