class NodeRole implements Comparable<NodeRole> {

  public boolean matches(String nodeName) {
    return _compiledPattern.matcher(nodeName).matches();
  }

  public  NodeRole(String name, String regex);

}