Carlos Cuenca wrote:

Chad Brandon wrote:

Carlos Cuenca wrote:

Hi,

I had been testing the hibernate cartridge, and the operations inheritance is not working properly, actually I think that the problem is at MetaFacades.
Actual situation:
if class Parent is abstract and have an abtract operation "Op1", the cartridge defines "Op1" as real within the ParentImpl class (which is not abstract)
the correct situation should be
Create an abstract ParentImpl class with an abstract method "Op1", and then create the Parent class with the "Op1" defined as real.


...so for this reason it should be taken into account the operations defined on the parents class, and which of them are not declared as real on the inheritance tree. I think this should be done within the getBussinessOperations from the HibernateFacade class.



The animal quiz has an abtract class (DecisionItem) and things are generated correctly there...is this something different than that?


sure it is, since in the template will not generate any abstract class (neither in HibernateEntityImpl nor HibernateEntityImplManual) ... I guess that is the problem...

I'm still not sure what you're talking about? The animal quiz does generate an abstract DecisionItem and abstract DecisionItemImpl class for the modeled abstract DecisionItem. Why would you want to create the Parent class with Op1 defined as real? The Parent class would be the the class that should not be touched.






any ideas / comments?

Carlos



-------------------------------------------------------
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










------------------------------------------------------- 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