code: protected boolean name_matches(String pattern) {
  	pattern = pattern.toLowerCase().replaceAll("[*]{1}", ".*?");
  	return name.toLowerCase().matches(pattern) || get_fully_qualified_name().toLowerCase().matches(pattern);
      }
docs: Returns true if name matches pattern