Hi Chad On Sun, 2004-08-22 at 22:25, Chad Brandon wrote: > What modeling tool do you use? We have an > andromda-profile*.xml.zip that you can either use as a module inside Magic > Draw or import into some other tool like Poseidon and it will have all the > datatypes, stereotypes, and tagged values for AndroMDA.
I am using Poseidon CE edition. Because I am too cheap to pay for an upgraded version, I can't import the andromda-profile*.xml.zip because the import feature is disabled in the CE version. ;-) (Actually, I can afford to buy a commercial version, but I have other reasons for not purchasing a UML tool which I may explain some other time) However, I solved the problem for myself, being the cheapskate that I am, by zipping up the andromda-profile into a Poseidon project. The downside is that I haveto start with the profile project and then build on top of it. Thats what you have to do without the import feature enabled. BTW, are there many Poseidon CE users out there? I may write a external model import program for Poseidon CE if enough people are interested. Using MDR, it shouldn't be very hard to write a program to merge one model into another. thanks again for your help Chad. roy > > Chad > > ----- Original Message ----- > From: "Roy Feldman" <[EMAIL PROTECTED]> > To: "Andromda User" <[EMAIL PROTECTED]> > Sent: Sunday, August 22, 2004 10:51 AM > Subject: [Andromda-user] Possible problem with Hibernate cartridge > definition? > > > > Hi Hibernate fans, > > > > > > With very limited knowledge of the metafacade architecture, I think I > > may have come across a inconsistency in the definition of the Hibernate > > cartridge. > > > > The Hibernate Metamodel defines a <<metafacade>> called HibernateType > > which extends the common <<metafacade>> ClassifierFacade. > > > > HibernateType defines one method, "getFullyQualfiedHibernateType". > > > > It looks like HibernateTypeLogicImpl implements > > getFullyQualifiedHibernateType. > > > > When I look at the template, HibernateEntity.vsl, it > > has the following line: > > > > * type="$attribute.type.getfullyQualifiedHibernateType" > > > > The type of type of an attribute is Classifier. This is shown by the > > code automatically generated for the interface AttributeFacade: > > > > public org.andromda.metafacades.uml.ClassifierFacade getType(); > > > > > > Where I am think there may be a problem, given my limited knowledge, > > lies in "andromda-metafacades.xml". The last line is > > <metafacade > > metaobjectClass="org.omg.uml.foundation.core.DataType$Impl" > > > > > metafacadeClass="org.andromda.cartridges.hibernate.metafacades.HibernateType > LogicImpl"> > > <property reference="hibernateTypeMappingsUri" default=""/> > > </metafacade> > > > > > > My interpretation of this is that Andromda will wrap every instance of > > Datatype$Impl, the MDR implementation of Datatype, with an instance of > > HibernateTypeImpl. Datatype is a subclass of Classifier, but in most > > cases the type of an attributes type will not be a Datatype, but some > > other subclass of Classifier, such as Class. > > > > My guess is that is why their are Velocity runtime errors in my example, > > because the types of my attributes of not primitive DataTypes like int, > > but rather Classes like String and Float. > > > > > > Any feedback would be greatly appreciated. I would like get to the > > point so I understand the Andromda well enough to start contributing to > > this project. > > > > > > thanks, > > > > roy > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Andromda-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
