Home > Articles > Software Development & Management > UML

This chapter is from the book 16.9 UML Properties and Property Strings

16.9 UML Properties and Property Strings

In the UML, a property is “a named value denoting a characteristic of an element. A property has semantic impact.” [OMG03b]. Some properties are predefined in the UML, such as visibility—a property of an operation. Others can be user-defined.

Properties of elements may be presented in many ways, but a textual approach is to use the UML property string {name1=value1, name2=value2} format, such as {abstract, visibility=public}. Some properties are shown without a value, such as {abstract}; this usually implies a boolean property, shorthand for {abstract=true}. Note that {abstract} is both an example of a constraint and a property string.

  • + Share This
  • 🔖 Save To Your Account