5.11.1.1.1.4. my-project-ci-functions.xml

Listing 5.91 /my-project-ci-functions.xml
 1<?xml version="1.0" encoding="UTF-8"?>
 2<functions xmlns="https://metafactory.io/xsd/v1/codeinstruction" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://metafactory.io/xsd/v1/codeinstruction https://metafactory.io/xsd/v1/codeinstruction.xsd">
 3  <function name="createEntityClassName">
 4    <definition>${arg1}</definition>
 5  </function>
 6  <function name="createEntityPackageName">
 7    <definition>${fmsnippet.function.entity.create_entity_package_name}</definition>
 8  </function>
 9  <function name="createEntityFQCN">
10    <definition>${createEntityPackageName()}.${createEntityPackageName(${arg1})}</definition>
11  </function>
12  <function name="createRepositoryClassName">
13    <definition>${arg1}Repository</definition>
14  </function>
15  <function name="createRepositoryVariableName">
16    <definition>${firstLower(${createRepositoryClassName(${arg1})})}</definition>
17  </function>
18</functions>