}else if(H_FILTER_SUBTREE.equals(filter)){
return edu.indiana.dde.metadata.catalog.types.HierarchyFilterType.SUBTREE;
}else if(H_FILTER_TARGET.equals(filter)){
return edu.indiana.dde.metadata.catalog.types.HierarchyFilterType.TARGET;
}
throw new MyLeadException("UNknown h-filter type: it should be ["+H_FILTER_CHILDREN+" or "+H_FILTER_SUBTREE+" or"+H_FILTER_TARGET+"] but got :"+filter);
}