Page 1 of 1

getCategory and getConstantCategory methods

Posted: Fri Aug 07, 2009 11:38 am
by ConvertFromOldNGs
by Darrell Duniam >> Tue, 17 Nov 1998 21:28:31 GMT

Just out of curiosity, can anyone tell me what the difference is between the getCategory and getConstantCategory methods on the schema class please ?

I thought (hoped actually) that getConstantCategory would return the category of a global constant, but the name parameter must be a category name.
--
Darrell Duniam
dduniam@cardinal.co.nz
www.cardinal.co.nz

Re: getCategory and getConstantCategory methods

Posted: Fri Aug 07, 2009 11:38 am
by ConvertFromOldNGs
by Skull >> Wed, 18 Nov 1998 0:54:05 GMT
Just out of curiosity, can anyone tell me what the difference is between the getCategory and getConstantCategory methods on the schema class please ?


The difference is getConstantCategory only searches the receiver whereas getCategory will search the receiver and super schemas in the branch.