Book a Demo

Author Topic: OCL Query Window  (Read 4135 times)

David OD

  • EA User
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
OCL Query Window
« on: January 29, 2010, 03:43:38 pm »
In the past I have used Borland's Together UML product.  While I much prefer EA, there was one feature in Together that was very useful.  It was possible to open a window into which you could type OCL (with intellisense features) in order to perform queries against the model.  While not the original intention of OCL, it is very useful!
Regards
David

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: OCL Query Window
« Reply #1 on: January 29, 2010, 07:09:32 pm »
David,

EA has a search feature that allows you to search for element either by building the query with the GUI, or writing an SQL query to query the database directly.

The latter is very powerful, I use it all the time.

Geert

David OD

  • EA User
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
Re: OCL Query Window
« Reply #2 on: January 30, 2010, 05:57:39 am »
Geert

Yes, I have used that myself on the odd occasion.  However an OCL evaluation tool can do more than simply list the items.  I have used it before to run counts of certain classifications of elements in a model (for sanity checking transformations).  I could also return columns of data like a mini reporting system.

However I will go back and look again at the existing search features.

Thanks.
Regards
David