@Named @RequestScoped public class Comment extends Object
| Constructor and Description |
|---|
Comment() |
Comment(Comment other) |
Comment(Long id,
BlogEntry entry,
String author,
Date postDate,
String body) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getBody() |
BlogEntry |
getEntry() |
Long |
getId() |
Date |
getPostDate() |
void |
checkAuthor() |
boolean |
isRemember() |
void |
setAuthor(String author) |
void |
setBody(String body) |
void |
setEntry(BlogEntry entry) |
void |
setId(Long id) |
void |
setPostDate(Date postDate) |
void |
setRemember(boolean remember) |
void |
setUsers(Users users) |
String |
toString() |
public Comment()
public Comment(Comment other)
public void checkAuthor()
public BlogEntry getEntry()
public void setEntry(BlogEntry entry)
public Date getPostDate()
public void setPostDate(Date postDate)
public String getAuthor()
public void setAuthor(String author)
public boolean isRemember()
public void setRemember(boolean remember)
public String getBody()
public void setBody(String body)
public Long getId()
public void setId(Long id)
@Inject public void setUsers(Users users)
Copyright © 2008-2015. All Rights Reserved.