1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.apache.struts2.json;
22
23 public class OtherBean {
24 private int primitiveInt;
25
26 private Integer intField;
27 private Boolean booleanField;
28 private Character charField;
29 private Long longField;
30 private Float floatField;
31 private Double doubleField;
32 private Byte byteField;
33
34 public Boolean isBooleanField() {
35 return booleanField;
36 }
37
38 public void setBooleanField(Boolean booleanField) {
39 this.booleanField = booleanField;
40 }
41
42 public Byte getByteField() {
43 return byteField;
44 }
45
46 public void setByteField(Byte byteField) {
47 this.byteField = byteField;
48 }
49
50 public Character getCharField() {
51 return charField;
52 }
53
54 public void setCharField(Character charField) {
55 this.charField = charField;
56 }
57
58 public Double getDoubleField() {
59 return doubleField;
60 }
61
62 public void setDoubleField(Double doubleField) {
63 this.doubleField = doubleField;
64 }
65
66 public Float getFloatField() {
67 return floatField;
68 }
69
70 public void setFloatField(Float floatField) {
71 this.floatField = floatField;
72 }
73
74 public Integer getIntField() {
75 return intField;
76 }
77
78 public void setIntField(Integer intField) {
79 this.intField = intField;
80 }
81
82 public Long getLongField() {
83 return longField;
84 }
85
86 public void setLongField(Long longField) {
87 this.longField = longField;
88 }
89
90 public int getPrimitiveInt() {
91 return primitiveInt;
92 }
93
94 public void setPrimitiveInt(int primitiveInt) {
95 this.primitiveInt = primitiveInt;
96 }
97 }