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: import java.math.BigDecimal;
20:
21: public class TestObject {
22:
23: private String personName;
24: private int personAge;
25: private BigDecimal personWeight;
26: private boolean happy;
27: private long someLong;
28: private char someChar;
29: private short someShort;
30:
31: public boolean isHappy() {
32: return this .happy;
33: }
34:
35: public void setHappy(final boolean happy) {
36: this .happy = happy;
37: }
38:
39: public int getPersonAge() {
40: return this .personAge;
41: }
42:
43: public void setPersonAge(final int personAge) {
44: this .personAge = personAge;
45: }
46:
47: public String getPersonName() {
48: return this .personName;
49: }
50:
51: public void setPersonName(final String personName) {
52: this .personName = personName;
53: }
54:
55: public BigDecimal getPersonWeight() {
56: return this .personWeight;
57: }
58:
59: public void setPersonWeight(final BigDecimal personWeight) {
60: this .personWeight = personWeight;
61: }
62:
63: public char getSomeChar() {
64: return this .someChar;
65: }
66:
67: public void setSomeChar(final char someChar) {
68: this .someChar = someChar;
69: }
70:
71: public long getSomeLong() {
72: return this .someLong;
73: }
74:
75: public void setSomeLong(final long someLong) {
76: this .someLong = someLong;
77: }
78:
79: public short getSomeShort() {
80: return this .someShort;
81: }
82:
83: public void setSomeShort(final short someShort) {
84: this.someShort = someShort;
85: }
86:
87: }
|