1 package ch.elca.el4j.tests.util.codingsupport.testclasses;
2
3 import java.util.ArrayList;
4 import java.util.List;
5
6
7
8
9 public class DefaultPerson implements Person {
10 protected String firstName;
11 protected String lastName;
12 protected int age;
13 protected List<Person> children;
14 protected boolean smart;
15
16 public DefaultPerson() {
17
18 children = new ArrayList<Person>();
19 }
20
21 public String getFirstName() {
22 return firstName;
23 }
24
25 public void setFirstName(String firstName) {
26 this.firstName = firstName;
27
28 }
29
30 public String getLastName() {
31 return lastName;
32 }
33
34 public void setLastName(String lastName) {
35 this.lastName = lastName;
36
37 }
38
39 public int getAge() {
40 return age;
41 }
42
43 public void setAge(int age) {
44 this.age = age;
45 }
46
47
48 public List<Person> getChildren() {
49 return children;
50 }
51
52 public void setChildren(List<Person> children) {
53 this.children = children;
54 }
55
56 public boolean getSmart() {
57 return smart;
58 }
59
60 public void setSmart(boolean smart) {
61 this.smart = smart;
62 }
63 }