7.5 ModelModifier

If a project needs more control over the generated artefacts it is possible to implement a so called ModelModifier to change existing parts of a model or to create additional synthetic elements. ModelModifier is callback interface or pre-processor used to enhance the given model instance right before it is processed by the generator templates and after any validation checks. Like the c a ModelModifier is configured by means of eclipse project properties (node openXMA).

public interface ModelModifier {
  /**
   * Callback method to augment the given <code>Model</code> instance.
   * @param model the model to augment
   */
  void modifyModel(Model model);
}