title: UML Class Diagram - User and User Type
body: <p>This is about User and User Type relationship.</p>
  
  <p>I have two classes User and UserType
  User has UserID, UserName, UserTypeID
  UserType as : TypeID, TypeName</p>
  
  <p>One user can have only one User Type (TypeID1/TypeID2/TypeID3)</p>
  
  <p>What could be UML class diagram notation to represent this? is it association  or composition or aggregation?</p>
  
  <p>This diagram has Car and car type as Association
  <a href="http://www.jetbrains.com/idea/features/screenshots/80/uml2.png" rel="nofollow">http://www.jetbrains.com/idea/features/screenshots/80/uml2.png</a></p>
  
  <p>This diagram has plugin and plugin type as composition 
  <a href="http://indico-software.org/raw-attachment/wiki/Dev/Technical/PluginSystem/Plugin%20System%20class%20diagram.png" rel="nofollow">http://indico-software.org/raw-attachment/wiki/Dev/Technical/PluginSystem/Plugin%20System%20class%20diagram.png</a></p>