01: package de.schlund.pfixcore.beans;
02:
03: import de.schlund.pfixcore.beans.Alias;
04: import de.schlund.pfixcore.beans.Exclude;
05:
06: public class BeanA {
07:
08: int foo;
09: int bar;
10: int baz;
11: int test;
12:
13: public int getFoo() {
14: return foo;
15: }
16:
17: public void setFoo(int foo) {
18: this .foo = foo;
19: }
20:
21: @Exclude
22: public int getBar() {
23: return bar;
24: }
25:
26: public void setBar(int bar) {
27: this .bar = bar;
28: }
29:
30: public int getBaz() {
31: return baz;
32: }
33:
34: public void setBaz(int baz) {
35: this .baz = baz;
36: }
37:
38: @Alias("mytest")
39: public int getTest() {
40: return test;
41: }
42:
43: public void setTest(int test) {
44: this.test = test;
45: }
46:
47: }
|