public String getDefinitionText(DefinitionMapping association) { ConnectorDefinition definition = defStore.getDefinition(association.getDefinitionId(), association.getDefinitionVersion()); if (definition != null) { String connectorDefinitionLabel = resourceProvider.getConnectorDefinitionLabel(definition); if (connectorDefinitionLabel == null) { connectorDefinitionLabel = definition.getId(); } return connectorDefinitionLabel + " (" + definition.getVersion() + ")"; } else { return "defintion not found for " + association.getDefinitionId() + " with version" + association.getDefinitionVersion(); } }