|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.sql.DriverPropertyInfo
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.
Field Summary | |
String[] | choices
If the value may be selected from a particular set of values, then this is an array of the possible values. |
String | description
A brief description of the property. |
String | name
The name of the property. |
boolean | required
"required" is true if a value must be supplied for this property during Driver.connect. |
String | 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 Summary | |
DriverPropertyInfo(String name,
String value)
Constructor a DriverPropertyInfo with a name and value; other members default to their initial values. |
Methods inherited from class java.lang.Object | |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Field Detail |
public String name
public String description
public boolean required
public String value
public String[] choices
Constructor Detail |
public DriverPropertyInfo(String name, String value)
name
- the name of the property
value
- the current value, which may be null
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |