source: SRUClient/trunk/src/main/java/eu/clarin/sru/client/SRURecordData.java @ 5797

Last change on this file since 5797 was 5797, checked in by Oliver Schonefeld, 10 years ago
  • add support for parsing extra response data
File size: 1.1 KB
Line 
1/**
2 * This software is copyright (c) 2012-2014 by
3 *  - Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
4 * This is free software. You can redistribute it
5 * and/or modify it under the terms described in
6 * the GNU General Public License v3 of which you
7 * should have received a copy. Otherwise you can download
8 * it from
9 *
10 *   http://www.gnu.org/licenses/gpl-3.0.txt
11 *
12 * @copyright Institut fuer Deutsche Sprache (http://www.ids-mannheim.de)
13 *
14 * @license http://www.gnu.org/licenses/gpl-3.0.txt
15 *  GNU General Public License v3
16 */
17package eu.clarin.sru.client;
18
19/**
20 * Interface for parsed record data objects.
21 *
22 */
23public interface SRURecordData {
24
25    /**
26     * This record is transient. If you want to store the data to process it
27     * later, you need to create a copy of the data.
28     *
29     * @return <code>true</code>, if record is transient,
30     *         <code>false</code> otherwise
31     */
32    public boolean isTransient();
33
34
35    /**
36     * The record schema for this record.
37     *
38     * @return the record schema
39     */
40    public String getRecordSchema();
41
42} // interface SRURecordData
Note: See TracBrowser for help on using the repository browser.