|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfedora.oai.SimpleHeader
Title: SimpleHeader.java
Description: A simple implementation of Header that provides getters on the values passed in the constructor.
-----------------------------------------------------------------------------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.
-----------------------------------------------------------------------------
| Constructor Summary | |
SimpleHeader(java.lang.String identifier,
java.util.Date datestamp,
java.util.Set setSpecs,
boolean isAvailable)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleHeader(java.lang.String identifier,
java.util.Date datestamp,
java.util.Set setSpecs,
boolean isAvailable)
| Method Detail |
public java.lang.String getIdentifier()
Header
getIdentifier in interface Headerpublic java.util.Date getDatestamp()
Header
getDatestamp in interface Headerpublic java.util.Set getSetSpecs()
Header
getSetSpecs in interface Headerpublic boolean isAvailable()
Header
isAvailable in interface Header
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||