-
Key: UML25-674
-
Legacy Issue Number: 14989
-
Status: closed
-
Source: NIST ( Mr. Conrad Bock)
-
Summary:
In UML, TestIdentityAction does not currently apply to datatypes. The
introduction and description of TestIdentityAction say
"TestIdentifyAction is an action that tests if two values are identical
objects. This action returns true if the two input values are the same
identity, false if they are not." Data type values are not objects and
do not have identity (that is, you cannot tell one data type value from
another).If it is decided that the execution engine should not reflect the above
semantics, the semantics of TestIdentityAction needs to be extended for
unstructured datatype values to test whether the values are the same.
For structured values, such as strings, the values and their contents
would need to be the same, recursively if they contain more datatype
values. -
Reported: FUML 1.0b2 — Tue, 19 Jan 2010 05:00 GMT
-
Disposition: Resolved — UML 2.5
-
Disposition Summary:
This issue is obsolete. The specification of the semantics of TestIdentityAction in the UML 2.5 beta specification, in
Subclause 16.4.3, under “Test Identity Actions”, covers the testing of instances of data types.
Disposition: Closed - No Change -
Updated: Fri, 6 Mar 2015 20:59 GMT
UML25 — TestIdentityAction for datatypes
- Key: UML25-674
- OMG Task Force: Unified Modeling Language 2.5 (UML) FTF