[rules-users] Setting object's fields to complex result in RHS

Joj jojpm at yahoo.com
Fri Jun 1 08:24:08 EDT 2007


Hi,

Can't we write on RHS like:

student.setTotal(mark1 + mark2);
(where mark1 & 2 are variables in student)

Is it possible? I mean arithmetical operations, calling Java methods, etc
from inside setters. If not, is there any other logic to do the same?


Please reply A.F.A.P.
Jojan

-- 
View this message in context: http://www.nabble.com/Setting-object%27s-fields-to-complex-result-in-RHS-tf3851977.html#a10911851
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list