com.dyuproject.demos.todolist.model
Class Todo
java.lang.Object
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Todo
public Todo()
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.