-
Key: UML22-225
-
Legacy Issue Number: 9822
-
Status: closed
-
Source: Commissariat a l Energie Atomique-CEA ( Dr. Sebastien Gerard)
-
Summary:
In the defintion of the Property concept, the type of the default attribute is a String. I believe it would be more powerful to type default with ValueSpecification
-
Reported: UML 2.1.1 — Mon, 12 Jun 2006 04:00 GMT
-
Disposition: Resolved — UML 2.2
-
Disposition Summary:
Actually, Property::defaultValue is a ValueSpecification, which gives what is required. Property::/default is
a derived string, although its current documentation—“A String that is evaluated to give a default value for
the Property when an instance of the owning Classifier is instantiated” — is misleading. Property::/default
only exists at all because of earlier efforts to align superstructure and infrastructure through package merge.
Its derivation makes no sense for default values that are not strings. Since it is derived, removing it would
not affect model serialization. Delete it. -
Updated: Fri, 6 Mar 2015 20:58 GMT