embeddables.templates.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <templatesConfiguration xmlns="http://capgemini.com/devonfw/cobigen/TemplatesConfiguration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.1"> <templates> <templateExtension ref="${variables.entityName}.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Embeddable.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Eto.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}SearchCriteriaTo.java" mergeStrategy="javamerge"/> </templates> <templateScans> <templateScan templatePath="templates" destinationPath="src/main"/> </templateScans> <increments> <increment name="entityInfrastructure>" description="Entity Infrastructure"> <templateRef ref="${variables.entityName}.java"/> <templateRef ref="${variables.entityName}Embeddable.java"/> </increment> <increment name="tos" description="TO's"> <templateRef ref="AbstractEto.java"/> <templateRef ref="${variables.entityName}Eto.java"/> <templateRef ref="${variables.entityName}SearchCriteriaTo.java"/> </increment> </increments> </templatesConfiguration>