Class DriverPropertyInfo


  • public class DriverPropertyInfo
    extends java.lang.Object
    This class holds a driver property that can be used for querying or setting driver configuration parameters.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String[] choices
      If values are restricted to certain choices, this is the list of valid ones.
      java.lang.String description
      A description of the property, possibly null.
      java.lang.String name
      The name of the property.
      boolean required
      A flag indicating whether or not a value for this property is required in order to connect to the database.
      java.lang.String value
      This is the value of the property.
    • Constructor Summary

      Constructors 
      Constructor Description
      DriverPropertyInfo​(java.lang.String name, java.lang.String value)
      This method initializes a new instance of DriverPropertyInfo with the specified name and value.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        public java.lang.String name
        The name of the property.
      • description

        public java.lang.String description
        A description of the property, possibly null.
      • required

        public boolean required
        A flag indicating whether or not a value for this property is required in order to connect to the database.
      • value

        public java.lang.String value
        This is the value of the property.
      • choices

        public java.lang.String[] choices
        If values are restricted to certain choices, this is the list of valid ones. Otherwise it is null.
    • Constructor Detail

      • DriverPropertyInfo

        public DriverPropertyInfo​(java.lang.String name,
                                  java.lang.String value)
        This method initializes a new instance of DriverPropertyInfo with the specified name and value. All other fields are defaulted.
        Parameters:
        name - The name of the property.
        value - The value to assign to the property.