Issue 7543: elements in the result value (ocl2-rtf) Source: OpenModeling (Mr. Jos Warmer, jos.warmer(at)openmodeling.nl) Nature: Uncategorized Issue Severity: Summary: 35. -- [4] The elements in the result value are the elements in the -- literal parts, taking into account that a collection range can result -- elements. context CollectionLiteralExpEval inv: let allElements : Bag(Value) = parts->collect( Sequence{1..allElements->size()}->forAll( i: resultValue.elements->at(i).name = ’’ and resultValue.elements->at(i).value = allElements-> self.kind = CollectionKind::Sequence implies resultValue.elements->at(i).indexNr = i ) ==> should be context CollectionLiteralExpEval inv: let allElements : Sequence(Value) = parts->collect( in Sequence{1..allElements->size()}->forAll( i: resultValue->oclAsType(OCLDomain::Values::CollectionValue). >any(x | x.indexNr = i).value = allElements->at(i) and self.kind = CollectionKind::Sequence implies resultValue.elements->at(i).indexNr = i ) Resolution: Revised Text: Actions taken: June 10, 2004: received issue Discussion: End of Annotations:===== s is issue # 7543 elements in the result value 35. -- [4] The elements in the result value are the elements in the -- literal parts, taking into account that a collection range can result -- elements. context CollectionLiteralExpEval inv: let allElements : Bag(Value) = parts->collect( Sequence{1..allElements->size()}->forAll( i: resultValue.elements->at(i).name = .. and resultValue.elements->at(i).value = allElements-> self.kind = CollectionKind::Sequence implies resultValue.elements->at(i).indexNr = i ) ==> should be context CollectionLiteralExpEval inv: let allElements : Sequence(Value) = parts->collect( in Sequence{1..allElements->size()}->forAll( i: resultValue->oclAsType(OCLDomain::Values::CollectionValue). >any(x | x.indexNr = i).value = allElements->at(i) and self.kind = CollectionKind::Sequence implies resultValue.elements->at(i).indexNr = i )