@Test public void hasImportCorrection() { assertTrue(correctionList.hasImportCorrection(correctionJudgeNameNowak)); assertTrue(correctionList.hasImportCorrection(correctionJudgeNameKowalski)); assertTrue(correctionList.hasImportCorrection(correctionJudgmentType)); ImportCorrection correctionJudgeNameKowalskiNew = createUpdate(judgeJanKowalski).ofProperty(NAME).oldValue("Sędzia " + judgeJanKowalski.getName()).newValue(judgeJanKowalski.getName()).build(); assertTrue(correctionList.hasImportCorrection(correctionJudgeNameKowalski)); correctionJudgeNameKowalskiNew.setChangeOperation(ChangeOperation.CREATE); assertTrue(correctionList.hasImportCorrection(correctionJudgeNameKowalski)); }
public boolean hasImportCorrection(ImportCorrection importCorrection) { return getImportCorrections().contains(importCorrection); }
ImportCorrectionList { public boolean hasImportCorrection(ImportCorrection importCorrection) { return getImportCorrections().contains(importCorrection); } }
ImportCorrectionList { public boolean hasImportCorrection(ImportCorrection importCorrection) { return getImportCorrections().contains(importCorrection); }  }
ImportCorrectionList { public boolean hasImportCorrection(ImportCorrection importCorrection) { return getImportCorrections().contains(importCorrection); }  void addCorrection(ImportCorrection importCorrection); void changeCorrectedObject(DataObject oldObject, DataObject newObject); int getNumberOfCorrections(); boolean hasImportCorrection(ImportCorrection importCorrection); List<ImportCorrection> getImportCorrections(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
ImportCorrectionList { public boolean hasImportCorrection(ImportCorrection importCorrection) { return getImportCorrections().contains(importCorrection); }  void addCorrection(ImportCorrection importCorrection); void changeCorrectedObject(DataObject oldObject, DataObject newObject); int getNumberOfCorrections(); boolean hasImportCorrection(ImportCorrection importCorrection); List<ImportCorrection> getImportCorrections(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); public List<ImportCorrection> importCorrections; }