-- So did you open up the HibernateMetafacadeModel in poseidon and the model those classes? If so did you import the UMLMetafacadeModel.xml.zip as well? (I've never tried this is Posedion is why I ask). Can you send me the files it generated and I'll take a look?
I think the problem is that I need all those UMLMetafacadeModel inside the poseidon file, right?
Here are the things I've done: 1. I export the UMLMetafacadeModel from MagicDraw to the XMI format.
2. I import the XMI file to Poseidon: XMI 1.1 and 1.2 cannot be imported. Poseidon always show an error. But I can import XMI 1.0 into Poseidon (with some errors in the console).
3. I add the class HibernateFinderMethodFacade to extend EntityFinderMethodFacade (which is already available in the UMLMetafacadeModel). But I saw a difference:
in MagicDraw: the getQuery has following parameter: translation: String
in my Poseidon without parameter.
4. I compile the model, no problem.
5. I compile the cartridge with an error (yes, only one error ;-)):
[javac] H:\LDaten\LArbeit\ejosa-revo\dev-cartridges\cartridges\andromda-hibernate\src\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFacadeLogicImpl.java:17: org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLogicImpl is not abstract and does not override abstract method validateInvariants(java.util.Collection) in org.andromda.metafacades.uml.ModelElementFacade
[javac] public class HibernateFinderMethodFacadeLogicImpl
[javac] ^
[javac] 1 error
It seems that some relationships or generalizations are damaged within the export import?
What do you think? I include the zuml file from Poseidon for the andromda-hibernate. -- --------------------------------------------------- Blasius Lofi Dewanto --------------------------------------------------- OpenUSS - Open University Support System http://openuss.sourceforge.net --------------------------------------------------- E-Mail : [EMAIL PROTECTED] ICQ : 39343280 ---------------------------------------------------
UMLMetafacadeModelForHibernate.zuml
Description: Binary data