public StructureLink outputLink() {
IntegrationEntity item = lookup.getEntity(tf.getTargetId());
if (item == null) {
item = lookup.getEntity(tf.getTargetTextDocumentId());
if (item == null) {
DataStructure s = tf.getOutputStructure();
if (s instanceof WebServiceStructure) {
WebServiceCallId wsCallId = ((WebServiceStructure) s).getWebServiceCallId();
item = lookup.getEntity(wsCallId);
}
}