My questions is related to the discussion here http://www.mail-archive.com/jess-users@sandia.gov/msg11105.html " "Accessing Java objects fields from a defrule'
Using that example, I can't see how I would be able to have a rule that looks for certain publicIpAddress (InetModem (publicIpAddress ?publicIpAddress) (OBJECT ?inetModem)) I don't understand if the objects within the VirtualSite has to be asserted as a fact or something in order for the pattern matching to work. I am probably missing something as I can't even see how the current example would be matched: (InetModem (publicIpAddress ?publicIpAddress) (OBJECT ?inetModem)) (VirtualSite (inetModem ?inetModem)) assuming that only VirtualSite has been instantiated as a fact. Any help on that would be appreciated as I am really stuck at the moment with a similar example.