crud_nested_java_server_app.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="Nested_${variables.entityName}Cto.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.entityName}Eto.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.component#cap_first}Impl.java"/> <templateExtension ref="Nested_${variables.entityName}SearchCriteriaTo.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.component#cap_first}RestServiceImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.component#cap_first}RestService.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.component#cap_first}SoapServiceImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="Nested_${variables.component#cap_first}SoapService.java" mergeStrategy="javamerge"/> </templates> <templateScans> <templateScan templateNamePrefix="Nested_" templatePath="templates" destinationPath="src/main"/> </templateScans> <increments> <increment name="tos" description="Nested TO's"> <templateRef ref="Nested_AbstractCto.java"/> <templateRef ref="Nested_AbstractEto.java"/> <templateRef ref="Nested_PaginatedListToWrapper.java"/> <templateRef ref="Nested_${variables.entityName}Eto.java"/> <templateRef ref="Nested_${variables.entityName}Cto.java"/> <templateRef ref="Nested_${variables.entityName}SearchCriteriaTo.java"/> <templateRef ref="Nested_${variables.component#cap_first}.java"/> <templateRef ref="Nested_${variables.component#cap_first}Impl.java"/> </increment> <increment name="service_impl" description="CRUD Nested REST services"> <templateRef ref="Nested_${variables.component#cap_first}RestServiceImpl.java"/> <templateRef ref="Nested_${variables.component#cap_first}RestService.java"/> </increment> <increment name="soap_service_impl" description="CRUD Nested SOAP services"> <templateRef ref="Nested_${variables.component#cap_first}SoapService.java"/> <templateRef ref="Nested_${variables.component#cap_first}SoapServiceImpl.java"/> <templateRef ref="Nested_WebApplicationContextLocator.java"/> <!-- <templateRef ref="Nested_ServiceConfig.java"/>--> </increment> </increments> </templatesConfiguration>