-
Key: OCL21-243
-
Legacy Issue Number: 7537
-
Status: closed
-
Source: OpenModeling ( Jos Warmer)
-
Summary:
29. – [1] The result value of an attribute call expression is the value bound to the
– name of the attribute to which it refers.
context AttributeCallExpEval inv:
resultValue = if source.resultValue->isOclType(
OCLDomain::Values::ObjectValue) then
source.resultValue->asOclType( ObjectValue )
.getCurrentValueOf(referredAttribute.name)
else – must be a tuple value
source.resultValue->asOclType( TupleValue )
.getValueOf(referredAttribute.name)
endif
==> ’isOclType’ should be ’oclIsTypeOf’
==> ’asOclType’ should be ’oclAsType’
==> ’name’ should be ’value’ (twice) -
Reported: OCL 2.0b2 — Thu, 10 Jun 2004 04:00 GMT
-
Disposition: Resolved — OCL 2.1
-
Disposition Summary:
’isOclType’ and ’asOclType’ were fixed in OCL 2.3.
Yes. value rather than name -
Updated: Fri, 6 Mar 2015 20:58 GMT