[rules-users] Contains an object

gboro54 gboro54 at gmail.com
Thu Apr 26 09:47:28 EDT 2012


I guess I could also have a method on my main object that takes parameters
and just do a not null check...


gboro54 wrote
> 
> Is there a way to use contains with an object? i.e
> 
> obj:Object(collection contains SubObject(string="TST",int=1))
> 
> 
> I know you could do a from but we are writing a DSL and it would be great
> if I could accomplish something like this above
> 
> TIA!
> 


--
View this message in context: http://drools.46999.n3.nabble.com/Contains-an-object-tp3941334p3941343.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list