[rules-users] Inheritance

Mark Proctor mproctor at codehaus.org
Thu Aug 2 09:54:10 EDT 2007


yes.

In that Collect(...) will match anything that implements Collection, be 
it List, ArrayList etc.

Mark
Heyns, Juan wrote:
>
> If I have two objects asserted into working memory and the one is 
> inherited from the other will a rule such as the following fire on 
> both objects (Person and Employee):
>
>  
>
> Rule
>
>                 When
>
>                                 Person( property == "bla" )
>
>                 Then
>
>                                 [...]
>
> End
>
>  
>
> Juan
>
>  
>
> "Employees of Lonmin Platinum ("Lonplats") are not authorised to conclude
> electronic transactions or to enter into electronic agreements on behalf
> of Lonplats. Any electronic signature (other than an advanced electronic
> signature as defined in the Electronic Communications and Transactions
> Act of 2003) added to a data message (such as an email or an attachment
> to an (email) ostensibly on behalf of Lonplats by a Lonplats employee 
> shall
> not be legally binding on Lonplats and Lonplats shall incur no 
> liability of
> any nature whatsoever, directly or indirectly, arising from such act 
> on the
> part of it's employee. It is further recorded that nothing (other than an
> advanced electronic signature) inserted into any data message
> emanating from Lonplats shall be construed as constituting an electronic
> signature"
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/20070802/9e30c051/attachment.html 


More information about the rules-users mailing list