I've been trying to figure out how the changing multiplicity between
classes, effects the code that gets generated.

Let's say that you have a class like Department.  This class has multiple
Employees.

Department <>----- [1..*]Employee


When I name the association to "employeeList", and add some
documentation, and look at the source for the Department, I see this:

  /**
   *  A list of employees in the Department.
   * @element-type Employee
   */
   public Vector employeeList


Ideally, I'd like to see *private List<Employee> employeeList*.  At a
minimum, is there anyway to display the generic type for the list?

If I select the endpoint within Department, and set the visibility to
Private, the code still shows up as public.

Is there anyway of changing the type for an association?  For
example,*MultiMap<Skill, Employee>
*.

Also, when I add something that has a multiplicity of 1, I still get a
Vector.  Is there anyway of changing that?

Regards,

Mark

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=2941245

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to