KickJava   Java API By Example, From Geeks To Geeks.

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


1 //$Id: Account.java,v 1.1 2004/09/26 00:39:43 oneovthafew Exp $
2
package org.hibernate.test.cuk;
3
4 import java.io.Serializable JavaDoc;
5
6 /**
7  * @author Gavin King
8  */

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

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

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

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

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

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

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