|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.anotheria.moskitodemo.annotation.data.CommentBuilder
public class CommentBuilder
| Field Summary | |
|---|---|
protected String |
email
|
protected String |
firstName
|
protected String |
lastName
|
protected String |
text
|
protected long |
timestamp
|
protected boolean |
wishesUpdates
|
| Constructor Summary | |
|---|---|
CommentBuilder()
|
|
| Method Summary | |
|---|---|
Comment |
build()
|
CommentBuilder |
email(String aValue)
Sets the value of the email attribute. |
CommentBuilder |
firstName(String aValue)
Sets the value of the firstName attribute. |
CommentBuilder |
lastName(String aValue)
Sets the value of the lastName attribute. |
CommentBuilder |
text(String aValue)
Sets the value of the text attribute. |
CommentBuilder |
timestamp(long aValue)
Sets the value of the timestamp attribute. |
CommentBuilder |
wishesUpdates(boolean aValue)
Sets the value of the wishesUpdates attribute. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String firstName
protected String lastName
protected String email
protected String text
protected long timestamp
protected boolean wishesUpdates
| Constructor Detail |
|---|
public CommentBuilder()
| Method Detail |
|---|
public CommentBuilder firstName(String aValue)
public CommentBuilder lastName(String aValue)
public CommentBuilder email(String aValue)
public CommentBuilder text(String aValue)
public CommentBuilder timestamp(long aValue)
public CommentBuilder wishesUpdates(boolean aValue)
public Comment build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||