forked from D-Net/dnet-hadoop
25 lines
399 B
Java
25 lines
399 B
Java
package eu.dnetlib.dhp.oa.dedup;
|
|
|
|
public enum PidType {
|
|
|
|
//from the less to the more important
|
|
undefined,
|
|
original,
|
|
orcid,
|
|
ror,
|
|
grid,
|
|
pdb,
|
|
arXiv,
|
|
pmid,
|
|
doi;
|
|
|
|
public static PidType classidValueOf(String s){
|
|
try {
|
|
return PidType.valueOf(s);
|
|
}
|
|
catch (Exception e) {
|
|
return PidType.undefined;
|
|
}
|
|
}
|
|
|
|
} |