01: package org.drools;
02:
03: public class SecondClass {
04: private String item1;
05: private String item2;
06: private String item3;
07: private String item4;
08: private String item5;
09:
10: public String getItem1() {
11: return item1;
12: }
13:
14: public void setItem1(String item1) {
15: this .item1 = item1;
16: }
17:
18: public String getItem2() {
19: return item2;
20: }
21:
22: public void setItem2(String item2) {
23: this .item2 = item2;
24: }
25:
26: public String getItem3() {
27: return item3;
28: }
29:
30: public void setItem3(String item3) {
31: this .item3 = item3;
32: }
33:
34: public String getItem4() {
35: return item4;
36: }
37:
38: public void setItem4(String item4) {
39: this .item4 = item4;
40: }
41:
42: public String getItem5() {
43: return item5;
44: }
45:
46: public void setItem5(String item5) {
47: this .item5 = item5;
48: }
49:
50: public String toString() {
51: StringBuffer buf = new StringBuffer();
52: buf.append("SecondClass[");
53: buf.append("item1=" + item1 + ", ");
54: buf.append("item2=" + item2 + ", ");
55: buf.append("item3=" + item3 + ", ");
56: buf.append("item4=" + item4 + ", ");
57: buf.append("item5=" + item5 + "]");
58: return buf.toString();
59: }
60:
61: public static class AlternativeKey {
62:
63: }
64:
65: }
|