KickJava   Java API By Example, From Geeks To Geeks.

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


1 // $Id: EntityWithCrazyCompositeKey.java,v 1.1 2005/04/27 17:41:55 steveebersole Exp $
2
package org.hibernate.test.hql;
3
4 /**
5  * Implementation of EntityWithCrazyCompositeKey.
6  *
7  * @author Steve Ebersole
8  */

9 public class EntityWithCrazyCompositeKey {
10     private CrazyCompositeKey id;
11     private String JavaDoc name;
12
13     public CrazyCompositeKey getId() {
14         return id;
15     }
16
17     public void setId(CrazyCompositeKey id) {
18         this.id = id;
19     }
20
21     public String JavaDoc getName() {
22         return name;
23     }
24
25     public void setName(String JavaDoc name) {
26         this.name = name;
27     }
28 }
29
Popular Tags