01: package org.drools;
02:
03: public class OuterClass {
04: private String attr1;
05:
06: public String getAttr1() {
07: return attr1;
08: }
09:
10: public void setAttr1(String attr1) {
11: this .attr1 = attr1;
12: }
13:
14: public static class InnerClass {
15: private int intAttr;
16:
17: public InnerClass(int intAttr) {
18: super ();
19: this .intAttr = intAttr;
20: }
21:
22: public int getIntAttr() {
23: return intAttr;
24: }
25:
26: public void setIntAttr(int intAttr) {
27: this.intAttr = intAttr;
28: }
29: }
30: }
|