@Override public YhteystietojenTyyppiDTO readYhteystietojenTyyppi(String yhteystietojenTyyppiOid) { for (YhteystietojenTyyppiDTO curYtt : yttRepo) { if (curYtt.getOid().equals(yhteystietojenTyyppiOid)) { return curYtt; } } return null; }
@Override public YhteystietojenTyyppiDTO readYhteystietojenTyyppi(String yhteystietojenTyyppiOid) { for (YhteystietojenTyyppiDTO curYtt : yttRepo) { if (curYtt.getOid().equals(yhteystietojenTyyppiOid)) { return curYtt; } } return null; }