code: public String getStatement()
      {
          StringBuilder  stmt = new StringBuilder();
          _buildStatement( null, null, stmt );
  
          return stmt.toString();
      }
docs: Returns the OQL statement.
  
  @return
  an OQL statement.