Here is where I store the list in the clp file:
(defrule complete-search (goal-is-to (action "complete") (argument1 $?iplList)) => (store IPLLIST $?iplList) (printout t "We are finished!! " crlf) (printout t "Final list is: " crlf) (stepIPLList $?iplList) )
Here is the latest attempt to retrieve the list from Java:
//fetch stored result
System.out.println("Results are " + r.fetch("IPLLIST").listValue(null));
which gives me this error:
Results are <External-Address:edu.stanford.smi.protege.model.DefaultSimpleInstan
ce> <External-Address:edu.stanford.smi.protege.model.DefaultSimpleInstance>
I've tried using externalAddressValue(null) and that didn't work either. I tried using the Enumeration example from the manual and that didn't work. I'm sure I'm doing something very stupid as a newbie, but I'm not seeing it. I'd appreciate any suggestions.
Thank you.
-- Karen Fox Technical Project Support III The MITRE Corporation Colorado Springs, CO 719-572-8368 [EMAIL PROTECTED]
-------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]' in the BODY of a message to [EMAIL PROTECTED], NOT to the list (use your own address!) List problems? Notify [EMAIL PROTECTED] --------------------------------------------------------------------
