Page 1 of 1

Why we cannot reimplement sysNotification method of object i

Posted: Fri Aug 07, 2009 2:48 pm
by ConvertFromOldNGs
by scott >> Thu, 15 Jan 2004 5:43:37 GMT

Hi,
Why we cannot reimplement sysNotification method of object in Jade5.02? But we can do it in Jade5.01.
It seems that Jade had prevent us from reimplementing the method in Jade 5.02.
Why is it like so?

Scott

Re: Why we cannot reimplement sysNotification method of object i

Posted: Fri Aug 07, 2009 2:48 pm
by ConvertFromOldNGs
by allistar >> Thu, 15 Jan 2004 8:49:48 GMT

I was not aware that this could be don in 5.1. I would say it is because the Object class (in any schema) is called a "subschema copy" class. That is that the class itself is defined in a superschema (in this case "RootSchema"). You can't add a method called "sysNotification" on the Object class because a method with that name already exists on that class (albeit in a parent schma).

Regards,
Allistar.
--
------------------------------------------------------------------
Allistar Melville
Software Developer, Analyst allistar@silvermoon.co.nz
Auckland, NEW ZEALAND

Silvermoon Software
Specialising in JADE development and consulting
Visit us at: http://www.silvermoon.co.nz
*NEW* Simple web access to Jade at: www.silvermoon.co.nz/jhp.html ------------------------------------------------------------------