/[classpath]/classpath/java/sql/DriverPropertyInfo.java
ViewVC logotype

Diff of /classpath/java/sql/DriverPropertyInfo.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mark, Tue Jan 22 22:27:01 2002 UTC revision 1.4 by bryce, Fri Jun 21 05:34:12 2002 UTC
# Line 39  exception statement from your version. * Line 39  exception statement from your version. *
39  package java.sql;  package java.sql;
40    
41  /**  /**
42    * This class holds a driver property that can be used for querying or   * This class holds a driver property that can be used for querying or
43    * setting driver configuration parameters.   * setting driver configuration parameters.
44    *   *
45    * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
   */  
 public class DriverPropertyInfo  
 {  
   
 /*  
  * Instance Variables  
46   */   */
47    public class DriverPropertyInfo
 /**  
   * The name of the property.  
   */  
 public String name;  
   
 /**  
   * This is the value of the property.  
   */  
 public String value;  
   
 /**  
   * A description of the property, possibly <code>null</code>.  
   */  
 public String description;  
   
 /**  
   * A flag indicating whether or not a value for this property is required  
   * in order to connect to the database.  
   */  
 public boolean required;  
   
 /**  
   * If values are restricted to certain choices, this is the list of valid  
   * ones.  Otherwise it is <code>null</code>.  
   */  
 public String[] choices;  
   
 /*************************************************************************/  
   
 /*  
  * Constructors  
  */  
   
 /**  
   * This method initializes a new instance of <code>DriverPropertyInfo</code>  
   * with the specified name and value.  All other fields are defaulted.  
   *  
   * @param name The name of the property.  
   * @param value The value to assign to the property.  
   */  
 public  
 DriverPropertyInfo(String name, String value)  
48  {  {
49    this.name = name;    /**
50    this.value = value;     * The name of the property.
51       */
52      public String name;
53    
54      /**
55       * A description of the property, possibly <code>null</code>.
56       */
57      public String description;
58    
59      /**
60       * A flag indicating whether or not a value for this property is required
61       * in order to connect to the database.
62       */
63      public boolean required;
64    
65      /**
66       * This is the value of the property.
67       */
68      public String value;
69    
70      /**
71        * If values are restricted to certain choices, this is the list of valid
72        * ones.  Otherwise it is <code>null</code>.
73        */
74      public String[] choices;
75    
76      /**
77       * This method initializes a new instance of <code>DriverPropertyInfo</code>
78       * with the specified name and value.  All other fields are defaulted.
79       *
80       * @param name The name of the property.
81       * @param value The value to assign to the property.
82       */
83      public DriverPropertyInfo(String name, String value)
84      {
85        this.name = name;
86        this.value = value;
87      }
88  }  }
   
 } // DriverPropertyInfo  
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26