01: package org.drools.util.asm;
02:
03: /*
04: * Copyright 2005 JBoss Inc
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS,
14: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: public class TestBean {
20:
21: private String something;
22: private int number;
23: private boolean blah;
24: private Object[] objArray;
25:
26: public boolean isBlah() {
27: return this .blah;
28: }
29:
30: public void setBlah(final boolean blah) {
31: this .blah = blah;
32: }
33:
34: public int getNumber() {
35: return this .number;
36: }
37:
38: public void setNumber(final int number) {
39: this .number = number;
40: }
41:
42: public String getSomething() {
43: return this .something;
44: }
45:
46: public void setSomething(final String something) {
47: this .something = something;
48: }
49:
50: public String fooBar() {
51: return "fooBar";
52: }
53:
54: public long getLongField() {
55: return 424242;
56: }
57:
58: public Long getOtherLongField() {
59: return new Long(42424242);
60: }
61:
62: public Object[] getObjArray() {
63: return this .objArray;
64: }
65:
66: public void setObjArray(final Object[] objArray) {
67: this.objArray = objArray;
68: }
69:
70: }
|