I think Bonnet was asking about property change/bean events - did I misread
the question?

alan

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, December 11, 2002 8:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: JESS: updating and synchronization
>
>
> There is no function that updates a single object this way in the
> current version of Jess. If you can modify the object using (modify),
> thyen do so. If not, then retract/re-assert is the only way to do it.
>
>
> I think Bonnet Emmanuel wrote:
> > Hi,
> > is it possible to use methods that changes Java classes state
> > and to tell Jess that this object has been modified.
> >
> > In other words, I would like to do something like,
> >
> > ?X <- .... (Object ?x)
> > ?Y <- .... (Object ?y)
> > =>
> > ( call ?x complexModificationMethod  ?parameters )  // x and y are
> > modified
> > ;; tell jess that they have been updated ?
> >
> >
> > ;;is it the reset method ?
> > reset()
> >
> > ;; do I need to retract the objects and add them again ?
> > retract ?X(?Y)
> > assert ?X(?Y)
> >
> > Emmanuel
> >
>
>
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems Research        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550         http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> 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]
> --------------------------------------------------------------------
>
>

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