try
this
public String toString()
{
return
super.toString() + "Type: " + type;
}
From: thomas.kukofka@googlemail.com
[mailto:thomas.kukofka@googlemail.com] On Behalf Of thomas
kukofka
Sent: Monday, September 08, 2008 2:04 PM
To: Rules
Users List
Cc: Shyam, Pallav (MSCIBARRA)
Subject: logging
with WorkingMemoryEventListener
Hello,
I tried to overwrite
toString():
public String toString()
{
System.out.println("Type: " +
type);
return
super.toString();
}
But the output ist the
following:
Type: TypeXY
[ObjectInserted:
handle=[fid:1:7:com.dssrules.InputObject@996cef];
object=com.dssrules.InputObject@996cef]
Is there any possiblity to
configure the WorkingMemoryEventListener so that it looks like:
[ObjectInserted: type=TypeXY:
handle=[fid:1:7:com.dssrules.InputObject@996cef];
object=com.dssrules.InputObject@996cef]