return false;
}
private boolean canSourceProduceInput(DataStructure input) {
assert (input != null);
DataStructureType structureType = input.getStructureType();
if (source == null) {
// (none) as source is valid in two cases:
// 1. The transformation does not have any input
// 2. The transformation uses a WebServiceRequest as input, in which case
// it can be used in a sibling operation to a hosted webervice operation.
return !structureType.isSourceDataRequired() || structureType == DataStructureType.WebServiceRequest;
} else if (source == SystemSource.SOURCE_FROM_PREVIOUS_OPERATION || source == SystemSource.FROM_HTTP_ENDPOINT) {
structureType.isExternalSourceAccepted();
return true;
} else if (source == SystemSource.WEB_SERVICE_CALL) {
return structureType == DataStructureType.WebServiceRequest;
} else {
// Databases are special, since the Database source itself