[rules-users] rules on an array

János Ribli riblijanos at gmail.com
Sun Nov 15 05:46:11 EST 2009


Hi!

I have a class called Computer, and this has a public attribute, an array of
FileSystems:
class Computer {
    FileSystem[] FileSystems ;
    ...
    ...
    ...
}

class FIleSystem {
    long capacity;
    ...
    ...
    ...
}

I would like to create rules on the FileSystem class capacity attribute (for
example: capacity > 200000).
How can I do this with adding just the Computer class to working
memory?(without adding each FileSystem)

Thanks
Janos Ribli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091115/cc96944e/attachment.html 


More information about the rules-users mailing list