1 package org.controlhaus.hibernate;
2
3
4
5
6
7 /***
8 * @author <a href="mailto:mattis@inamo.no">Mathias Bjerke</a>
9 * @version $Id: Parent.java,v 1.1 2004/10/04 18:24:29 dandiep Exp $
10 */
11 public class Parent {
12
13 private long id;
14 private Child[] children;
15
16 public Parent() {
17 }
18
19 public long getId() {
20 return id;
21 }
22
23 public void setId(long id) {
24 this.id = id;
25 }
26
27 public Child[] getChildren() {
28 return children;
29 }
30
31 public void setChildren(Child[] children) {
32 this.children = children;
33 }
34 }