Exploring a Model-Oriented and Executable Syntax for UML Attributes

  • Omar Badreddin
  • Andrew Forward
  • Timothy C. Lethbridge
Conference paper

DOI: 10.1007/978-3-319-00948-3_3

Part of the Studies in Computational Intelligence book series (SCI, volume 496)
Cite this paper as:
Badreddin O., Forward A., Lethbridge T.C. (2014) Exploring a Model-Oriented and Executable Syntax for UML Attributes. In: Lee R. (eds) Software Engineering Research, Management and Applications. Studies in Computational Intelligence, vol 496. Springer, Heidelberg

Abstract

Implementing UML attributes directly in an object-oriented language may not appear to be complex, since such languages already support member variables. The distinction arises when considering the differences between modelling a class and implementing it. In addition to representing attributes, member variables can also represent association ends and internal data including counters, caching, or sharing of local data. Attributes in models also support additional characteristics such as being unique, immutable, or subject to lazy instantiation. In this paper we present modeling characteristics of attributes from first principles and investigate how attributes are handled in several open-source systems. We look code-generation of attributes by various UML tools. Finally, we present our own Umple language along with its code generation patterns for attributes, using Java as the target language.

Keywords

Attributes UML Model Driven Design Code Generation Umple Model-Oriented Programming Language 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Omar Badreddin
    • 1
  • Andrew Forward
    • 1
  • Timothy C. Lethbridge
    • 1
  1. 1.School of Electrical Engineering and Computer ScienceUniversity of OttawaOttawaCanada

Personalised recommendations