import java.util.ArrayList;\r
import java.util.List;\r
\r
-import eu.etaxonomy.cdm.model.name.TaxonName;\r
-import eu.etaxonomy.cdm.api.service.*;\r
-import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
+//import eu.etaxonomy.cdm.model.name.TaxonName;\r
+//import eu.etaxonomy.cdm.api.service.*;\r
+//import eu.etaxonomy.cdm.api.application.CdmApplicationController;\r
\r
\r
public class SimpleModel {\r
private void initialize() {\r
try {\r
//TODO Andreas\r
- List<TaxonName> tnList = new ArrayList<TaxonName>();\r
- TaxonName tn = new TaxonName();\r
- CdmApplicationController app = new CdmApplicationController();\r
- NameService ns = app.getNameService();\r
- tnList.add(ns.getTaxonNameById(1));\r
- tnList.add(ns.getTaxonNameById(4));\r
- tnList.add(ns.getTaxonNameById(28));\r
+// List<TaxonName> tnList = new ArrayList<TaxonName>();\r
+// TaxonName tn = new TaxonName();\r
+// CdmApplicationController app = new CdmApplicationController();\r
+// NameService ns = app.getNameService();\r
+// tnList.add(ns.getTaxonNameById(1));\r
+// tnList.add(ns.getTaxonNameById(4));\r
+// tnList.add(ns.getTaxonNameById(28));\r
\r
objects = new ArrayList();\r
NamedObject[] objects = {\r
- new Name(tnList.get(0).getName(), tnList.get(0).getGenus(),tnList.get(0).getInfraSpecificEpithet()),\r
- new Name(tnList.get(1).getName(), tnList.get(1).getGenus(),tnList.get(1).getInfraSpecificEpithet()),\r
- new Name(tnList.get(2).getName(), tnList.get(2).getGenus(),tnList.get(2).getInfraSpecificEpithet()),\r
+// new Name(tnList.get(0).getName(), tnList.get(0).getGenus(),tnList.get(0).getInfraSpecificEpithet()),\r
+// new Name(tnList.get(1).getName(), tnList.get(1).getGenus(),tnList.get(1).getInfraSpecificEpithet()),\r
+// new Name(tnList.get(2).getName(), tnList.get(2).getGenus(),tnList.get(2).getInfraSpecificEpithet()),\r
\r
new Name("Pilosella piloselloides (Vill.) Soják", "Pilosella", "piloselloides"),\r
new Name("Pilosella pavichii (Heuff.) Arv.-Touv.", "Pilosella", "pavichii"), \r