crud_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="${variables.component#cap_first}.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}Impl.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}RepoImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Entity.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Dao.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}DaoImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Cto.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Eto.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}SearchCriteriaTo.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}RestServiceImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}RestService.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}SoapService.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.component#cap_first}SoapServiceImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="ServiceConfig.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}RepoImpl.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}EntityRegistrationBean.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}Repo.java" mergeStrategy="javamerge"/> <templateExtension ref="${variables.entityName}RepoCustom.java" mergeStrategy="javamerge"/> <templateExtension ref="AbstractComponentFacade.java" mergeStrategy="javamerge_override"/> </templates> <templateScans> <templateScan templatePath="templates" destinationPath="src/main"/> </templateScans> <increments> <increment name="daos" description="CRUD DAO's"> <templateRef ref="ApplicationDao.java"/> <templateRef ref="ApplicationDaoImpl.java"/> <templateRef ref="${variables.entityName}Dao.java"/> <templateRef ref="${variables.entityName}DaoImpl.java"/> </increment> <increment name="repository" description="CRUD SpringData"> <templateRef ref="${variables.entityName}RepoImpl.java"/> <templateRef ref="${variables.entityName}EntityRegistrationBean.java"/> <templateRef ref="${variables.entityName}Repo.java"/> <templateRef ref="${variables.entityName}RepoCustom.java"/> </increment> <increment name="SDlogic_impl" description="CRUD SpringData logic (all in one)"> <templateRef ref="AbstractBeanMapperSupport.java"/> <templateRef ref="AbstractComponentFacade.java"/> <templateRef ref="AbstractGenericEntityUtils.java"/> <templateRef ref="${variables.component#cap_first}RepoImpl.java"/> </increment> <increment name="tos" description="TO's"> <templateRef ref="AbstractCto.java"/> <templateRef ref="AbstractEto.java"/> <templateRef ref="PaginatedListToWrapper.java"/> <templateRef ref="${variables.entityName}Eto.java"/> <templateRef ref="${variables.entityName}Cto.java"/> <templateRef ref="${variables.entityName}SearchCriteriaTo.java"/> </increment> <increment name="logic_impl" description="CRUD logic (all in one)"> <templateRef ref="AbstractBeanMapperSupport.java"/> <templateRef ref="AbstractComponentFacade.java"/> <templateRef ref="AbstractGenericEntityUtils.java"/> <templateRef ref="${variables.component#cap_first}Impl.java"/> <templateRef ref="${variables.component#cap_first}.java"/> </increment> <increment name="dataaccess_infrastructure" description="Entity infrastructure"> <templateRef ref="ApplicationPersistenceEntity.java"/> <templateRef ref="ApplicationEntity.java"/> <templateRef ref="${variables.entityName}Entity.java"/> <templateRef ref="${variables.entityName}.java"/> </increment> <increment name="rest_service_impl" description="CRUD REST services"> <templateRef ref="${variables.component#cap_first}RestServiceImpl.java"/> <templateRef ref="${variables.component#cap_first}RestService.java"/> </increment> <increment name="soap_service_impl" description="CRUD SOAP services"> <templateRef ref="ServiceConfig.java"/> <templateRef ref="WebApplicationContextLocator.java"/> <templateRef ref="${variables.component#cap_first}SoapService.java"/> <templateRef ref="${variables.component#cap_first}SoapServiceImpl.java"/> </increment> </increments> </templatesConfiguration>