Is it possible to extract a Java object from a fact that was not created
through definstance? One solution is of course to reconstruct the object
manually by retrieving all slot values, but perhaps there is a shortcut?

  (defclass taxon Taxon)
  (assert (taxon (name "Something")))

  Taxon taxon = (Taxon) engine.findFactByID(1)
    .getSlotValue("OBJECT") // empty!
    .externalAddressValue(engine.getGlobalContext());

--
Eric Jain

--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to