@Test public void removeAuthor() { dissentingOpinion.removeAuthor(AUTHORS[1]); assertEquals(Lists.newArrayList(AUTHORS[0], AUTHORS[2]), dissentingOpinion.getAuthors()); }
public void removeAuthor(String author) { this.authors.remove(author); }
ConstitutionalTribunalJudgmentDissentingOpinion extends DataObject { public void removeAuthor(String author) { this.authors.remove(author); } }
ConstitutionalTribunalJudgmentDissentingOpinion extends DataObject { public void removeAuthor(String author) { this.authors.remove(author); }  }
ConstitutionalTribunalJudgmentDissentingOpinion extends DataObject { public void removeAuthor(String author) { this.authors.remove(author); }  @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_ctj_opinion") @Override long getId(); @ManyToOne(fetch=FetchType.LAZY) Judgment getJudgment(); String getTextContent(); @Transient List<String> getAuthors(); void addAuthor(String author); boolean containsAuthor(String author); void removeAuthor(String author); void setJudgment(Judgment judgment); void setTextContent(String textContent); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
ConstitutionalTribunalJudgmentDissentingOpinion extends DataObject { public void removeAuthor(String author) { this.authors.remove(author); }  @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seq_ctj_opinion") @Override long getId(); @ManyToOne(fetch=FetchType.LAZY) Judgment getJudgment(); String getTextContent(); @Transient List<String> getAuthors(); void addAuthor(String author); boolean containsAuthor(String author); void removeAuthor(String author); void setJudgment(Judgment judgment); void setTextContent(String textContent); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }