Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.sql

Class DriverPropertyInfo

java.lang.Object
|
+--java.sql.DriverPropertyInfo


public class DriverPropertyInfo

extends Object

This class holds a driver property that can be used for querying or setting driver configuration parameters.

Author:

Field Summary

java.lang.String[]choices

If values are restricted to certain choices, this is the list of valid ones.
java.lang.Stringdescription

A description of the property, possibly null.
java.lang.Stringname

The name of the property.
booleanrequired

A flag indicating whether or not a value for this property is required in order to connect to the database.
java.lang.Stringvalue

This is the value of the property.

Constructor Summary

DriverPropertyInfo(java.lang.String name, java.lang.String value)

This method initializes a new instance of DriverPropertyInfo with the specified name and value.

Field Details

choices

public String[] choices

If values are restricted to certain choices, this is the list of valid ones. Otherwise it is null.


description

public String description

A description of the property, possibly null.


name

public String name

The name of the property.


required

public boolean required

A flag indicating whether or not a value for this property is required in order to connect to the database.


value

public String value

This is the value of the property.


Constructor Details

DriverPropertyInfo

public DriverPropertyInfo(java.lang.String name, java.lang.String value)

This method initializes a new instance of DriverPropertyInfo with the specified name and value. All other fields are defaulted.

Parameters: