FileDocCategorySizeDatePackage
Parent.javaAPI DocHibernate 3.2.5552Wed Aug 23 08:35:06 BST 2006org.hibernate.test.util.dtd

Parent

public class Parent extends Object
The Parent class.
author
Steve Ebersole

Fields Summary
private Long
id
private Set
children
Constructors Summary
Methods Summary
public java.util.IteratorgetChildren()

		return children.iterator();
	
public java.lang.LonggetId()


	   
		return id;
	
public ChildnewChild()

		Child child = new Child();
		child.setAge( 0 );

		child.injectParent( this );
		this.children.add( child );

		return child;