}
}
List<List<String>> results = query.queryEntryDescriptor(
entryDescriptor, matchFully);
for (List<String> result : results) {
EntryDescriptor descriptor = new EntryDescriptor(result.get(0));
if (result.get(0).contains("#")) {
descriptor.setId(result.get(0).substring(
result.get(0).indexOf('#') + 1));
}
descriptor.setName(result.get(1));
if (result.get(1).contains("#")) {
descriptor.setLocation(new URI(result.get(2).substring(
result.get(2).indexOf('#') + 1)));
} else {
if (result.get(2) != null) {
descriptor.setLocation(new URI(result.get(2)));
} else {
descriptor.setLocation(null);
}
}
descriptor.setDescriptor(entryDescriptor.getDescriptor());
listProcessingElementDescriptor.add(descriptor);
}
if (results.size() > 0) {
LOG.debug("Found processing elements ");
} else {