KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > hql > KeyManyToOneKeyEntity


1 // $Id: KeyManyToOneKeyEntity.java,v 1.1 2005/06/08 19:31:26 steveebersole Exp $
2
package org.hibernate.test.hql;
3
4 /**
5  * Implementation of KeyManyToOneKeyEntity.
6  *
7  * @author Steve Ebersole
8  */

9 public class KeyManyToOneKeyEntity {
10     private Long JavaDoc id;
11     private String JavaDoc name;
12
13     public KeyManyToOneKeyEntity(String JavaDoc name) {
14         this.name = name;
15     }
16
17     public String JavaDoc getName() {
18         return name;
19     }
20
21     public void setName(String JavaDoc name) {
22         this.name = name;
23     }
24 }
25
Popular Tags