01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package madvoc;
04:
05: import jodd.mutable.MutableInteger;
06:
07: public class Person {
08: private String name;
09: private MutableInteger data;
10:
11: public String getName() {
12: return name;
13: }
14:
15: public void setName(String name) {
16: this .name = name;
17: }
18:
19: public MutableInteger getData() {
20: return data;
21: }
22:
23: public void setData(MutableInteger data) {
24: this .data = data;
25: }
26:
27: @Override
28: public String toString() {
29: return "Person{" + "name='" + name + '\'' + ", data=" + data
30: + '}';
31: }
32: }
|