Commit ee78b28a authored by Matija Obreza's avatar Matija Obreza

Included CROPNAME in Genesys JSON

parent 95bfb92b
......@@ -182,6 +182,10 @@ public interface Api1Constants {
*/
public static final String ACCEURL = "acceUrl";
/**
* Crop name as provided by the gene bank
*/
public static final String CROPNAME = "cropName";
}
public static interface Collecting {
......
......@@ -200,6 +200,9 @@ public class GenesysJSON {
columnDef = new JsonField(Api1Constants.Accession.ACCEURL, RdfMCPD.ACCEURL).setType(String.class);
columns.add(columnDef);
columnDef = new JsonField(Api1Constants.Accession.CROPNAME, RdfMCPD.CROPNAME).setType(String.class);
columns.add(columnDef);
columnDef = new JsonField(Api1Constants.Accession.REMARKS, RdfMCPD.REMARKS).setAllowMultiple(true);
columns.add(columnDef);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment