Override and implement the clone method of the class you want to clone/copy then in the RHS of your rule do:
SomeClass copy = $someclass.clone(); Earnie! ________________________________ From: Ashish Soni <[email protected]> To: Rules Users List <[email protected]> Sent: Wednesday, April 1, 2009 9:50:25 AM Subject: [rules-users] How to clone object inside a rule Hi All , I want to clone/copy one object inside a rule depends on some condition , Please let me know how i can do that ? Regards, Ashish
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
