Methods Summary |
---|
public int | compareTo(java.lang.Object obj)Sorts by create date followed by message subject.
if (this == obj) {
return 0;
}
MessageSummaryImpl rhs = (MessageSummaryImpl) obj;
int comparison = this.createDate.compareTo(rhs.createDate);
if (comparison != 0) {
return comparison;
}
comparison = this.subject.compareTo(rhs.subject);
if (comparison != 0) {
return comparison;
}
return 0;
|
public boolean | equals(java.lang.Object obj)
if (obj instanceof MessageSummaryImpl) {
MessageSummaryImpl rhs = (MessageSummaryImpl) obj;
return this.id == rhs.id;
}
return false;
|
public java.lang.String | getAuthorEmail()
return this.authorEmail;
|
public BoardSummary | getBoard()
return this.board;
|
public DayMonthYear | getCreateDate()
return this.createDate;
|
public long | getID()
return this.id;
|
public long | getInReplyTo()
return this.inReplyTo;
|
public java.lang.String | getSubject()
return this.subject;
|
public int | hashCode()
return (int) this.id;
|