-
Key: OCL21-282
-
Legacy Issue Number: 10436
-
Status: closed
-
Source: NIST ( Mr. Peter Denno)
-
Summary:
oclIsTypeOf(typespec : OclType) : Boolean
"Evaluates to true if the self is of the type identifid by typespec.."
oclIsKindOf(typespec : OclType) : Boolean
"Evaluates to true if the self conforms to the type identified by typespec">From those descriptions I cannot distinguish these two. Isn't a dog "of the
type" mammal" and wouldn't a dog "conform to the type" mammal? (Subtypes
always conform to the supertype).I suspect that you intend that one of these evaluates to TRUE if and only if
self is of type typespec and not also of a subtype of typespec . You might
say just that. -
Reported: OCL 2.0 — Thu, 2 Nov 2006 05:00 GMT
-
Disposition: Resolved — OCL 2.1
-
Disposition Summary:
No Data Available
-
Updated: Fri, 6 Mar 2015 20:58 GMT