1
2
3
4 package org.sourceforge.jemm.sample.demo1.model.orig;
5
6 import org.sourceforge.jemm.Entity;
7
8
9
10
11
12
13 @Entity
14 public class Person {
15
16 public static final int NO_ACCOUNTS = 2;
17
18 protected final String name;
19 protected Account account;
20
21
22
23
24
25
26
27 public Person(String name) {
28 this.name = name;
29 }
30
31
32
33
34
35
36 public String getName() {
37 return name;
38 }
39
40
41
42
43
44
45
46
47
48 public void setAccount(Account account) {
49 this.account = account;
50 }
51
52
53
54
55
56
57
58
59 public Account getAccount() {
60 return account;
61 }
62
63 }