public String toString() {

        String ret = null;

        switch (type)
          {
          case ANY:
            ret = "any"; 
            break;
          case ALL:
            ret = "all"; 
            break;
          case EXACT:
            ret = (min + max) == 0 ?  "none" : Integer.toString(min);
            break;
          case RANGE:
            ret = 
            	(min < 0? "" : Integer.toString(min)) + 
            	":" + 
            	(max < 0 ? "" : Integer.toString(max));
            break;
          case NONE:
        	ret = "none";
        	break;
          }
        
        return ret;
    }