private void createYtt(String nimi, YhteystietoElementtiDTO extraField, List<OrganisaatioTyyppi> orgTyyppis) { YhteystietojenTyyppiDTO group1 = new YhteystietojenTyyppiDTO(); //group1.setNimiFi(nimi);//"Etsivä nuorisotyö"); group1.getAllLisatietokenttas().add(extraField);//newExtraField(System.currentTimeMillis() + "" + Math.random(), false, "Lankanumero", YhteystietoElementtiTyyppi.PUHELIN)); group1.getSovellettavatOrganisaatios().addAll(orgTyyppis); group1.setOid(createOid()); yttRepo.add(group1); }