[rules-users] Comparing two object values

Mark Proctor mproctor at codehaus.org
Mon Nov 26 16:27:54 EST 2007


Saleem Lakhani wrote:
>
> Hi,
>
>  
>
> How do I compare attributes of two different objects. E.g;
>
>  
>
> Object1.getEffectiveDate() < Object2.getCompletionDate()
>
Object1( $ed : effectiveDate)
Object2( completionDate > effectiveDate)

Then just replace those two patterns with a dsl mapping.
>
>  
>
> In drools 3.0. I am using DSL.
>
>  
>
> Thanks,
>
> Saleem
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071126/09f4aa12/attachment.html 


More information about the rules-users mailing list