Revision 48139
Added by Alessia Bardi almost 7 years ago
PidEntry.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.openaireplus.api.objects; |
2 | 2 |
|
3 |
//import io.swagger.annotations.ApiModelProperty;
|
|
3 |
import io.swagger.annotations.ApiModelProperty; |
|
4 | 4 |
|
5 | 5 |
/** |
6 | 6 |
* Created by michele on 02/12/15. |
... | ... | |
17 | 17 |
this.type = type; |
18 | 18 |
this.value = value; |
19 | 19 |
} |
20 |
//@ApiModelProperty(required = true, value="E.g. doi, pmc, urn. See http://api.openaire.eu/vocabularies/dnet:pid_types") |
|
20 |
|
|
21 |
@ApiModelProperty(required = true, value = "E.g. doi, pmc, urn. See http://api.openaire.eu/vocabularies/dnet:pid_types") |
|
21 | 22 |
public String getType() { |
22 | 23 |
return type; |
23 | 24 |
} |
... | ... | |
26 | 27 |
this.type = type; |
27 | 28 |
} |
28 | 29 |
|
29 |
//@ApiModelProperty(required = true)
|
|
30 |
@ApiModelProperty(required = true) |
|
30 | 31 |
public String getValue() { |
31 | 32 |
return value; |
32 | 33 |
} |
... | ... | |
34 | 35 |
public void setValue(final String value) { |
35 | 36 |
this.value = value; |
36 | 37 |
} |
37 |
} |
|
38 |
} |
Also available in: Unified diff
integrated (hopefully) all required changes from dnet40