You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2014/06/06 09:41:12 UTC
git commit: [OLINGO-314] pojogen plugin needs generate correct name
for EDM comple type
Repository: olingo-odata4
Updated Branches:
refs/heads/master 658ddef87 -> 8ad297f9a
[OLINGO-314] pojogen plugin needs generate correct name for EDM comple type
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/8ad297f9
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/8ad297f9
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/8ad297f9
Branch: refs/heads/master
Commit: 8ad297f9af0e60f9201451a853a3516503c07aa7
Parents: 658ddef
Author: challenh <ch...@microsoft.com>
Authored: Fri Jun 6 15:40:02 2014 +0800
Committer: challenh <ch...@microsoft.com>
Committed: Fri Jun 6 15:40:02 2014 +0800
----------------------------------------------------------------------
ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/8ad297f9/ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm
----------------------------------------------------------------------
diff --git a/ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm b/ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm
index aa12d9a..8c15f88 100644
--- a/ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm
+++ b/ext/pojogen-maven-plugin/src/main/resources/v40/complexType.vm
@@ -30,7 +30,7 @@ public interface $utility.capitalize($complexType.Name)
#set($property = $complexType.getProperty($propertyName))
@org.apache.olingo.ext.proxy.api.annotations.Property(name = "$property.Name",
- type = "$property.Type",
+ type = "$property.Type.getFullQualifiedName().toString()",
nullable = $property.Nullable,
defaultValue = "#if($property.getDefaultValue())$property.getDefaultValue()#end",
maxLenght = #if($property.getMaxLength() && !$property.getMaxLength().equalsIgnoreCase("max"))$property.getMaxLength()#{else}Integer.MAX_VALUE#end,