Re: [rules-users] Multiple Object Referencing error

2010-06-08 Thread Fnu Mahalakshmi
400 From: Fnu Mahalakshmi Subject: Re: [rules-users] Multiple Object referencing error To: "'rules-users@lists.jboss.org'" Message-ID: <994758e35590274e955fa75763c5aa5002d01...@mtexmbxp01.ad.nyx.com> Content-Type: text/plain; charset="us-ascii" Hi, Sor

Re: [rules-users] Multiple Object referencing error

2010-06-08 Thread Swindells, Thomas
gt; Sent: 08 June 2010 15:13 > To: 'rules-users@lists.jboss.org' > Subject: Re: [rules-users] Multiple Object referencing error > > Hi, > Sorry about not posting the code. My mistake. > > Classes : > > public class Room { > private String name >

Re: [rules-users] Multiple Object referencing error

2010-06-08 Thread Fnu Mahalakshmi
Hi, Sorry about not posting the code. My mistake. Classes : public class Room { private String name private int number; // getter and setter methods here } public classs Sprinkler { private Room room; private boolean on; // getter and setter methods here } public class Fir

Re: [rules-users] Multiple Object Referencing error

2010-06-07 Thread Fnu Mahalakshmi
Hi David, I am giving it the input exactly as I put up. It seems to be fine. Could it be because there are new objects of room formed even though the attributes they hold are similar??? Thank you M -Original Message- From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@