Open topic with navigation
Public Property SourceEntity As Object
SourceEntity and TargetEntity are not fixed attributes of an association. They reflect the point of view of the factory from which the Link Object is obtained. SourceEntity and TargetEntity will always be the same two objects for a given association. However, which is the source and which the target may change depending on the Link Object.
For example, when an association between a Test and a Bug is viewed from the Test side, that is, when the Link object is acquired from the BugLinkFactory of the Test, SourceEntity is the Test and TargetEntity is the Bug. If a Link object representing the same association is acquired from the LinkFactory of the Bug, SourceEntity is the Bug and TargetEntity is the Test.