org.hibernate.test.onetomany
Class Parent

java.lang.Object
  extended by org.hibernate.test.onetomany.Parent

public class Parent
extends Object


Constructor Summary
Parent()
           
 
Method Summary
 Collection getChildren()
           
 Long getId()
           
 String getName()
           
 void setChildren(Collection children)
           
 void setId(Long id)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parent

public Parent()
Method Detail

getChildren

public Collection getChildren()
Returns:
Returns the children.

setChildren

public void setChildren(Collection children)
Parameters:
children - The children to set.

getId

public Long getId()
Returns:
Returns the id.

setId

public void setId(Long id)
Parameters:
id - The id to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.