forked from D-Net/dnet-hadoop
added enumerated for the dump type
This commit is contained in:
parent
1832708c42
commit
44db258dc4
|
@ -40,4 +40,18 @@ public class Constants {
|
||||||
coarCodeLabelMap.put("c_14cb", "CLOSED");
|
coarCodeLabelMap.put("c_14cb", "CLOSED");
|
||||||
coarCodeLabelMap.put("c_f1cf", "EMBARGO");
|
coarCodeLabelMap.put("c_f1cf", "EMBARGO");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum DUMPTYPE {
|
||||||
|
COMPLETE("complete"), COMMUNITY("community"), FUNDER("funder");
|
||||||
|
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
DUMPTYPE(String type) {
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue