01: package de.schlund.pfixcore.example.webservices;
02:
03: import de.schlund.pfixcore.beans.Alias;
04: import de.schlund.pfixcore.beans.Exclude;
05:
06: public class WeirdBean {
07:
08: int foo = 1;
09: int bar = 2;
10: int baz = 3;
11:
12: @Alias("public")
13: public int pub = 4;
14:
15: int ro = 5;
16: int wo = 6;
17:
18: public static int staticMember = 7;
19: //Not supported by JAXWS:
20: //public final int finalMember=8;
21:
22: @Exclude
23: public int blah = 9;
24:
25: public int getFoo() {
26: return foo;
27: }
28:
29: public void setFoo(int foo) {
30: this .foo = foo;
31: }
32:
33: @Exclude
34: public int getBar() {
35: return bar;
36: }
37:
38: public void setBar(int bar) {
39: this .bar = bar;
40: }
41:
42: @Alias("test")
43: public int getBaz() {
44: return baz;
45: }
46:
47: public void setBaz(int baz) {
48: this .baz = baz;
49: }
50:
51: public int getRo() {
52: return ro;
53: }
54:
55: public void setRo(int wo) {
56: this.wo = wo;
57: }
58:
59: }
|