Project

General

Profile

« Previous | Next » 

Revision 0d26082d

Added by Andreas Müller over 4 years ago

ref #8509 handle new ERMS quality status "Thematic Editor"

View differences:

cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTransformer.java
85 85
	private static int QUALITY_STATUS_ADD_BY_DBMT= 2;
86 86
	private static int QUALITY_STATUS_CHECKED_EDITOR = 3;
87 87
	private static int QUALITY_STATUS_EDITED_BY_DBMT = 4;
88
	private static int QUALITY_STATUS_THEMATIC_EDITOR = 5;
88 89

  
89 90
	// marker type
90 91
	public static final UUID uuidMarkerGuidIsMissing = UUID.fromString("24e70843-05e2-44db-954b-84df0d23ea20");
......
2357 2358
				return QUALITY_STATUS_CHECKED_EDITOR;
2358 2359
			}else if (statusSet.contains("Edited by Database Management Team")){
2359 2360
				return QUALITY_STATUS_EDITED_BY_DBMT;
2360
			}else{
2361
			}else if (statusSet.contains("Added/edited by Thematic Editor")){
2362
                return QUALITY_STATUS_THEMATIC_EDITOR;
2363
            }else{
2361 2364
				logger.warn("Unknown ERMS quality status: " + statusSet.iterator().next() + " for taxon name " + taxonName.getTitleCache());
2362 2365
				return null;
2363 2366
			}

Also available in: Unified diff