FileDocCategorySizeDatePackage
Child.javaAPI DocHibernate 3.2.5497Tue May 08 20:42:44 BST 2007org.hibernate.test.reattachment

Child.java

package org.hibernate.test.reattachment;

/**
 * Child entity
 *
 * @author Steve Ebersole
 */
public class Child {
	private String name;
	private Parent parent;

	public Child() {
	}

	public Child(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Parent getParent() {
		return parent;
	}

	public void setParent(Parent parent) {
		this.parent = parent;
	}
}