Class TodoListListDTO
- java.lang.Object
-
- info.ejava.examples.jaxrs.todos.dto.TodoListListDTO
-
- All Implemented Interfaces:
Serializable
public class TodoListListDTO extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDprivate List<TodoListDTO>todoLists
-
Constructor Summary
Constructors Constructor Description TodoListListDTO()TodoListListDTO(List<TodoListDTO> todoLists)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()List<TodoListDTO>getTodoLists()voidsetCount(int count)voidsetTodoLists(List<TodoListDTO> todoLists)StringtoString()voidwithTodoList(TodoListDTO todoList)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
todoLists
private List<TodoListDTO> todoLists
-
-
Constructor Detail
-
TodoListListDTO
public TodoListListDTO()
-
TodoListListDTO
public TodoListListDTO(List<TodoListDTO> todoLists)
-
-
Method Detail
-
getTodoLists
public List<TodoListDTO> getTodoLists()
-
setTodoLists
public void setTodoLists(List<TodoListDTO> todoLists)
-
withTodoList
public void withTodoList(TodoListDTO todoList)
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
-