5.11.1.1.3.3.2. custom_functions_libproject.ftl

Listing 5.102 library/custom_functions_libproject.ftl
 1<#--------------------------------------------------------------------------------------------------------------------->
 2<#-- THIS FILE IS AUTOMATICALLY GENERATED  BY CODECOMPOSER                                                           -->
 3<#-- Contains freemarker fuctions to call all custom functions of External Library libProject                        -->
 4<#-- All pattern functions described in external library definitions of project are processed by Code Composer       -->
 5<#-- into a single freemarker file, which can be found in libProject/snippets/library.                               -->
 6<#-- Example of how they can be used in freemarker files:                                                            -->
 7<#-- <#import "/library/custom_functions_libproject.ftl" as pf>                                                      -->
 8<#-- <#assign someVariable = pf.performSomePatternFunction() >                                                       -->
 9<#--------------------------------------------------------------------------------------------------------------------->
10
11<#--------------------------------------------------------------------------------------------------------------------->
12
13<#function createEntityClassName arg...>
14<#-- @ftlvariable name="arg" type="String[]" -->
15    <#return metafactory.applyPatternDefinedFunction("createEntityClassName", arg) />
16</#function>
17<#--------------------------------------------------------------------------------------------------------------------->
18
19<#function createEntityPackageName arg...>
20<#-- @ftlvariable name="arg" type="String[]" -->
21    <#return metafactory.applyPatternDefinedFunction("createEntityPackageName", arg) />
22</#function>
23<#--------------------------------------------------------------------------------------------------------------------->
24
25<#function createEntityFQCN arg...>
26<#-- @ftlvariable name="arg" type="String[]" -->
27    <#return metafactory.applyPatternDefinedFunction("createEntityFQCN", arg) />
28</#function>
29<#--------------------------------------------------------------------------------------------------------------------->
30
31<#function createRepositoryClassName arg...>
32<#-- @ftlvariable name="arg" type="String[]" -->
33    <#return metafactory.applyPatternDefinedFunction("createRepositoryClassName", arg) />
34</#function>
35<#--------------------------------------------------------------------------------------------------------------------->
36
37<#function createRepositoryVariableName arg...>
38<#-- @ftlvariable name="arg" type="String[]" -->
39    <#return metafactory.applyPatternDefinedFunction("createRepositoryVariableName", arg) />
40</#function>
41<#--------------------------------------------------------------------------------------------------------------------->
42
43<#function createSimpleDtoClassName arg...>
44<#-- @ftlvariable name="arg" type="String[]" -->
45    <#return metafactory.applyPatternDefinedFunction("createSimpleDtoClassName", arg) />
46</#function>
47<#--------------------------------------------------------------------------------------------------------------------->
48
49<#function createSimpleEntityClassName arg...>
50<#-- @ftlvariable name="arg" type="String[]" -->
51    <#return metafactory.applyPatternDefinedFunction("createSimpleEntityClassName", arg) />
52</#function>
53<#--------------------------------------------------------------------------------------------------------------------->
54
55<#function createSimpleServiceClassName arg...>
56<#-- @ftlvariable name="arg" type="String[]" -->
57    <#return metafactory.applyPatternDefinedFunction("createSimpleServiceClassName", arg) />
58</#function>
59<#--------------------------------------------------------------------------------------------------------------------->
60
61<#function createSpecialServiceClassName arg...>
62<#-- @ftlvariable name="arg" type="String[]" -->
63    <#return metafactory.applyPatternDefinedFunction("createSpecialServiceClassName", arg) />
64</#function>