@Test public void containsScChamber() { assertFalse(scJudgment.containsScChamber(scChamberABC)); assertFalse(scJudgment.containsScChamber(scChamberDEF)); scJudgment.addScChamber(scChamberABC); scJudgment.addScChamber(scChamberDEF); assertTrue(scJudgment.containsScChamber(scChamberABC)); assertTrue(scJudgment.containsScChamber(scChamberDEF)); }
public boolean containsScChamber(SupremeCourtChamber scChamber) { return scChambers.contains(scChamber); }
SupremeCourtJudgment extends Judgment { public boolean containsScChamber(SupremeCourtChamber scChamber) { return scChambers.contains(scChamber); } }
SupremeCourtJudgment extends Judgment { public boolean containsScChamber(SupremeCourtChamber scChamber) { return scChambers.contains(scChamber); }  }
SupremeCourtJudgment extends Judgment { public boolean containsScChamber(SupremeCourtChamber scChamber) { return scChambers.contains(scChamber); }  @ManyToOne SupremeCourtJudgmentForm getScJudgmentForm(); @Enumerated(EnumType.STRING) PersonnelType getPersonnelType(); @ManyToOne SupremeCourtChamberDivision getScChamberDivision(); @Transient List<SupremeCourtChamber> getScChambers(); @Transient @Override CourtType getCourtType(); boolean containsScChamber(SupremeCourtChamber scChamber); void addScChamber(SupremeCourtChamber scChamber); void removeScChamber(SupremeCourtChamber scChamber); void setScJudgmentForm(SupremeCourtJudgmentForm scJudgmentForm); void setPersonnelType(PersonnelType personnelType); void setScChamberDivision(SupremeCourtChamberDivision scChamberDivision); }
SupremeCourtJudgment extends Judgment { public boolean containsScChamber(SupremeCourtChamber scChamber) { return scChambers.contains(scChamber); }  @ManyToOne SupremeCourtJudgmentForm getScJudgmentForm(); @Enumerated(EnumType.STRING) PersonnelType getPersonnelType(); @ManyToOne SupremeCourtChamberDivision getScChamberDivision(); @Transient List<SupremeCourtChamber> getScChambers(); @Transient @Override CourtType getCourtType(); boolean containsScChamber(SupremeCourtChamber scChamber); void addScChamber(SupremeCourtChamber scChamber); void removeScChamber(SupremeCourtChamber scChamber); void setScJudgmentForm(SupremeCourtJudgmentForm scJudgmentForm); void setPersonnelType(PersonnelType personnelType); void setScChamberDivision(SupremeCourtChamberDivision scChamberDivision);  }