FileDocCategorySizeDatePackage
Parent.javaAPI DocHibernate 3.2.5945Wed Sep 01 21:30:28 BST 2004org.hibernate.test.compositeelement

Parent

public class Parent extends Object
author
gavin

Fields Summary
private Long
id
private String
name
private Collection
children
Constructors Summary
Parent()

	 
public Parent(String name)

		this.name = name;
	
Methods Summary
public java.util.CollectiongetChildren()

return
Returns the children.

		return children;
	
public java.lang.LonggetId()

return
Returns the id.

		return id;
	
public java.lang.StringgetName()

return
Returns the name.

		return name;
	
public voidsetChildren(java.util.Collection children)

param
children The children to set.

		this.children = children;
	
public voidsetId(java.lang.Long id)

param
id The id to set.

		this.id = id;
	
public voidsetName(java.lang.String name)

param
name The name to set.

		this.name = name;