Redefinitions [message #36799] |
Fri, 30 January 2004 09: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 #36833 is a reply to message #36799] |
Fri, 30 January 2004 12:43 |
Eclipse User |
|
|
|
Originally posted by: niemaz.xrce.xerox.com
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 #36901 is a reply to message #36799] |
Fri, 30 January 2004 13: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 #583303 is a reply to message #36799] |
Fri, 30 January 2004 13:26 |
Ed Merks Messages: 33236 Registered: July 2009 |
Senior Member |
|
|
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
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03491 seconds