Logo des Repositoriums
Zur Startseite
  • English
  • Deutsch
Anmelden
  1. Startseite
  2. SuUB
  3. Forschungsdokumente
  4. Refactoring collections in OCL
 
Zitierlink DOI
10.26092/elib/4201

Refactoring collections in OCL

Veröffentlichungsdatum
2021
Autoren
Gogolla, Martin  
Burgueño, Lola
Vallecillo, Antonio  
Zusammenfassung
The current OCL 2.4 specification organizes collections in one abstract class, Collection(T), and four concrete subclasses, namely Set(T), Bag(T), Sequence(T), and OrderedSet(T) depending on whether the collection elements are ordered or not, and whether duplicated elements are allowed or not. These four classes provide a clear and useful partition of the whole collections space, covering all relevant aspects. However, the specification of the operations associated with these classes is rather unwieldy and inefficient in the current standard: it contains duplicated descriptions, missing operations and unspecified details. In this paper, we analyze the problems with such specifications, and propose an alternative specification that avoids duplication and missing details based on the introduction of the appropriate intermediate abstract classes that capture the common features of interest of each kind of collection.
Schlagwörter
UML

; 

OCL

; 

Collection

; 

Set

; 

Bag

; 

Sequence

; 

OrderedSet
Verlag
RWTH Aachen
Institution
Universität Bremen  
Fachbereich
Fachbereich 03: Mathematik/Informatik (FB 03)  
Dokumenttyp
Konferenzbeitrag
Zeitschrift/Sammelwerk
STAF 2021 (Software Technologies: Applications and Foundations) = CEUR Workshop Proceedings, Band 2999
Startseite
142
Endseite
148
Zweitveröffentlichung
Ja
Dokumentversion
Published Version
Lizenz
https://creativecommons.org/licenses/by/4.0/
Sprache
Englisch
Dateien
Lade...
Vorschaubild
Name

Gogolla_Burgueno_Vallecillo_Refactoring Collections in OCL_2021_published-version.pdf

Size

2.17 MB

Format

Adobe PDF

Checksum

(MD5):7122bc0975769b72b48107cb873313ed

Built with DSpace-CRIS software - Extension maintained and optimized by 4Science

  • Datenschutzbestimmungen
  • Endnutzervereinbarung
  • Feedback schicken