Interface inheritance ignored 
------------------------------

         Key: HIB-65
         URL: http://thecla.homeftp.net:8380/jira/browse/HIB-65
     Project: Hibernate Cartridge
        Type: New Feature
    Versions: 3.0RC1    
    Reporter: Kiran Keshav
 Assigned to: Martin West 


With regards to Andromda's inheritence realization, mixing of inheritance 
strategies like 'interface'
and 'concrete' is not realized, and the 'interface' strategy is ignored 
altogether.  We would like to get classes generated like:

public class Child extends Parent implements AnInf, AnotherInf { ... }

where Parent,Child,AnInf and AnotherInf are all represented in our model. In 
the example, we have two interfaces. This is a valid java construct, and has a 
straightforward table implementation. I'm not sure why it is not supporeted 
theory, so I'm curious if I'm missing something (a good possiblity) or if you 
just haven't had time to get around to it.

Depending on the inheritance method, the hbm.xml generated will be different.

If Parent is tagged with 'concrete', and 'AnInf' and 'AnotherInf' are tagged as 
'interfaces', the attributes/associations of all three should be pushed into 
the Child.hbm.xml file, correct?  Instead, I am getting hbm.xml file for Parent 
with joined-sublcass elements, and nothing with respect to the interfaces.  
This illustrates a subclass implementation for the Parent - Child 
implementation, with the interface stereotypes being ignored.

I've attached this simple model so you can duplicate the issue.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to