1 package org.hibernate.test.subselectfetch; 3 4 import java.util.ArrayList ; 5 import java.util.List ; 6 7 10 public class Parent { 11 private String name; 12 private List children = new ArrayList (); 13 private List moreChildren = new ArrayList (); 14 15 Parent() {} 16 public Parent(String name) { 17 this.name = name; 18 } 19 20 public String getName() { 21 return name; 22 } 23 24 public void setName(String name) { 25 this.name = name; 26 } 27 28 public List getChildren() { 29 return children; 30 } 31 32 public void setChildren(List children) { 33 this.children = children; 34 } 35 36 public List getMoreChildren() { 37 return moreChildren; 38 } 39 40 public void setMoreChildren(List moreChildren) { 41 this.moreChildren = moreChildren; 42 } 43 44 45 } 46 | Popular Tags |