public class User extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
User.CommentView |
static interface |
User.UserView |
| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Comment> |
getComments()
This gets the comments
|
String |
getName()
This gets the name
|
void |
setComments(Collection<Comment> comments)
This sets the comments
|
void |
setName(String name)
This sets the name
|
public String getName()
public void setName(String name)
name - the name to setpublic Collection<Comment> getComments()
public void setComments(Collection<Comment> comments)
comments - the comments to setCopyright © 2015. All rights reserved.