homepage › Forums › Executable UML and xtUML Methodology › OOA '20 Questions: Collection types
Tagged: OOA20
- This topic has 4 replies, 2 voices, and was last updated 1 year, 1 month ago by
Nils.
- AuthorPosts
- September 26, 2019 at 3:07 pm #6295
Lee Riemenschneider
ParticipantMethod: 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 #6299Sean Kavanagh
MemberI 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 #6314Lee Riemenschneider
ParticipantWhat 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 #6353Nils
ParticipantSince 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 #6354Nils
ParticipantSince 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 1 year, 1 month ago by
Nils.
- This reply was modified 1 year, 1 month ago by
- AuthorPosts
- You must be logged in to reply to this topic.