SchemaType.getOuterType() is what you're looking for. It will return the
immediate containing type so you need a while() loop to get at the very
top.
 
Radu

________________________________

From: Ajay Aggarwal [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 23, 2007 2:08 PM
To: [email protected]
Subject: Enclosing Global SchemaType for Anonymous type



Given a SchemaType of anonymous type, is there a way to find out the
enclosing global SchemaType its part of?

 

Thanks.

 

-Ajay


Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

Reply via email to