[rules-users] custom defined types in setter and getters

jack wu jackxwu at yahoo.com
Wed Oct 3 13:54:59 EDT 2007


Hi, i suppose the second form of fact is not supported. but i'd like to confirm. 

in other words, you can only have setters and getters that return basic java types. is that right? can i return java collections such as array and map? the documentation is not clear on that.

thanks.

public class Paint
{
    String getName();
    String getColor();
}


public class Car
{
    int getSize();
    Paint getPaint();
}


jack.






       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20071003/12e6278a/attachment.html 


More information about the rules-users mailing list