KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > comppropertyref > Identity


1 //$Id: Identity.java,v 1.1 2005/07/21 01:22:38 oneovthafew Exp $
2
package org.hibernate.test.comppropertyref;
3
4 public class Identity {
5     private String JavaDoc name;
6     private String JavaDoc ssn;
7     
8     public String JavaDoc getSsn() {
9         return ssn;
10     }
11     public void setSsn(String JavaDoc id) {
12         this.ssn = id;
13     }
14     public String JavaDoc getName() {
15         return name;
16     }
17     public void setName(String JavaDoc name) {
18         this.name = name;
19     }
20 }
21
Popular Tags