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