Project

General

Profile

« Previous | Next » 

Revision fdc2fe2b

Added by Andreas Müller about 9 years ago

update ReferenceFactory method

View differences:

app-import/src/main/java/eu/etaxonomy/cdm/app/util/TestDatabase.java
126 126
	    element.addStatisticalValue(statisticalValue);
127 127
	    taxNameDescription.addElement(element);
128 128
	    
129
	    SpecimenOrObservationBase specimen = Specimen.NewInstance();
129
	    SpecimenOrObservationBase<?> specimen = Specimen.NewInstance();
130 130
	    
131 131
	    specimen.setIndividualCount(12);
132 132
	    
......
145 145
//	    List<Synonym> synonyms = new ArrayList<Synonym>();
146 146
	    List<AnnotatableEntity> homotypicalGroups;
147 147

  
148
		Reference citRef, sec;
148
		Reference<?> citRef, sec;
149 149
		BotanicalName name1, name2, name21, nameRoot1, nameFree, synName11, synName12, synName2, synNameFree;
150 150
		BotanicalName nameRoot2, nameR2_1, nameR2_2;
151 151
		Taxon child1, child2, child21, root1T, root2T, freeT;
......
230 230
		taxonomicNames.add(nameRoot2);
231 231
		
232 232
        // references
233
		ReferenceFactory refFactory = ReferenceFactory.newInstance();
234
		sec = refFactory.newBook();
233
		sec = ReferenceFactory.newBook();
235 234
		sec.setAuthorTeam(linne);
236 235
		sec.setTitleCache("Plant Specification & Taxonomy", true);
237 236
		references.add(sec);
238 237
		
239
		citRef = refFactory.newDatabase();
238
		citRef = ReferenceFactory.newDatabase();
240 239
		citRef.setAuthorTeam(linne);
241 240
		citRef.setTitleCache("BioCASE", true);
242 241
		references.add(citRef);

Also available in: Unified diff