OOA '20 Questions: Collection types

Home Forums Executable UML and xtUML Methodology OOA '20 Questions: Collection types

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
Author Posts
Author Posts
September 26, 2019 at 3:07 pm #6295

Lee Riemenschneider
Participant

Method: Type System

Collection types

Is the existing Type System (of classes,
user data types, enumerations and
structures) sufficient?

Are collection types (arrays, sequences,
bags, sets, dictionaries) missing from the
Method?

September 26, 2019 at 4:15 pm #6299

Sean Kavanagh
Member

I don’t think the introduction of traditional collection types would help people decompose their subject matters sufficiently.
I think what is missing is an external type that is mapped to data in another domain. The data would still need to be atomic in original domain but the service domain could define collection like accessors and mutators which could return primitive values or changed versions of the same type back to client domain.

September 27, 2019 at 6:19 pm #6314

Lee Riemenschneider
Participant

What is the “existing Type System”? The one in the Mellor-Balcer book? Or (since you included structures) the one currently in BridgePoint?
I agree with Sean, but I need some clarification on the external type suggestion. If we go by the Mellor-Balcer types, then we have ordinals and collections (IIRC). The Data Types in OOA paper has some discussion on ordinal, but doesn’t include collections. Would an external type for an ordinal have accessible elements if the type was known in the original domain or must it always be atomic? Collections should always be atomic.

February 17, 2020 at 1:00 pm #6353

Nils
Participant

Since xtUML uses relational theory, which is based on set theory, we allready have all the collections we need via our set operators (select .. where …). Yes I know there are some operators missing (and highly anticipated) but lets just ignore that for the puprose of the discussion ;-).

/Nils

February 17, 2020 at 1:02 pm #6354

Nils
Participant

Since xtUML uses relational theory, which is based on set theory, we allready have all the collections we need via our set operators (select .. where …). Yes I know there are some operators missing in Bridgepoint (and highly desired) but lets just ignore that for the puprose of the discussion ;-).

/Nils

  • This reply was modified 5 months, 3 weeks ago by Nils.
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.