Set<? extends IntegrationEntityId> ids = GrammarUtils.getAllIdsFromTransformation(transformation);
Set<EntityLink> links = Sets.newHashSet();
for (IntegrationEntityId id : ids) {
IntegrationEntity inteEntity = dataLookup.getEntity(id);
if (inteEntity != null) {
links.add(new WeakEntityLink(inteEntity, transformation));
} else {
LinkUtils.logMissingLink(transformation, EntityType.None, id);
}
}
return links;