[seam-issues] [JBoss JIRA] Updated: (SEAMJCR-21) Properties from parent class should be mapped as well
John Ament (JIRA)
jira-events at lists.jboss.org
Fri Aug 5 10:13:17 EDT 2011
[ https://issues.jboss.org/browse/SEAMJCR-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Ament updated SEAMJCR-21:
------------------------------
Issue Type: Feature Request (was: Enhancement)
Affects Version/s: (was: 3.0.0.Beta1)
Priority: Minor (was: Major)
> 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: Feature Request
> Components: OCM
> Reporter: Simon Gunzenreiner
> Priority: Minor
>
> 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