01: /*
02: * TestBean.java
03: *
04: * Created on April 19, 2005, 1:40 PM
05: *
06: * To change this template, choose Tools | Options and locate the template under
07: * the Source Creation and Management node. Right-click the template and choose
08: * Open. You can then make changes to the template in the Source Editor.
09: */
10:
11: package org.test;
12:
13: /**
14: *
15: * @author petr
16: */
17: public class TestBean {
18:
19: /** Creates a new instance of TestBean */
20: public TestBean() {
21: }
22:
23: /**
24: * Holds value of property name.
25: */
26: private String name;
27:
28: /**
29: * Getter for property name.
30: * @return Value of property name.
31: */
32: public String getName() {
33:
34: return this .name;
35: }
36:
37: /**
38: * Setter for property name.
39: * @param name New value of property name.
40: */
41: public void setName(String name) {
42:
43: this .name = name;
44: }
45:
46: /**
47: * Holds value of property id.
48: */
49: private Integer id;
50:
51: /**
52: * Getter for property id.
53: * @return Value of property id.
54: */
55: public Integer getId() {
56:
57: return this .id;
58: }
59:
60: /**
61: * Setter for property id.
62: * @param id New value of property id.
63: */
64: public void setId(Integer id) {
65:
66: this.id = id;
67: }
68:
69: }
|