could some one throw some light on the association class .
Company -> Employee
1 1..*
employment
i could understand that when some class describes the assoication between two classes , it is called as the assoication class .
any other useful definition will be most welcome .
taking the above example , will the following true.
1) the employee class will be having some method like getEmployment()
AND
the employer will be having any method like getEmplymentDetails ( Employee employee)
i mean , will we be having two dependencies , because of the methods above
2) will it be like a mapper class , say for example map the SSN(from Employee) and the companyId (Employer)
3) who will be holding the association , if there will be no direct association between the participating classses in the association
in the above example , if say both Employee as well as Employer will not have a direct reference , then who will contain this association
warm regards,
Athi
[ May 03, 2002: Message edited by: athi agathi ]