branch feature/3742 created (now 6f8988a)
This is an automated email from the git hooks/post-receive script. New change to branch feature/3742 in repository topia. See http://git.nuiton.org/topia.git at 6f8988a Generate binders for direct and inheriated attributes (refs #3742) This branch includes the following new commits: new 6f8988a Generate binders for direct and inheriated attributes (refs #3742) The 1 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 6f8988a3333df8cbf71959db3de7ddf8b900c9b8 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Aug 10 18:06:47 2015 +0200 Generate binders for direct and inheriated attributes (refs #3742) -- 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 feature/3742 in repository topia. See http://git.nuiton.org/topia.git commit 6f8988a3333df8cbf71959db3de7ddf8b900c9b8 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Aug 10 18:06:47 2015 +0200 Generate binders for direct and inheriated attributes (refs #3742) --- .../java/org/nuiton/topia/generator/BinderHelperTransformer.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/topia-persistence/src/main/java/org/nuiton/topia/generator/BinderHelperTransformer.java b/topia-persistence/src/main/java/org/nuiton/topia/generator/BinderHelperTransformer.java index 982b3dd..6474498 100644 --- a/topia-persistence/src/main/java/org/nuiton/topia/generator/BinderHelperTransformer.java +++ b/topia-persistence/src/main/java/org/nuiton/topia/generator/BinderHelperTransformer.java @@ -42,6 +42,7 @@ import org.nuiton.util.beans.BinderFactory; import org.nuiton.util.beans.BinderModelBuilder; import java.util.ArrayList; +import java.util.Collection; import java.util.Iterator; import java.util.List; @@ -222,7 +223,11 @@ public class BinderHelperTransformer extends ObjectModelTransformerToJava { StringBuilder initCode) { List<ObjectModelAttribute> list = new ArrayList<ObjectModelAttribute>(); - for (ObjectModelAttribute attr : clazz.getAllOtherAttributes()) { + + Collection<ObjectModelAttribute> attributes = clazz.getAllOtherAttributes(); + attributes.addAll(clazz.getAttributes()); + + for (ObjectModelAttribute attr : attributes) { if (!attr.isNavigable()) { continue; } -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.
participants (1)
-
nuiton.org scm