In the course of my Master's thesis, I need to extend the definition of the rule task with a new property. I would use the definition (which is given by the BPMN 2.0 standard). For this I need to implement the classes "Definition", "ExtensionDefinition" and "ExtensionAttributeDefinition".
Where to I put the implemented classes? Of course I cannot start in the main-method because the user needs the property during the modeling of the process.