Class TodoList


  • @Entity
    public class TodoList
    extends Object
    This class provides an example owning entity in a one-to-many, uni-directional relationship where the members of the collection are subject to orphanRemoval when they are removed from the collection.
    • Field Detail

      • id

        private int id
    • Constructor Detail

      • TodoList

        public TodoList()
    • Method Detail

      • getId

        public int getId()
      • getTodos

        public List<Todo> getTodos()
      • setTodos

        public void setTodos​(List<Todo> todos)