Book a Demo

Author Topic: Views properites  (Read 4814 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Views properites
« on: August 15, 2007, 02:41:38 am »
Hi
I created a view in data model diagram (1st time I use it) and when I tried to rename it I discovered I can't enter normal objects properties.
I had to rename it through the diagram it self.
It might be me, but I don't understand why a view wouldn't have normal properties, I found it some what "surprising"
Recursion definition:
If you don’t understand the definition read "Recursion definition".

thomaskilian

  • Guest
Re: Views properites
« Reply #1 on: August 15, 2007, 04:48:03 am »
It's probably because Views are not meant to have any attributes on their own.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Views properites
« Reply #2 on: August 15, 2007, 05:40:10 am »
Notes? scenarios? requirements?
And I'm sure I'm missing others...
Why shouldn't it have such assets?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Views properties
« Reply #3 on: August 15, 2007, 01:14:46 pm »
Quote
Notes? scenarios? requirements?
And I'm sure I'm missing others...
Why shouldn't it have such assets?
Because it's BAD - Broken as Designed.  ???

You can get some of these "properties" back...  You can drag and drop attributes (as columns) from the various tables onto the View (or use the browser).  AND... (at special request from us) these columns should NOT appear in the generated view - they're for information only (at present).

You can also, temporarily, change the stereotype (to nothing) via the properties window and add the missing bits (responsibilities, constraints and others) and they'll remain when you change the stereotype back...

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Views properties
« Reply #4 on: August 15, 2007, 01:25:20 pm »
Quote
It's probably because Views are not meant to have any attributes on their own.
No so Thomas...

Both from a theoretical and practical perspective.

Each column (attribute) in a view is a derived item, but it is real none the less.   The properties attached to the derived item may be quite different to the properties of the source item(s).  In addition, you need to have a place to store the access function of the column.

This is all possible in fully-fledged Database Modelling tools such as Embarcadero ER/Studio.  The current Sparx implementation (which is better than having NO view capability at all) can ONLY be seen as a minimal interim solution.  You aren't actually "modelling" views with the current implementation.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Views properties
« Reply #5 on: August 15, 2007, 02:18:46 pm »
Quote
You can also, temporarily, change the stereotype (to nothing) via the properties window and add the missing bits (responsibilities, constraints and others) and they'll remain when you change the stereotype back...
Not only do they remain - and can displayed on the diagram, BUT (wait! There's more!) thanks to EA's Unique interface - you can select one of these additional compartments and then double-click the selected compartment to bring up the usual (and now unavailable) dialog and tabs!  So you don't have to keep changing the stereotype!

NOTE: THIS IS NOT A FEATURE!  IT'S BEING FORCED TO USE (TAKE ADVANTAGE OF) THE INCONSISTENT INTERFACE TO ACHIEVE WHAT SHOULD HAVE BEEN THERE IN THE FIRST PLACE...   ???

Paolo
« Last Edit: August 15, 2007, 02:19:16 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Views properties
« Reply #6 on: August 15, 2007, 06:30:17 pm »
Quote
You can also, temporarily, change the stereotype (to nothing) via the properties window and add the missing bits (responsibilities, constraints and others) and they'll remain when you change the stereotype back...

HTH,
Paolo


Sorrt, I found no way to change the stereotype, since I have not such info in properties!
I guess it might be possible to do it through diagram, but it is annoying...
I still need to try Paolos' solution though.
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Views properties
« Reply #7 on: August 15, 2007, 06:45:59 pm »
Quote
Sorry, I found no way to change the stereotype, since I have not such info in properties!
I guess it might be possible to do it through diagram, but it is annoying...
I still need to try Paolo's solution though.
Hi Martin,

The Properties Window comes up with View|Properties     Alt + 1.  You can change the stereotype there...

This trick [size=10](changing inaccessible stereotypes via the Properties Window)[/size] allows you to circumvent MANY questionable EA UI (Unique Interface) restrictions...

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Views properites
« Reply #8 on: August 15, 2007, 09:02:54 pm »
Thanks, I sow it.
Still it is not very intuitive...
Recursion definition:
If you don’t understand the definition read "Recursion definition".

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Views properites
« Reply #9 on: August 15, 2007, 11:20:54 pm »
Quote
Still it is not very intuitive...
Did I say it was?  ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

thomaskilian

  • Guest
Re: Views properties
« Reply #10 on: August 16, 2007, 05:30:20 am »
Quote
No so Thomas...

You're defintely right. It was more like finding an explanation why Sparx did it this way....