empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doeb...@apache.org
Subject svn commit: r1621104 - /empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm
Date Thu, 28 Aug 2014 09:28:18 GMT
Author: doebele
Date: Thu Aug 28 09:28:18 2014
New Revision: 1621104

URL: http://svn.apache.org/r1621104
Log:
EMPIREDB-210

Modified:
    empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm

Modified: empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm
URL: http://svn.apache.org/viewvc/empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm?rev=1621104&r1=1621103&r2=1621104&view=diff
==============================================================================
--- empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm (original)
+++ empire-db/trunk/empire-db-codegen/src/main/resources/templates/Record.vm Thu Aug 28 09:28:18
2014
@@ -53,10 +53,10 @@ public class $parser.getRecordClassName(
 	// Access methods for all columns
 #foreach($col in $table.columns)
 
-	public $parser.getJavaType($col).getName() $parser.getAccessorName($col)() {
-		return ($parser.getJavaType($col).getName())super.getValue(getTable().${parser.getColumnName($col)});
+	public $parser.getJavaType($col).getCanonicalName() $parser.getAccessorName($col)() {
+		return ($parser.getJavaType($col).getCanonicalName())super.getValue(getTable().${parser.getColumnName($col)});
 	}
-	public void $parser.getMutatorName($col)($parser.getJavaType($col).getName() val) {
+	public void $parser.getMutatorName($col)($parser.getJavaType($col).getCanonicalName() val)
{
 		super.setValue(getTable().${parser.getColumnName($col)}, val);
 	}
 #end



Mime
View raw message