Home >> All >> org >> hibernate >> test >> generatedkeys >> [ identity Javadoc ] |
Source code: org/hibernate/test/generatedkeys/identity/MyChild.java
1 package org.hibernate.test.generatedkeys.identity; 2 3 /** 4 * @author Steve Ebersole 5 */ 6 public class MyChild { 7 private Long id; 8 private String name; 9 private MyEntity inverseParent; 10 11 public MyChild() { 12 } 13 14 public MyChild(String name) { 15 this.name = name; 16 } 17 18 public Long getId() { 19 return id; 20 } 21 22 public void setId(Long id) { 23 this.id = id; 24 } 25 26 public String getName() { 27 return name; 28 } 29 30 public void setName(String name) { 31 this.name = name; 32 } 33 34 public MyEntity getInverseParent() { 35 return inverseParent; 36 } 37 38 public void setInverseParent(MyEntity inverseParent) { 39 this.inverseParent = inverseParent; 40 } 41 }