Update the non regression models and tests to the same version as 1.0.4
Improve the generation of the operation in Java classes.