01: package org.drools;
02:
03: public class FactA {
04: String field1;
05: Integer field2;
06: Float field3;
07:
08: public FactA() {
09: }
10:
11: public FactA(final String f1, final Integer f2, final Float f3) {
12: this .field1 = f1;
13: this .field2 = f2;
14: this .field3 = f3;
15: }
16:
17: public String getField1() {
18: return this .field1;
19: }
20:
21: public void setField1(final String s) {
22: this .field1 = s;
23: }
24:
25: public Integer getField2() {
26: return this .field2;
27: }
28:
29: public void setField2(final Integer i) {
30: this .field2 = i;
31: }
32:
33: public Float getField3() {
34: return this .field3;
35: }
36:
37: public void setField3(final Float f) {
38: this.field3 = f;
39: }
40:
41: }
|