Redefinitions [message #36799] |
Fri, 30 January 2004 04:55  |
Eclipse User |
|
|
|
Originally posted by: niemaz.xrce.xerox.com
Hi,
I'd like to find out when a type is being redefined or not.
I guest I should just compare the typedefinitions but which one of next
methods should I use?
getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
getItemTypeDefinition, ... ?
Then, how would I get access to the redefinition itself?
How to find out if it's a restriction or an extension?
so many questions .. ;-)
thanx,
--mike
|
|
|
|
Re: Redefinitions [message #36901 is a reply to message #36799] |
Fri, 30 January 2004 08:26  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Mike,
I'm not sure if you are really asking about <redefine>. Are you?
mike wrote:
> Hi,
> I'd like to find out when a type is being redefined or not.
>
> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?
>
> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?
>
> so many questions .. ;-)
>
> thanx,
>
> --mike
|
|
|
Re: Redefinitions [message #583263 is a reply to message #36799] |
Fri, 30 January 2004 07:43  |
Eclipse User |
|
|
|
Have found the getDerivationMethod for complex types.
Fine.
What about simple types?
--mike
mike wrote:
> Hi,
> I'd like to find out when a type is being redefined or not.
> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?
> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?
> so many questions .. ;-)
> thanx,
> --mike
|
|
|
Re: Redefinitions [message #583303 is a reply to message #36799] |
Fri, 30 January 2004 08:26  |
Eclipse User |
|
|
|
Mike,
I'm not sure if you are really asking about <redefine>. Are you?
mike wrote:
> Hi,
> I'd like to find out when a type is being redefined or not.
>
> I guest I should just compare the typedefinitions but which one of next
> methods should I use?
> getBaseTypeDefinition, getBaseType, getRootTypeDefinition, getRootType(),
> getItemTypeDefinition, ... ?
>
> Then, how would I get access to the redefinition itself?
> How to find out if it's a restriction or an extension?
>
> so many questions .. ;-)
>
> thanx,
>
> --mike
|
|
|
Powered by
FUDForum. Page generated in 0.12404 seconds