what factors determine navigability of a relation while modelling , canonincal example
Company m..n People. what should be the direction of navigability in this relation ??
what factors determine navigability of a relation while modelling , canonincal example Company m..n
Share
This is a design decision. At the analysis level you usually model all associations as bidirectional associations but, later, when moving to the implementation phase you need to start thinking about how to transform associations into Java attributes (if implementing in Java) and here the navigation play an important role since you must decide whether you want to access people objects from company (attribute people in company), company objects from people objects (attribute company in people) or both (attributes in both classes but be careful with consistency issues)