NamespaceFilter namespaceFilter) throws SQLException {
List<BelTerm> termList = getSupportingTerms(kamNode);
if (namespaceFilter != null) {
for (FilterCriteria criterion : namespaceFilter.getFilterCriteria()) {
NamespaceFilterCriteria nfc =
(NamespaceFilterCriteria) criterion;
Set<Integer> targetNamespaceIds = new HashSet<Integer>();
for (Namespace ns : nfc.getValues()) {
targetNamespaceIds.add(ns.getId());
}
List<BelTerm> matchedTerms = new ArrayList<BelTerm>();
for (BelTerm term : termList) {
List<TermParameter> params = getTermParameters(term);