java.sql

Class DriverPropertyInfo

public class DriverPropertyInfo extends Object

This class holds a driver property that can be used for querying or setting driver configuration parameters.
Field Summary
String[]choices
If values are restricted to certain choices, this is the list of valid ones.
Stringdescription
A description of the property, possibly null.
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.
Stringvalue
This is the value of the property.
Constructor Summary
DriverPropertyInfo(String name, String value)
This method initializes a new instance of DriverPropertyInfo with the specified name and value.

Field Detail

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 Detail

DriverPropertyInfo

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

Parameters: name The name of the property. value The value to assign to the property.