crop.setName(language, valueMap.get("vernacularName") ) ;
crop.setDefinition(language, valueMap.get("description") ) ;
String speciesId = valueMap.get("species") ;
if(speciesId != null) {
Species species = crop.getSpecies( speciesId ) ;
// speciesName is only stored in English for now?
species.setName("en", valueMap.get("speciesName"));
species.setDefinition(language, valueMap.get("speciesDescription"));
species.setGenus( valueMap.get("speciesGenus"));
Boolean isIncluded = new Boolean(StringUtils.defaultIfBlank(valueMap.get("speciesIncluded"), "true")) ;
species.isIncluded(isIncluded);
}
}
if ( _VERBOSE ){
System.out.println("loadTaxonomy() - catalog of crops:\n");
dumpCrops();