One simple thing to do would be add a method to class that compares the fields 
and returns a boolean.

Otherwise, you can use the 'eval' - see documentation. 

when 
 b : DoubleA( ) 
eval (getcharge() < getOptimal() )
then...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963063#3963063

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963063
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to