Project

General

Profile

1
package eu.dnetlib.msro.openaireplus.api.objects;
2

    
3
import io.swagger.annotations.ApiModelProperty;
4

    
5
/**
6
 * Created by michele on 02/12/15.
7
 */
8
public class PidEntry {
9

    
10
	private String type;
11
	private String value;
12

    
13
	public PidEntry() {
14
	}
15

    
16
	public PidEntry(final String type, final String value) {
17
		this.type = type;
18
		this.value = value;
19
	}
20

    
21
	@ApiModelProperty(required = true, value = "E.g. doi, pmc, urn. See http://api.openaire.eu/vocabularies/dnet:pid_types")
22
	public String getType() {
23
		return type;
24
	}
25

    
26
	public void setType(final String type) {
27
		this.type = type;
28
	}
29

    
30
	@ApiModelProperty(required = true)
31
	public String getValue() {
32
		return value;
33
	}
34

    
35
	public void setValue(final String value) {
36
		this.value = value;
37
	}
38
}
(2-2/3)