Thanks Vijay Its working nowDeepak Jambhekar-rules-users-boun...@lists.jboss.org wrote: -To: Rules Users List From: Vijay K Pandey Sent by: rules-users-boun...@lists.jboss.orgDate: 12/03/2009 11:13AMSubject: Re: [rules-users] Interface implementation not working..
Problem is with
y" method - by default
interface method visibility is "public".
Vijay
From: rules-users-boun...@lists.jboss.org
[mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Deepak Jambhekar
Sent: Wednesday, December 02, 2009 9:10 PM
To: Rules Users List
I am still getting the same error even after making that method as public... ??ThanksDeepak Jambhekar-rules-users-boun...@lists.jboss.org wrote: -To: Rules Users List From: CK Sent by: rules-users-boun...@lists.jboss.orgDate: 12/02/2009 10:28PMSubject: Re: [rules-users] Interface
Try changing your BOM_TRANSACTION_DETAILS Display() method access to
public and see if it works.
Currently, you have it as "void Display()" in your
BOM_TRANSACTION_DETAILS method declaration. Change it to "public void
Display()". It might solve your problem.
No need to change method dec
HiI have created a rule which is as belowrule "myrule"
dialect "mvel"
when
tr : BOM_TRANSACTION_DETAILS( country == "CH" )
then
tr.setCarrierName( "orange" );
tr.Display();
endAnd the Model class is defined as below...interface Generalized
{
void Display();
}public class BOM_TRANSA