~ubuntu-branches/ubuntu/wily/libhibernate3-java/wily-proposed

« back to all changes in this revision

Viewing changes to test/org/hibernate/test/propertyref/basic/Account.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-10-14 14:43:34 UTC
  • Revision ID: james.westby@ubuntu.com-20071014144334-eamc8i0q10gs1aro
Tags: upstream-3.2.5
ImportĀ upstreamĀ versionĀ 3.2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//$Id: Account.java 10921 2006-12-05 14:39:12Z steve.ebersole@jboss.com $
 
2
package org.hibernate.test.propertyref.basic;
 
3
 
 
4
/**
 
5
 * @author Gavin King
 
6
 */
 
7
public class Account {
 
8
        private String 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 getAccountId() {
 
27
                return accountId;
 
28
        }
 
29
        /**
 
30
         * @param accountId The accountId to set.
 
31
         */
 
32
        public void setAccountId(String 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
}