title: Use Association or List attribute in UML Class diagram?
body: <p>I have identified two classes that I want to implement in code like this:</p>
  
  <pre><code>InsuranceProviders{ 
  }
  
  Advice{
      List&lt;InsuranceProviders&gt; providers;
  }
  </code></pre>
  
  <p>If I wanted to represent these two classes in a UML class diagram, should the <code>Advice</code> class have an Association with <code>InsuranceProvider</code>, or should it have a list attribute of <code>InsuranceProvider</code> instead?</p>
  
  <p><a href="http://i.stack.imgur.com/U2LRS.jpg" rel="nofollow">With Association</a></p>
  
  <p><a href="http://i.stack.imgur.com/Up8gi.jpg" rel="nofollow">With Attribute</a></p>
  
  <p>Or maybe something else? </p>