From 57804839a67a7c33b98a7400c9a173338483ddb7 Mon Sep 17 00:00:00 2001 From: 4everalone Date: Wed, 12 Jun 2013 20:24:59 +0300 Subject: [PATCH] Generating full path to @Element annotation --- .../mxjc/module/nano/template/client-class-type.fmt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/com/leansoft/mxjc/module/nano/template/client-class-type.fmt b/src/main/resources/com/leansoft/mxjc/module/nano/template/client-class-type.fmt index f7e0c83..92af2fc 100644 --- a/src/main/resources/com/leansoft/mxjc/module/nano/template/client-class-type.fmt +++ b/src/main/resources/com/leansoft/mxjc/module/nano/template/client-class-type.fmt @@ -16,7 +16,7 @@ import ${import}; */ [/#if] [#if clazz.rootElementAnnotation?? && clazz.rootElementAnnotation.parameterProvided] -@${clazz.rootElementAnnotation} +@com.leansoft.nano.annotation.${clazz.rootElementAnnotation} [/#if] [#-- [#if clazz.xmlTypeAnnotation?? && clazz.xmlTypeAnnotation.parameterProvided] @@ -36,9 +36,9 @@ public [#if clazz.abstract]abstract [/#if]class ${clazz.name} [#if clazz.superCl [/#if] [#elseif field.element][#-- map to xml element --] [#if field.elementAnnotation?? && field.elementAnnotation.parameterProvided] - @${field.elementAnnotation} + @com.leansoft.nano.annotation.${field.elementAnnotation} [#else] - @Element + @com.leansoft.nano.annotation.Element [/#if] [#elseif field.value][#-- map to xml value --] @Value