fedora.oai
Interface Record

All Known Implementing Classes:
SimpleRecord

public interface Record

Title: Record.java

Description: Metadata expressed in a single format with a header and optional "about" data which is descriptive of the metadata (such as rights of provenance statements).

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

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: Record.java,v 1.8 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.Set getAbouts()
          Get the 'about' portions of the record.
 Header getHeader()
          Get the header portion of the record.
 java.lang.String getMetadata()
          Get the metadata portion of the record.
 

Method Detail

getHeader

public Header getHeader()
Get the header portion of the record.


getMetadata

public java.lang.String getMetadata()
Get the metadata portion of the record. This must be an xml chunk in which the W3C schema is identified by the root element's xsi:schemaLocation attribute. If getHeader().isAvailable() is false, this may be null.


getAbouts

public java.util.Set getAbouts()
Get the 'about' portions of the record. There will be zero or more items in the resulting Set. These are descriptors of the metadata. These must be xml chunks in which the W3C schema is identified by the root element's xsi:schemaLocation attribute. If getHeader().isAvailable() is false, this may be null.