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