[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3486) Identity Management API allowing inheritance of entity annotations

Leandro Hermida (JIRA) jira-events at lists.jboss.org
Fri Oct 3 04:32:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12432329#action_12432329 ] 

Leandro Hermida commented on JBSEAM-3486:
-----------------------------------------

Hello again,

Since in general annotations are not inherited, I was wondering if this might be more troublesome than it looks.  If one puts some Identity Management entity annotations up in their class hierarchy and there are other classes (not User or Role) that inherit from this, how do you control or know which concrete classes are actually meant to use the inherited annotations?

leandro


> Identity Management API allowing inheritance of entity annotations
> ------------------------------------------------------------------
>
>                 Key: JBSEAM-3486
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3486
>             Project: Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.1.0.BETA1, 2.1.0.CR1
>            Reporter: Leandro Hermida
>            Assignee: Shane Bryzak
>            Priority: Minor
>
> In reference to question posed on forum: http://www.seamframework.org/Community/IdentityManagementEntityAnnotationsAndInheritance
> I was wondering if the Identity Management API supports putting some of the entity annotations in parent classes? As an example I have a User entity bean which will have @UserPrincipal, @UserPassword, @UserEnabled, @UserRoles and it inherits from a Person class which has the first and last name and thus @UserFirstName and @UserLastName.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list