Lars K�dderitzsch wrote:

Hi Chad,
thanks for your answer.
I debugged a little into it and it seems that for each model element not only my metafacade is created but the corresponding metafacade from the uml metafacades as well.
So the constraints of the created uml metafacade get validated, overriding validateInvariants within my metafacade is useless.


I do not quite understand this, because I thought I correctly mapped my metafacades to the corresponding model elements.
Why do the base uml metafacades get instanciated as well?

That's because we use delegated inheritance, its not real inheritance (this allows use to keep the cartridge metafacades independant from the actual meta model implementation).



Regards, Lars


Chad Brandon schrieb:

Lars K�dderitzsch wrote:

Hi,
I think this got lost somehow yesterday.
Sorry for the repost.

Thx,
Lars


Lars K�dderitzsch schrieb:

Hi all,

I want to 'disable' some invariants defined for base uml metafacades (for instance AttributeFacade), because im my 'modelling dialect' some of these invariants are not valid.
I know I can turn off model validation but this diables my own checks too.


Is there a way to override or disable the checking for these base invariants?
Just overwriting 'public void validateInvariants(Collection messages)' in my metafacades and not calling super doesn't do the trick...



Hmm I would think overriding the method would work...there currently isn't any other way to turn certain ones off...do you have an ideas of how we could implement something like that?


Cheers, Lars K�dderitzsch


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user





------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to