Constraint Descriptor : constraintReturnType (type: ERROR, kind: )

Constraint : constraintReturnType

Constraint Name
constraintReturnType (type: ERROR, kind: )
Constraint Class
RSQIHEConstraints
Package
rsqihe
Description
the return type must be LeafClass or ObjectRef (ITI TF-2a, 3.18.4.1.2.3)
OCL
(not self.responseOption.oclIsUndefined()) and (not self.responseOption.returnType.oclIsUndefined()) and 
(self.responseOption.returnType=ReturnTypeType::OBJECTREF or self.responseOption.returnType=ReturnTypeType::LEAFCLASS)