public class ConversationCommentInfo extends Object implements ConversationComment, Serializable, Comparable<ConversationCommentInfo>
Constructor and Description |
---|
ConversationCommentInfo() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConversationCommentInfo o) |
String |
getCommentCreateTime()
Get the time that the comment was created
See
getTimeFromDate(java.util.Date) |
int |
getCommentCreationDay()
Get the day of the year.
|
String |
getCommentCreationDayDisplay()
Get some date display text for when the comment was created.
|
RichText |
getCommentText()
Get the text of the comment.
|
String |
getHumanReadableDate()
Turn the comment's update time into something more suitable for human viewing
See
makeDateHumanReadable(java.util.Date) |
String |
getId()
The system assigned unique id to identify this Object.
|
Meta |
getMeta()
Create and last update info for the structure.
|
boolean |
isByAdvisor()
Determine if the comment was made by the advisor or by the student.
|
boolean |
isReadOnce()
Determine if the comment has been read at least once by the other party.
|
void |
setByAdvisor(boolean byAdvisor) |
void |
setCommentText(RichText commentText) |
void |
setId(String id) |
void |
setMeta(Meta meta) |
void |
setReadOnce(boolean readOnce) |
public ConversationCommentInfo()
public String getId()
HasId
public Meta getMeta()
HasMeta
public boolean isByAdvisor()
ConversationComment
isByAdvisor
in interface ConversationComment
public void setByAdvisor(boolean byAdvisor)
public boolean isReadOnce()
ConversationComment
isReadOnce
in interface ConversationComment
public void setReadOnce(boolean readOnce)
public RichText getCommentText()
ConversationComment
getCommentText
in interface ConversationComment
public void setCommentText(RichText commentText)
public int compareTo(ConversationCommentInfo o)
compareTo
in interface Comparable<ConversationCommentInfo>
public String getHumanReadableDate()
makeDateHumanReadable(java.util.Date)
public String getCommentCreateTime()
getTimeFromDate(java.util.Date)
public int getCommentCreationDay()
public String getCommentCreationDayDisplay()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.