com.dyuproject.demos.todolist.model
Class Todo

java.lang.Object
  extended by com.dyuproject.demos.todolist.model.Todo
All Implemented Interfaces:
FormatConverter.Bean, Serializable

public class Todo
extends Object
implements Serializable, FormatConverter.Bean

Author:
David Yu
See Also:
Serialized Form

Constructor Summary
Todo()
           
 
Method Summary
 void convert(FormatConverter.Builder builder, String format)
           
 String getContent()
           
 Long getId()
           
 String getTitle()
           
 User getUser()
           
 boolean isCompleted()
           
 void setCompleted(boolean completed)
           
 void setContent(String content)
           
 void setId(Long id)
           
 void setTitle(String title)
           
 void setUser(User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Todo

public Todo()
Method Detail

setId

public void setId(Long id)

getId

public Long getId()

setTitle

public void setTitle(String title)

getTitle

public String getTitle()

setContent

public void setContent(String content)

getContent

public String getContent()

setCompleted

public void setCompleted(boolean completed)

isCompleted

public boolean isCompleted()

setUser

public void setUser(User user)

getUser

public User getUser()

convert

public void convert(FormatConverter.Builder builder,
                    String format)
Specified by:
convert in interface FormatConverter.Bean


Copyright © 2013. All Rights Reserved.