|
|
|
Re: How to retrieve reference data by giving a class [message #624255 is a reply to message #474875] |
Fri, 03 August 2007 11:47 |
Ed Merks Messages: 33113 Registered: July 2009 |
Senior Member |
|
|
JD,
I think you can determine this efficiently from
CacheAdapter.INSTANCE.getInverseReferences but note that this will only
find references from models that are loaded into memory...
JD wrote:
> Hi All:
> In UML model, by giving user defined DataType Class, is there a way
> to know where the datatype class was referenced?
> For example: I have a defined dataype class: TypeA, and it was used in
> following class in the model:
> ClassA.attribute1::TypeA
> ClassB.attribute2::TypeA
>
> Is there a simple approach that I can retrieve the list of
> ClassA.attribute1 and ClassB.attribute2 that TypeA was referenced?
>
> Currently, I'm using emf.query to perform the check, but performance
> is poor...
>
> Thanks in advance.
>
> JD
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.04354 seconds