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 long
serialVersionUID
private 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 int
getCount()
List<TodoListDTO>
getTodoLists()
void
setCount(int count)
void
setTodoLists(List<TodoListDTO> todoLists)
String
toString()
void
withTodoList(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)
-
-