<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.sql.DriverPropertyInfo
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.sql.html">This Package</a>  <a href="java.sql.DriverManager.html#_top_">Previous</a>  <a href="java.sql.Time.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.sql.DriverPropertyInfo
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.sql.DriverPropertyInfo
</pre>
<hr>
<dl>
  <dt> public class <b>DriverPropertyInfo</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
</dl>
<p>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.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#choices"><b>choices</b></a>
  <dd>  If the value may be selected from a particular set of values,
 then this is an array of the possible values.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#description"><b>description</b></a>
  <dd>  A brief description of the property.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#name"><b>name</b></a>
  <dd>  The name of the property.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#required"><b>required</b></a>
  <dd>  "required" is true if a value must be supplied for this property
 during Driver.connect.
  <dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#value"><b>value</b></a>
  <dd>  "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.
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#DriverPropertyInfo(java.lang.String, java.lang.String)"><b>DriverPropertyInfo</b></a>(String, String)
  <dd>  Constructor a DriverPropertyInfo with a name and value; other
 members default to their initial values.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="name"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>name</b>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> name
</pre>
<dl>
  <dd> The name of the property.<p>
</dl>
<a name="description"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>description</b>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> description
</pre>
<dl>
  <dd> A brief description of the property.  This may be null.<p>
</dl>
<a name="required"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>required</b>
<pre>
 public boolean required
</pre>
<dl>
  <dd> "required" is true if a value must be supplied for this property
 during Driver.connect.  Otherwise the property is optional.<p>
</dl>
<a name="value"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>value</b>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> value
</pre>
<dl>
  <dd> "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.<p>
</dl>
<a name="choices"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>choices</b>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> choices[]
</pre>
<dl>
  <dd> 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.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="DriverPropertyInfo"></a>
<a name="DriverPropertyInfo(java.lang.String, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>DriverPropertyInfo</b>
<pre>
 public DriverPropertyInfo(<a href="java.lang.String.html#_top_">String</a> name,
                           <a href="java.lang.String.html#_top_">String</a> value)
</pre>
<dl>
  <dd> Constructor a DriverPropertyInfo with a name and value; other
 members default to their initial values.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> name - the name of the property
    <dd> value - the current value, which may be null
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.sql.html">This Package</a>  <a href="java.sql.DriverManager.html#_top_">Previous</a>  <a href="java.sql.Time.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
