[seam-issues] [JBoss JIRA] Created: (SEAMJCR-21) Properties from parent class should be mapped as well

Simon Gunzenreiner (JIRA) jira-events at lists.jboss.org
Fri Aug 5 07:41:33 EDT 2011


Properties from parent class should be mapped as well
-----------------------------------------------------

                 Key: SEAMJCR-21
                 URL: https://issues.jboss.org/browse/SEAMJCR-21
             Project: Seam JCR
          Issue Type: Enhancement
          Components: OCM
    Affects Versions: 3.0.0.Beta1
            Reporter: Simon Gunzenreiner


OCMMappingStore.map() currently does not map inherited fields, due to considering only fields defined on the given class. I suggest to use  clazz.getFields() instead of clazz.getDeclaredFields().

Also, this behaviour is not in-line with the usage of clazz.getMethods(), which takes into account the accessor methods of parent classes (correct behaviour).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list