KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > test > propertyref > Account


1 //$Id: Account.java,v 1.1 2004/08/21 08:43:20 oneovthafew Exp $
2
package org.hibernate.test.propertyref;
3
4 /**
5  * @author Gavin King
6  */

7 public class Account {
8     private String JavaDoc accountId;
9     private Person user;
10     private char type;
11     /**
12      * @return Returns the user.
13      */

14     public Person getUser() {
15         return user;
16     }
17     /**
18      * @param user The user to set.
19      */

20     public void setUser(Person user) {
21         this.user = user;
22     }
23     /**
24      * @return Returns the accountId.
25      */

26     public String JavaDoc getAccountId() {
27         return accountId;
28     }
29     /**
30      * @param accountId The accountId to set.
31      */

32     public void setAccountId(String JavaDoc accountId) {
33         this.accountId = accountId;
34     }
35     /**
36      * @return Returns the type.
37      */

38     public char getType() {
39         return type;
40     }
41     /**
42      * @param type The type to set.
43      */

44     public void setType(char type) {
45         this.type = type;
46     }
47
48 }
49
Popular Tags