}
private void collectTargetLink() {
TargetId tgtId = transformation.getTargetId();
if (tgtId != null) {
Target tgt = dataLookup.getEntity(tgtId, Target.class);
if (tgt != null) {
collectedLinks.add(new StrongEntityLink(tgt, transformation));
DataLocation loc = tgt.getLocation();
if (loc instanceof DatabaseLocation) {
collectTargetDbLocationAndStructureLink(tgt);
} else if (loc instanceof LdapLocation) {
collectTargetLdapLocationAndStructureLink(tgt);
}