Why we cannot reimplement sysNotification method of object i

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Why we cannot reimplement sysNotification method of object i

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:48 pm

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

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Why we cannot reimplement sysNotification method of object i

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:48 pm

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 ------------------------------------------------------------------


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 21 guests