All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.sql.DriverPropertyInfo

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

public class DriverPropertyInfo
extends Object

The DriverPropertyInfo class is only of interest to advanced programmers who need to interact with a Driver via getDriverProperties to discover and supply properties for connections.


Variable Index

 o choices
If the value may be selected from a particular set of values, then this is an array of the possible values.
 o description
A brief description of the property.
 o name
The name of the property.
 o required
"required" is true if a value must be supplied for this property during Driver.connect.
 o value
"value" specifies the current value of the property, based on a combination of the information supplied to getPropertyInfo, the Java environment, and driver supplied default values.

Constructor Index

 o DriverPropertyInfo(String, String)
Constructor a DriverPropertyInfo with a name and value; other members default to their initial values.

Variables

 o name
Properties Public 
    name=String 
The name of the property.

 o description
Properties Public 
    description=String 
A brief description of the property. This may be null.

 o required
Properties Public 
   required=boolean 
"required" is true if a value must be supplied for this property during Driver.connect. Otherwise the property is optional.

 o value
Properties Public 
    value=String 
"value" specifies the current value of the property, based on a combination of the information supplied to getPropertyInfo, the Java environment, and driver supplied default values. This may be null if no value is known.

 o choices
Properties Public 
    choices[]=String 
If the value may be selected from a particular set of values, then this is an array of the possible values. Otherwise it should be null.

Constructors

 o DriverPropertyInfo
    method DriverPropertyInfo(name=String, -
                              value=String) public 
Constructor a DriverPropertyInfo with a name and value; other members default to their initial values.

Parameters:
name - the name of the property
value - the current value, which may be null

All Packages  Class Hierarchy  This Package  Previous  Next  Index