see the attached andromda-metafacades.xml...
I ripped the cartrige structure off the andromda-ejb cartridge. Better: I stole the andromda-ejb cartridge and just changed it to my ideas... ;)
MArtin
Chad Brandon wrote:
Hi Martin,
Can you attach your andromda-metafacades.xml file? Also just to make sure, you have it placed in your
cartride's meta-inf directory along side the
andromda-cartridge.xml...right?
--- MArtin Schumacher <[EMAIL PROTECTED]> wrote:
Hi ... Blue.Box?-------------------------------------------------------
thx for your help. But I tried all of this: $class.tOInterfaceName $class.getTOInterfaceName() ${class.tOInterfaceName} ${class.getTOInterfaceName()}
Ans I also tried an inherited method: $class.tableName (copied from the EntityBean.vsl) ...doesn't work either...
MArtin
[EMAIL PROTECTED] wrote:
Hi MArtin,
I am not a power AndroMDA/Velocity-User, but I
think the problem is the
Method-Name.
Rename the methode to: getToInterfaceName. The second character behind the get-prefix must be
a lower char. I have the
same problem with struts-form methods.
Or try
${class.getTOInterfaceName()}
c ya, O.K.
Hi everyone,
I got some time these days. So I am playing around
a little bit with
AndroMDA3 and the MMDs. But two questions poped up
until now:
1. I wrote my own MMD. Its based on the
EJBEntityDecorator. I added a
method called getTOInterfaceName(). In my template
I try to
use it with "$class.tOInterfaceName" and
"$class.getTOInterfaceName()"
but nothing works. Of course I did change the
andromda-cartridge.xml and the
andromda-metafacades.xml. Any hints?
2. Will there be changes in AndroMDA3 about the Template-Handling or the MMDs until the final release? Because I have some
time now
and we will start a few projects in the next month, I think
about changing to
AndroMDA3 and start writing my own cartridges. But
just if
there are no big changes anymore...
Big thanks for your help, MArtin
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux
Apps Now.
Build and deploy apps & Web services for Linux
with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________ Andromda-user mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________ Andromda-user mailing list [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- contains the ejb cartridge metafacade mappings --> <metafacades namespace="dpcom-persistence-ejb"> <metafacade metaobjectClass="org.omg.uml.foundation.core.Operation$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBFinderMethodDecoratorImpl"> <stereotype>FinderMethod</stereotype> </metafacade> <metafacade metaobjectClass="org.omg.uml.foundation.core.Attribute$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBPrimaryKeyDecoratorImpl"> <stereotype>PrimaryKey</stereotype> <property reference="sqlMappings"/> <property reference="jdbcMappings"/> </metafacade> <metafacade metaobjectClass="org.omg.uml.foundation.core.UmlClass$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBEntityDecoratorImpl"> <property reference="maxSqlNameLength"/> <stereotype>Entity</stereotype> </metafacade> <metafacade metaobjectClass="org.omg.uml.foundation.core.Interface$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBEntityDecoratorImpl"> <property reference="maxSqlNameLength"/> <!-- <stereotype>Entity</stereotype> --> </metafacade> <metafacade metaobjectClass="org.omg.uml.foundation.core.AssociationEnd$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBAssociationEndDecoratorImpl"> <context>de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBEntityDecoratorImpl</context> <property reference="foreignKeySuffix"/> </metafacade> <metafacade metaobjectClass="org.omg.uml.foundation.core.Attribute$Impl" metafacadeClass="de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EntityAttributeDecoratorImpl"> <context>de.dpcom.andromda.cartridges.persistence.ejb.metadecorators.EJBEntityDecoratorImpl</context> <property reference="sqlMappings"/> <property reference="jdbcMappings"/> </metafacade> </metafacades>
