org.hibernate.test.onetomany
Class Child
java.lang.Object
org.hibernate.test.onetomany.Child
public class Child
- extends Object
Constructor Summary |
Child()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Child
public Child()
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.
getParent
public Parent getParent()
- Returns:
- Returns the parent.
setParent
public void setParent(Parent parent)
- Parameters:
parent
- The parent to set.
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.