if you set Resource to inheritance=interface and AbstractObject
inheritance=subclass and set leafImpl=true

For ant this is in the mda/build.xml 

            <namespace name="hibernate" ignore="false">
                <property name="hibernateTypeMappingsUri"
value="Hibernate"/>
                <property name="leafImpl" value="true"/>
 
or for maven mda/project.xml

        <!-- specify and configure our cartridges -->
        <dependency>
            <groupId>andromda</groupId>
            <artifactId>andromda-hibernate-cartridge</artifactId>
            <version>${andromda}</version>
            <properties>
                <leafImpl>true</leafImpl>

leafImpl=true puts all the impl implementation on the Impl that is the
leaf of the hierarchy. So instead of 

X <-- XImpl <- Y <- YImpl <- Z <- ZImpl 

leafImpl true generates

X <- Y <- Z <- ZImpl 

and all the "business operations" are placed on the ZImpl.

 
On Tue, 2005-01-18 at 19:28, Bernard Sirius wrote:
> Sorry I don't quite understand what I'm supposed to
> do... Can you please be a bit more explicit?
> 
> thanks!
> 
> bernard
> 
> 
> > I have a worked for the latest problem, "not
> > joined-subclass", just
> > about to add a fix for the duplicate ids.
> > 
> > The work around is to set leafImpl=true 
> > 
> > I can get a successful build by setting leaf
> 
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> All your favorites on one personal page  Try My Yahoo!
> http://my.yahoo.com



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to