public class Comment extends Object implements Validatable
| Constructor and Description |
|---|
Comment() |
Comment(User commentBy,
ZonedDateTime commentTime,
String content) |
| Modifier and Type | Method and Description |
|---|---|
Comment |
commentBy(String commentBy) |
Comment |
commentBy(User commentBy) |
Comment |
commentTime(String commentTime) |
Comment |
commentTime(ZonedDateTime commentTime) |
Comment |
content(String content) |
boolean |
equals(Object obj) |
User |
getCommentBy() |
ZonedDateTime |
getCommentTime() |
String |
getContent() |
int |
hashCode() |
void |
setCommentBy(User commentBy) |
void |
setCommentTime(ZonedDateTime commentTime) |
void |
setContent(String content) |
void |
validate(ValidationResult result) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitvalidate, validate, validatepublic Comment()
public Comment(User commentBy, ZonedDateTime commentTime, String content)
public void validate(ValidationResult result)
validate in interface Validatablepublic User getCommentBy()
public void setCommentBy(User commentBy)
public ZonedDateTime getCommentTime()
public void setCommentTime(ZonedDateTime commentTime)
public Comment commentTime(ZonedDateTime commentTime)
public String getContent()
public void setContent(String content)
Copyright © 2015. All rights reserved.