----- Original Message ----- 
From: "Lofi Dewanto" <[EMAIL PROTECTED]>
To: "Chad Brandon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, June 20, 2004 3:27 PM
Subject: Re: [Andromda-devel] Re: Building Cartridge in 3.x


> > -- 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\sr
c\java\org\andromda\cartridges\hibernate\metafacades\HibernateFinderMethodFa
cadeLogicImpl.java:17:
>
org.andromda.cartridges.hibernate.metafacades.HibernateFinderMethodFacadeLog
icImpl
> 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

-- Ah...this is a method I added last night to the
UMLMetafacadeModel.xml.zip...maybe you don't have the latest model?  And
looking at your poseidon model you just sent, it looks like
ModelElementFacade
doesn't have the validateInvariants(datatype.Collection) operation..make
sure you have the latest one and try again?

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



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to