dnet45/modules/dnet-pace-core/trunk/src/main/java/eu/dnetlib/pace/model/Document.java @ 53193
1 |
package eu.dnetlib.pace.model; |
---|---|
2 |
|
3 |
import java.util.Set; |
4 |
|
5 |
/**
|
6 |
* The Interface Document. Models the common operations available on a Pace Document.
|
7 |
*/
|
8 |
public interface Document { |
9 |
|
10 |
/**
|
11 |
* Gets the identifier.
|
12 |
*
|
13 |
* @return the identifier
|
14 |
*/
|
15 |
String getIdentifier(); |
16 |
|
17 |
/**
|
18 |
* Fields.
|
19 |
*
|
20 |
* @return the iterable
|
21 |
*/
|
22 |
Iterable<Field> fields(); |
23 |
|
24 |
/**
|
25 |
* Values.
|
26 |
*
|
27 |
* @param name
|
28 |
* the name
|
29 |
* @return the field list
|
30 |
*/
|
31 |
Field values(String name); |
32 |
|
33 |
/**
|
34 |
* Field names.
|
35 |
*
|
36 |
* @return the sets the
|
37 |
*/
|
38 |
Set<String> fieldNames(); |
39 |
}
|