Re: [Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-13 Thread Wouter Zoons
Nathan Coast wrote: Hi, I have created a cartridge with its own metafacades which extend the following: org.andromda.metafacades.uml.PackageFacade with HttpUnitPackageFacade org.andromda.metafacades.uml.Entity with HttpUnitEntityFacade First off, simple question, am I extending the correct classe

Re: [Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-13 Thread Chad Brandon
Nathan Coast wrote: It went through ok. doh, sorry must be a problem with my incoming mail. Yep, your thinking is correct, try adding this mapping as well and see if that works: That fixed it! I tried these mappings individually and recieved ClassCastException org.omg.uml.modelmanage

Re: [Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-13 Thread Chad Brandon
Nathan Coast wrote: apologies if you receive this twice, but the first copy didn't seem to get through. It went through ok. Nathan Coast wrote: Hi, I have created a cartridge with its own metafacades which extend the following: org.andromda.metafacades.uml.PackageFacade with HttpUnitPackageFacad

[Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-13 Thread Nathan Coast
Hi, I have created a cartridge with its own metafacades which extend the following: org.andromda.metafacades.uml.PackageFacade with HttpUnitPackageFacade org.andromda.metafacades.uml.Entity with HttpUnitEntityFacade First off, simple question, am I extending the correct classes? or should I be e

Re: [Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-12 Thread Nathan Coast
It went through ok. doh, sorry must be a problem with my incoming mail. Yep, your thinking is correct, try adding this mapping as well and see if that works: That fixed it! I tried these mappings individually and recieved ClassCastException org.omg.uml.modelmanagement.UmlPackage$Impl

Re: [Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-12 Thread Nathan Coast
thanks for the speedy response, if I'm heading in the right direction, I'll keep trying. Just to check you understand what I'm trying to achieve... I'm hoping calls to getPackage from within my 'Entity' FacadeLogicImpl will return an instance of my PackageFacade HttpUnitPackageFacade pack = (H

[Andromda-user] custom metafacde instances in LogicImpl classes

2005-04-12 Thread Nathan Coast
apologies if you receive this twice, but the first copy didn't seem to get through. Nathan Coast wrote: Hi, I have created a cartridge with its own metafacades which extend the following: org.andromda.metafacades.uml.PackageFacade with HttpUnitPackageFacade org.andromda.metafacades.uml.Entity w