branch develop updated (1401d25 -> ea32ddd)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository topia. See http://git.nuiton.org/topia.git from 1401d25 Fix incorrect hibernateAttributeType tag value usage instead of attributeType (See #3765) new 22b866f fix generated EntityEnum constructor (fixes #3778) new ea32ddd Assign attributes missing in TopiaEntityEnum (fixes #3778) The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit ea32ddd732c57cf30f2f7040d7cb0521f0ac3e88 Merge: 1401d25 22b866f Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Sep 30 08:14:37 2015 +0200 Assign attributes missing in TopiaEntityEnum (fixes #3778) commit 22b866fd95496182fc265e7ccfddd80fe4ec530a Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Tue Sep 29 15:30:12 2015 +0200 fix generated EntityEnum constructor (fixes #3778) Summary of changes: .../nuiton/topia/templates/EntityEnumTransformer.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit 22b866fd95496182fc265e7ccfddd80fe4ec530a Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Tue Sep 29 15:30:12 2015 +0200 fix generated EntityEnum constructor (fixes #3778) --- .../nuiton/topia/templates/EntityEnumTransformer.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/topia-templates/src/main/java/org/nuiton/topia/templates/EntityEnumTransformer.java b/topia-templates/src/main/java/org/nuiton/topia/templates/EntityEnumTransformer.java index 54c62c7..c2fbdb8 100644 --- a/topia-templates/src/main/java/org/nuiton/topia/templates/EntityEnumTransformer.java +++ b/topia-templates/src/main/java/org/nuiton/topia/templates/EntityEnumTransformer.java @@ -186,25 +186,25 @@ public class EntityEnumTransformer extends ObjectModelTransformerToJava { addImport(entityEnum, clazz); } - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "contract", "Class<? extends TopiaEntity>"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "contract", "Class<? extends TopiaEntity>", null, ObjectModelJavaModifier.PRIVATE, ObjectModelJavaModifier.FINAL); attr.setDocumentation("The contract of the entity."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "dbSchemaName", "String"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "dbSchemaName", "String", null, ObjectModelJavaModifier.PRIVATE, ObjectModelJavaModifier.FINAL); attr.setDocumentation("The optional name of database schema of the entity (if none was filled, will be {@code null})."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "dbTableName", "String"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "dbTableName", "String", null, ObjectModelJavaModifier.PRIVATE, ObjectModelJavaModifier.FINAL); attr.setDocumentation("The name of the database table for the entity."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "implementationFQN", "String"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "implementationFQN", "String", null, ObjectModelJavaModifier.PRIVATE); attr.setDocumentation("The fully qualified name of the implementation of the entity."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "implementation", "Class<? extends TopiaEntity>"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "implementation", "Class<? extends TopiaEntity>",null, ObjectModelJavaModifier.PRIVATE); attr.setDocumentation("The implementation class of the entity (will be lazy computed at runtime)."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "naturalIds", "String[]"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "naturalIds", "String[]", null, ObjectModelJavaModifier.PRIVATE, ObjectModelJavaModifier.FINAL); attr.setDocumentation("The array of property involved in the natural key of the entity."); - attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "notNulls", "String[]"); + attr = (ObjectModelAttributeImpl) addAttribute(entityEnum, "notNulls", "String[]", null, ObjectModelJavaModifier.PRIVATE, ObjectModelJavaModifier.FINAL); attr.setDocumentation("The array of not null properties of the entity."); // constructor @@ -217,6 +217,8 @@ public class EntityEnumTransformer extends ObjectModelTransformerToJava { setOperationBody(op, "" /*{ this.contract = contract; + this.dbSchemaName = dbSchemaName; + this.dbTableName = dbTableName; this.notNulls = Arrays.copyOf(notNulls, notNulls.length); this.naturalIds = naturalIds; implementationFQN = contract.getName() + "Impl"; -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository topia. See http://git.nuiton.org/topia.git commit ea32ddd732c57cf30f2f7040d7cb0521f0ac3e88 Merge: 1401d25 22b866f Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Sep 30 08:14:37 2015 +0200 Assign attributes missing in TopiaEntityEnum (fixes #3778) .../nuiton/topia/templates/EntityEnumTransformer.java | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm