OCLOperators brokenConstraints
This page was created by Lars.olofsson on 2018-12-14. Last edited by Wikiadmin on 2026-09-12.
Returns a collection of the names of broken constraints for the class and object.
Example
Complaint.allinstances->first.brokenConstraints
What this does[edit source]
Complaint.allInstancesâ all Complaints->firstâ one concrete instance.brokenConstraintsâ violated constraints for that instance
Returns only violated constraints
Result is a collection (possibly empty)
See also: Constraints, OCLOperators constraints
