# com.bea.control
DatabaseControl.SQLFragment Class

public static class DatabaseControl.SQLFragment
extends `Object`

Hierarchy
  `Object`
  `DatabaseControl.SQLFragment`

Enclosing interface
  `DatabaseControl`

## Field Summary

`protected `List`` | `parameters` List
`protected `CharSequence`` | `sql` CharSequence

## Constructor Summary

DatabaseControl.SQLFragment()
DatabaseControl.SQLFragment(`String` sql, `DatabaseControl.SQLParameter` parameters)

## Method Summary

`public `DatabaseControl.SQLParameter`[]` | `getParameters`() zero-based array (NOTE: ResultSet is one-based)
`public `String`` | `getSQL`()
`public `String`` | `toString`()

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Field Detail

### parameters

    protected List parameters

### sql

    protected CharSequence sql

## Constructor Detail

### DatabaseControl.SQLFragment

    public DatabaseControl.SQLFragment()

### DatabaseControl.SQLFragment

    public DatabaseControl.SQLFragment(String sql,
                                       DatabaseControl.SQLParameter[] parameters)

## Method Detail

### getParameters() Method

    public DatabaseControl.SQLParameter[] getParameters()

zero-based array (NOTE: ResultSet is one-based)

### getSQL() Method

    public String getSQL()

### toString() Method

    public String toString()

Overrides
  `Object.toString()`