The ScopeSET Support and Community Portal
         
View all tags
Tags:    No tags associated yet.
Go Back
Tracker: ECRs Priority: Normal Type: Bug
Found: 9.0 build 171 Status: Closed Target: 10.0
OS: All Fixed: 10.0.0.0.78 PatchID: --
Description:
2004-02-19 11:21:08 wformann
Ameos allowes types to be assigned to tagged values (stereotype-attributes).
So the user may generate a private type like 'fruit', or 'bool' or 'int' or 'string'.
When such a type is assigned to a tagged value, the otherwise simple textfield for editing the value assigned to the taggaed value in the extensibility tab changes to a combobox.
To fill the values in the combobox, the user must define an enumeration 'fruit' in the profile diagram and add a few attributes to that enumeration, eg: orange, apple, plum ...

Now the inconsistency:
When the user uses a type like fruit, but there is no enumeration fruit designed, the semantic check will cry loud.
BUT: When the user uses a type like int, the semantic check does not complain, but in the extensibility tab, there is still an empty checkbox.

So, either we shall change the behaviour in the extensibility tab


--> Frank/Andreas: define which types you need (int, string, bool, what is missing); are these type case sensitive/insensitive?
or the semantic check needs to complain for *all* types without a corresponding enumeration.

Nevertheless, the extensibility tab shall *NOT* generate a checkbox when there is a type with no values.
2004-04-14 11:39:51 lippert
Sem. Check currently does this:
- tagged value has _no_ type: do nothing
- tagged value has type:
+ look whether the type is "primitive" => do nothing, because
the only meaningful action would be a range check, but this
is not really possible for all primitive types

The check is not perfect though: the "primitive" types are
roughly a concatenation of primitive types from Java, C++ and SQL
+ if it is not "primitive", it is considered an enumerated type.
When there is no corresponding "Enumeration" modeled => complain

So I think, that we don't need to change the Sem. Check, just don't provide a drop-down box
in the extensibility tab for "primitive" types.
2005-03-29 17:26:12 amueller

02/19/04 02:21:08 wformann
Ameos allowes types to be assigned to tagged values (stereotype-attributes).


So the user may generate a private type like 'fruit', or 'bool' or 'int' or
'string'.
When such a type is assigned to a tagged value, the otherwise simple textfield
for editing the value assigned to the taggaed value in the extensibility tab
changes to a combobox.
To fill the values in the combobox, the user must define an enumeration 'fruit'
in the profile diagram and add a few attributes to that enumeration, eg: orange,
apple, plum ...

Now the inconsistency:
When the user uses a type like fruit, but there is no enumeration fruit designed,
the semantic check will cry loud.
BUT: When the user uses a type like int, the semantic check does not complain,
but in the extensibility tab, there is still an empty checkbox.

So, either we shall change the behaviour in the extensibility tab
--> Frank/Andreas: define which types you need (int, string, bool, what is
missing); are these type case sensitive/insensitive?
or the semantic check needs to complain for *all* types without a corresponding
enumeration.

Nevertheless, the extensibility tab shall *NOT* generate a checkbox when there is
a type with no values.
04/14/04 02:39:51 lippert
Sem. Check currently does this:
- tagged value has _no_ type: do nothing
- tagged value has type:
+ look whether the type is "primitive" => do nothing, because
the only meaningful action would be a range check, but this
is not really possible for all primitive types

The check is not perfect though: the "primitive" types are
roughly a concatenation of primitive types from Java, C++ and SQL
+ if it is not "primitive", it is considered an enumerated type.
When there is no corresponding "Enumeration"
modeled => complain

So I think, that we don't need to change the Sem. Check, just don't provide a
drop-down box
in the extensibility tab for "primitive" types.
Details:
Children (0)
Associations (0)
All (0)

Submitted Type Wiki Link Target Comment
Nothing found to display.

Submitted Type Wiki Link Source Comment
Nothing found to display.