I understand the difference now. Thanks.

Frank Budinsky <[EMAIL PROTECTED]> wrote: The SDOHelper.isDocumentRoot() method 
is the client API for this. In our 
EMF-based impl, checking for the ExtendedMetaData name is "" is the right 
check. The ExtendedMetaData name of a DocumentRoot type is never 
"DocumentRoot" - it's always "".

Frank.

Fuhwei Lwo  wrote on 07/09/2007 12:53:41 PM:

> In SDOHelperImpl.java, there is a method called isDocumentRoot() 
> described below. I remember in some cases the name of DocumentRoot 
> type is called "DocumentRoot" that would fail the method. My 
> question is what checking is sufficient for identifying a document 
> root type. Thanks.
> 
> public boolean isDocumentRoot(Type type)
>   {
>     return 
"".equals(SDOExtendedMetaData.INSTANCE.getName((EClassifier)type));
>   }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to