source: OAIHarvester/trunk/OAIHarvester/src/main/java/eu/clarin/cmdi/oai/harvester/Header.java @ 1128

Last change on this file since 1128 was 1128, checked in by oschonef, 13 years ago
  • initial import of OAI harvester (... now for real ;)
  • Property svn:eol-style set to native
File size: 959 bytes
Line 
1package eu.clarin.cmdi.oai.harvester;
2import java.util.Date;
3import java.util.List;
4
5/**
6 * Interface for accessing the headers from harvested records.
7 */
8public interface Header {
9
10    /**
11     * Get the identifier of the record.
12     *
13     * @return the record identifier
14     */
15    public String getIdentifier();
16   
17    /**
18     * Get the date stamp of the record. The date stamp will automatically be
19     * converted from UTC to the local time zone.
20     *
21     * @return the date stamp of the record
22     */
23    public Date getDatestamp();
24   
25    /**
26     * Get the set names the record is a member of.
27     *
28     * @return the a list set names s or <code>null</code>
29     */
30    public List<String> getSets();
31   
32    /**
33     * Get the deleted state of the record
34     *
35     * @return <code>true</code> if the record is deleted,
36     *         <code>false</code> otherwise
37     */
38    public boolean isDeleted();
39   
40} // class Header
Note: See TracBrowser for help on using the repository browser.