|
1. package jp.co.casareal.sample.richfaces;
2.
3. public class User {
4.
5. private String name;
6.
7. private String sex;
8.
9. private int age;
10.
11. private String company;
12.
13. private String comment;
14.
15. public User(String name, String sex, String company, String comment) {
16. this.name = name;
17. this.sex = sex;
18. this.company = company;
19. this.comment = comment;
20. }
21.
22. public String getName() {
23. return name;
24. }
25.
26. public void setName(String name) {
27. this.name = name;
28. }
29.
30. public String getSex() {
31. return sex;
32. }
33.
34. public void setSex(String sex) {
35. this.sex = sex;
36. }
37.
38. public int getAge() {
39. return age;
40. }
41.
42. public void setAge(int age) {
43. this.age = age;
44. }
45.
46. public String getCompany() {
47. return company;
48. }
49.
50. public void setCompany(String company) {
51. this.company = company;
52. }
53.
54. public String getComment() {
55. return comment;
56. }
57.
58. public void setComment(String comment) {
59. this.comment = comment;
60. } 61. }
|
|