> VIP extends Person. If i put my constrained properties in Person,
> they don't affect VIP : the mechanism doesn't seem to care about
> inheritance.

Do you apply constraints through MetaData merging, or by extending
MetaData (or Validation)?

I extend MetaData.

So you extend MetaData, then you extend Person from VIP and implement activateMetaData()? If you do that, you're overriding Person's version of that method. If you want it to be executed too, user super.activateMetaData() from the VIP method.

Hope this helps.

Geert

--
Geert Bevin             Uwyn bvba               GTalk: [EMAIL PROTECTED]
"Use what you need"     Avenue de Scailmont 34  Skype: gbevin
http://www.uwyn.com     7170 Manage, Belgium      AIM: geertbevin
gbevin at uwyn dot com  Tel: +32 64 84 80 03   Mobile: +32 477 302 599

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net


_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to