A project 'ch.actifsource.example.javamodel' has been added to Github which shows how an existing model can be edited via the java model and how the changes can be patched into the model.
On github there is an example:
- See https://github.com/actifsource/ch.actifsource.example.javamodel