title: OCL - iterate for each item
body: <p>I have a class A with a collection of other classes (B).</p>
  
  <p>How do I represent in OCL that for each class (B) in the collection there's a constraint on a field ?</p>
  
  <p>I thought something like:  </p>
  
  <pre><code>A.collection-&gt;iterate().field = SomeConstraint
  </code></pre>