Commit ff9d0ea4 authored by Viacheslav Pavlov's avatar Viacheslav Pavlov

Add AEGIS flag

parent cd1273af
......@@ -225,6 +225,9 @@ public class GenesysJSON {
columnDef = new JsonField(Api1Constants.Accession.MLSSTAT, RdfMCPD.MLSSTAT).setType(boolean.class);
columns.add(columnDef);
columnDef = new JsonField(Api1Constants.Accession.AEGIS, RdfMCPD.AEGIS).setType(boolean.class);
columns.add(columnDef);
columnDef = new JsonField(Api1Constants.Accession.INTRUST, RdfMCPD.FAOINTRUST).setType(boolean.class);
columns.add(columnDef);
......
......@@ -164,6 +164,9 @@ public class MCPD {
columnDef = new ColumnDef("MLSSTAT", "MLS status of the accession", ColumnDataType.BOOLEAN, false, RdfMCPD.MLSSTAT).setIncludeNull(false);
columns.add(columnDef);
columnDef = new ColumnDef("AEGIS", "Aegis status of the accession", ColumnDataType.BOOLEAN, false, RdfMCPD.AEGIS).setIncludeNull(false);
columns.add(columnDef);
columnDef = new ColumnDef("REMARKS", "Remarks", ColumnDataType.TEXT, false, RdfMCPD.REMARKS).setAllowMultiple(true);
columns.add(columnDef);
......
......@@ -23,6 +23,7 @@ public class RdfMCPD {
public static final String ACCENUMB = "http://purl.org/germplasm/germplasmTerm#germplasmID";
public static final String ACCENUMB_NEW = "https://www.genesys-pgr.org/rdf/mcpd#newAcceNumb";
public static final String AEGIS = "https://www.genesys-pgr.org/rdf/mcpd#aegis";
public static final String GENUS = "http://rs.tdwg.org/dwc/terms/genus";
public static final String GENUS_NEW = "https://www.genesys-pgr.org/rdf/mcpd#newGenus";
......
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