01: package org.drools;
02:
03: public class SpecialString {
04: private String text;
05:
06: public SpecialString(String text) {
07: this .text = text;
08: }
09:
10: public String getText() {
11: return text;
12: }
13:
14: public String toString() {
15: return (getText() + "[" + super .toString() + "]");
16: }
17: }
|