diff options
Diffstat (limited to 'libjava/java/sql/DriverPropertyInfo.java')
-rw-r--r-- | libjava/java/sql/DriverPropertyInfo.java | 102 |
1 files changed, 44 insertions, 58 deletions
diff --git a/libjava/java/sql/DriverPropertyInfo.java b/libjava/java/sql/DriverPropertyInfo.java index a60ccec..12382e3 100644 --- a/libjava/java/sql/DriverPropertyInfo.java +++ b/libjava/java/sql/DriverPropertyInfo.java @@ -39,64 +39,50 @@ exception statement from your version. */ package java.sql; /** - * This class holds a driver property that can be used for querying or - * setting driver configuration parameters. - * - * @author Aaron M. Renn (arenn@urbanophile.com) - */ -public class DriverPropertyInfo -{ - -/* - * Instance Variables + * This class holds a driver property that can be used for querying or + * setting driver configuration parameters. + * + * @author Aaron M. Renn (arenn@urbanophile.com) */ - -/** - * 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) +public class DriverPropertyInfo { - this.name = name; - this.value = value; + /** + * The name of the property. + */ + public String name; + + /** + * 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; + + /** + * This is the value of the property. + */ + public String value; + + /** + * If values are restricted to certain choices, this is the list of valid + * ones. Otherwise it is <code>null</code>. + */ + public String[] choices; + + /** + * 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) + { + this.name = name; + this.value = value; + } } - -} // DriverPropertyInfo - |