Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.query
Interface JRQueryClauseContext

    public interface JRQueryClauseContext

A query clause handling context, as seen from a `clause function`.

Version:
  $Id: JRQueryClauseContext.java 3034 2009-08-27 11:58:04Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
`void` | `addQueryMultiParameters(java.lang.String parameterName, int count)` Records a multi-valued query parameter.
`void` | `addQueryParameter(java.lang.String parameterName)` Records a query parameter.
`JRValueParameter` | `getValueParameter(java.lang.String parameterName)` Return a value parameter from the report parameters map.
`java.lang.StringBuffer` | `queryBuffer()` Returns the query text buffer.

Method Detail

### queryBuffer

    java.lang.StringBuffer queryBuffer()

  Returns the query text buffer.

  Returns:
    the query text buffer

### getValueParameter

    JRValueParameter getValueParameter(java.lang.String parameterName)

  Return a value parameter from the report parameters map.

  Parameters:
    `parameterName` - the parameter name
  Returns:
    the parameter

### addQueryParameter

    void addQueryParameter(java.lang.String parameterName)

  Records a query parameter.

  Parameters:
    `parameterName` - the parameter name

### addQueryMultiParameters

    void addQueryMultiParameters(java.lang.String parameterName,
                                 int count)

  Records a multi-valued query parameter.

  Parameters:
    `parameterName` - the parameter name
    `count` - the value count

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com