01: package org.mvel.tests.main.res;
02:
03: import java.util.Collection;
04:
05: public class Foo {
06: private Bar bar = new Bar();
07: public String register;
08:
09: public String aValue = "";
10: public String bValue = "";
11:
12: private String name = "dog";
13:
14: private int countTest = 0;
15:
16: private Collection collectionTest;
17:
18: public void abc() {
19: }
20:
21: public Bar getBar() {
22: return bar;
23: }
24:
25: public void setBar(Bar bar) {
26: this .bar = bar;
27: }
28:
29: public String happy() {
30: return "happyBar";
31: }
32:
33: public String toUC(String s) {
34: register = s;
35: return s.toUpperCase();
36: }
37:
38: public int getNumber() {
39: return 4;
40: }
41:
42: public String getName() {
43: return name;
44: }
45:
46: public void setName(String name) {
47: this .name = name;
48: }
49:
50: public Collection getCollectionTest() {
51: return collectionTest;
52: }
53:
54: public void setCollectionTest(Collection collectionTest) {
55: this .collectionTest = collectionTest;
56: }
57:
58: public int getCountTest() {
59: return countTest;
60: }
61:
62: public void setCountTest(int countTest) {
63: this .countTest = countTest;
64: }
65:
66: public boolean equals(Object o) {
67: return o instanceof Foo;
68: }
69: }
|