@Test public void removeScChamber() { scJudgment.addScChamber(scChamberABC); scJudgment.addScChamber(scChamberDEF); scJudgment.removeScChamber(scChamberABC); assertEquals(1, scJudgment.getScChambers().size()); assertEquals(scChamberDEF, scJudgment.getScChambers().get(0)); }
public void removeScChamber(SupremeCourtChamber scChamber) { scChambers.remove(scChamber); }
SupremeCourtJudgment extends Judgment { public void removeScChamber(SupremeCourtChamber scChamber) { scChambers.remove(scChamber); } }
SupremeCourtJudgment extends Judgment { public void removeScChamber(SupremeCourtChamber scChamber) { scChambers.remove(scChamber); }  }
SupremeCourtJudgment extends Judgment { public void removeScChamber(SupremeCourtChamber scChamber) { scChambers.remove(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 void removeScChamber(SupremeCourtChamber scChamber) { scChambers.remove(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);  }