Don't use inner classes, use separate class files for the data type
(Adattipus) and
the measurement (Mertadat).
Although, I must say, I have severe doubts about the way you separate
your data into related and yet uncoherent beans.
-W
On Wed, Nov 25, 2009 at 11:41 PM, SzA84 <szepesiandras(a)citromail.hu> wrote:
I think not, because orvosimeres is the class in the package:
public class orvosimeres {
}
Nicolas Héron wrote:
>
> I thing it is because you use twice the same variable ovosimeres
> your rule should be
> Rule "grafikus"
> dialect "mvel"
> when
> orvosimeres:Adattipus( ertek == "/heart_rate" )
> orvosimeres2:Mertadat( mertekegyseg == "/min" , mozgas ==
> "true" , vernyomas > ( 140 ) , vernyomas < ( 180 ) )
> then
> end
>
> 2009/11/25 SzA84 <szepesiandras(a)citromail.hu>
>
>>
>> Hi!
>>
>> I have some questions about the guided editor.
>>
>> I try to build a rule in the guided editor. I added some conditions and
>> this
>> is the generated DRL:
>>
>> Rule "grafikus"
>> dialect "mvel"
>> when
>> orvosimeres$Adattipus( ertek == "/heart_rate" )
>> orvosimeres$Mertadat( mertekegyseg == "/min" , mozgas
==
>> "true" ,
>> vernyomas > ( 140 ) , vernyomas < ( 180 ) )
>> then
>> end
>>
>> My imports in the rule.package file are the following:
>> package orvosi;
>> import orvosi.orvosimeres.Adattipus;
>> import orvosi.orvosimeres.Mertadat;
>>
>> And I have this error message: unknown:4:2 Unexpected token
'orvosimeres'
>> .
>>
>> So that is my first question. What can cause the problem?
>> And my other question is, how can I execute a rule, that was made in the
>> guided editor?
>>
>> Thanks in advance for the reply!
>>
>>
>>
>>
>> --
>> View this message in context:
>>
http://old.nabble.com/GUI-help-tp26518461p26518461.html
>> Sent from the drools - user mailing list archive at
Nabble.com.
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
--
View this message in context:
http://old.nabble.com/GUI-help-tp26518461p26521545.html
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users