Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - curtp

Pages: [1]
1
General Board / Associations
« on: December 21, 2001, 03:26:05 pm »
Great work guys, the associations are getting much closer.  There is one thing I still cannot find a way to do however.

If multiplicity of the "part-end" of an association is n you should be able to select the data type used for this variable.  Like you can when you are dealing with any other attribute.

For example, if I have ClassA which has a composition association with ClassB, where ClassB is the "part-end", I should be able to use a collection data type for the attribute in ClassA.

In Java:

LinkedList m_ClassB;

rather than,

ClassB m_ClassB;

How do I do this?

Pages: [1]