net.anotheria.moskitodemo.sqltrace.persistence.data
Class CommentBuilder

java.lang.Object
  extended by net.anotheria.moskitodemo.sqltrace.persistence.data.CommentBuilder

public class CommentBuilder
extends Object


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

firstName

protected String firstName

lastName

protected String lastName

email

protected String email

text

protected String text

timestamp

protected long timestamp

wishesUpdates

protected boolean wishesUpdates
Constructor Detail

CommentBuilder

public CommentBuilder()
Method Detail

firstName

public CommentBuilder firstName(String aValue)
Sets the value of the firstName attribute.


lastName

public CommentBuilder lastName(String aValue)
Sets the value of the lastName attribute.


email

public CommentBuilder email(String aValue)
Sets the value of the email attribute.


text

public CommentBuilder text(String aValue)
Sets the value of the text attribute.


timestamp

public CommentBuilder timestamp(long aValue)
Sets the value of the timestamp attribute.


wishesUpdates

public CommentBuilder wishesUpdates(boolean aValue)
Sets the value of the wishesUpdates attribute.


build

public Comment build()


Copyright © 2010-2012 anotheria.net. All Rights Reserved.