2020-09-29 15:31:46 +02:00
|
|
|
|
2020-10-06 16:44:51 +02:00
|
|
|
package eu.dnetlib.dhp.oa.dedup.model;
|
2020-07-22 17:29:48 +02:00
|
|
|
|
|
|
|
public enum PidType {
|
|
|
|
|
2020-09-29 15:31:46 +02:00
|
|
|
// from the less to the more important
|
2020-10-06 16:21:34 +02:00
|
|
|
undefined, original, orcid, ror, grid, pdb, arXiv, pmid, pmc, doi;
|
2020-07-22 17:29:48 +02:00
|
|
|
|
2020-09-29 15:31:46 +02:00
|
|
|
public static PidType classidValueOf(String s) {
|
|
|
|
try {
|
|
|
|
return PidType.valueOf(s);
|
|
|
|
} catch (Exception e) {
|
|
|
|
return PidType.undefined;
|
|
|
|
}
|
|
|
|
}
|
2020-07-22 17:29:48 +02:00
|
|
|
|
2020-09-29 15:31:46 +02:00
|
|
|
}
|