1
|
/**
|
2
|
* Copyright (C) 2018 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
package eu.etaxonomy.cdm.model.reference;
|
10
|
|
11
|
import eu.etaxonomy.cdm.common.DOI;
|
12
|
|
13
|
/**
|
14
|
* Interface used by all reference type interfaces to define
|
15
|
* if they support {@link DOI DOIs} or not.
|
16
|
* @author a.mueller
|
17
|
* @since 28.11.2018
|
18
|
*/
|
19
|
public interface IWithDoi {
|
20
|
|
21
|
/**
|
22
|
* Returns the references {@link DOI digital object identifier}.
|
23
|
*/
|
24
|
public DOI getDoi();
|
25
|
|
26
|
/**
|
27
|
* @see #getDoi()
|
28
|
* @param doi the DOI to set
|
29
|
*/
|
30
|
public void setDoi(DOI doi);
|
31
|
}
|