Project

General

Profile

« Previous | Next » 

Revision 9b78144a

Added by Andreas Müller over 12 years ago

BerlinModel import with user defined voc for AnnotationType (see last commit)

View differences:

cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/berlinModel/in/BerlinModelCommonNamesImport.java
326 326
				
327 327
				//status
328 328
				if (CdmUtils.isNotEmpty(status)){
329
					AnnotationType statusAnnotationType = getAnnotationType( state, STATUS_ANNOTATION_UUID, "status","The status of this object","status");
329
					AnnotationType statusAnnotationType = getAnnotationType( state, STATUS_ANNOTATION_UUID, "status","The status of this object","status", null);
330 330
					Annotation annotation = Annotation.NewInstance(status, statusAnnotationType, Language.DEFAULT());
331 331
					for (CommonTaxonName commonTaxonName : commonTaxonNames){
332 332
						commonTaxonName.addAnnotation(annotation);

Also available in: Unified diff