code: private void _buildLogicalBinding(
                      final LogicalBinding binding,
                      final StringBuilder stmt,
                      final List<Object> params
                      )
      {
          final int  size = binding.size();
  
          if (size < 2) {
              throw new IllegalArgumentException(
                              "LogicalBinding with less than two element bindings" );
          }
  
          final String  logic = (binding instanceof AndBinding) ? _AND_ : _OR_;
          stmt.append( " (" );
          for (int  i = 0; i < size; i++) {
              if (i > 0) {
                  stmt.append( logic );
              }
              _buildBinding( binding.getElementAt( i ), stmt, params );
          }
          stmt.append( ")" );
      }
docs: LogicalBinding
  (b_1 AND b_2 AND ... AND b_n)
  (b_1 OR  b_2 OR  ... OR  b_n)