JESS: Retrieving slot and multislot values
"Donald Winston" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <28687_1284563177_o8FF4sjU029719_9203EAEC-568C-4B2E-BF6E-E0EDEAC2FCE6@yahoo.com> |
/* I need to retrieve slot and multislot values. */ Value v1 = fact.getSlotValue(slotName).toString()); /* Assuming above is ok */ Value v2 = fact.getSlotValue(multiSlotName); ValueVector vv = v2.listValue(context); where or how do I construct an appropriate "context"? Do I need to do this for v1 also or is toString() good enough?