You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by sk...@apache.org on 2016/11/24 14:18:56 UTC

cayenne git commit: Fix for wrong getter for ObjEntity's abstract flag in class generation templates

Repository: cayenne
Updated Branches:
  refs/heads/master f52727517 -> 2bf86e9fa


Fix for wrong getter for ObjEntity's abstract flag in class generation templates


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/2bf86e9f
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/2bf86e9f
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/2bf86e9f

Branch: refs/heads/master
Commit: 2bf86e9fadbddee60a42c298abe99fdd848f5267
Parents: f527275
Author: Nikita Timofeev <st...@gmail.com>
Authored: Wed Nov 23 10:36:09 2016 +0300
Committer: Nikita Timofeev <st...@gmail.com>
Committed: Wed Nov 23 10:36:09 2016 +0300

----------------------------------------------------------------------
 cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm | 2 +-
 cayenne-tools/src/main/resources/templates/v1_2/subclass.vm    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/2bf86e9f/cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm
----------------------------------------------------------------------
diff --git a/cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm b/cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm
index 540a8ad..e6dabce 100644
--- a/cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm
+++ b/cayenne-tools/src/main/resources/templates/v1_2/singleclass.vm
@@ -50,7 +50,7 @@ $importUtils.addType(${rel.CollectionType})##
 #end
 ${importUtils.generate()}
 
-public#if("true" == "${object.getIsAbstract()}") abstract#end class ${subClassName} extends ${baseClassName} {
+public#if("true" == "${object.isAbstract()}") abstract#end class ${subClassName} extends ${baseClassName} {
 
     private static final long serialVersionUID = 1L;
 

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2bf86e9f/cayenne-tools/src/main/resources/templates/v1_2/subclass.vm
----------------------------------------------------------------------
diff --git a/cayenne-tools/src/main/resources/templates/v1_2/subclass.vm b/cayenne-tools/src/main/resources/templates/v1_2/subclass.vm
index c7583af..e31e658 100644
--- a/cayenne-tools/src/main/resources/templates/v1_2/subclass.vm
+++ b/cayenne-tools/src/main/resources/templates/v1_2/subclass.vm
@@ -32,7 +32,7 @@ ${importUtils.addReservedType("${subPackageName}.${subClassName}")}##
 ${importUtils.addType("${superPackageName}.${superClassName}")}##
 ${importUtils.generate()}
 
-public#if("true" == "${object.getIsAbstract()}") abstract#end class ${subClassName} extends ${superClassName} {
+public#if("true" == "${object.isAbstract()}") abstract#end class ${subClassName} extends ${superClassName} {
 
     private static final long serialVersionUID = 1L;