com.mysql.jdbc
Class ConnectionProperties.StringConnectionProperty

java.lang.Object
  extended by com.mysql.jdbc.ConnectionProperties.ConnectionProperty
      extended by com.mysql.jdbc.ConnectionProperties.StringConnectionProperty
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConnectionProperties

 class ConnectionProperties.StringConnectionProperty
extends ConnectionProperties.ConnectionProperty
implements java.io.Serializable


Field Summary
 
Fields inherited from class com.mysql.jdbc.ConnectionProperties.ConnectionProperty
allowableValues, categoryName, defaultValue, description, lowerBound, order, propertyName, required, sinceVersion, upperBound, valueAsObject
 
Constructor Summary
ConnectionProperties.StringConnectionProperty(java.lang.String propertyNameToSet, java.lang.String defaultValueToSet, java.lang.String[] allowableValuesToSet, java.lang.String descriptionToSet, java.lang.String sinceVersionToSet, java.lang.String category, int orderInCategory)
          DOCUMENT ME!
ConnectionProperties.StringConnectionProperty(java.lang.String propertyNameToSet, java.lang.String defaultValueToSet, java.lang.String descriptionToSet, java.lang.String sinceVersionToSet, java.lang.String category, int orderInCategory)
           
 
Method Summary
(package private)  java.lang.String getValueAsString()
           
(package private)  boolean hasValueConstraints()
           
(package private)  void initializeFrom(java.lang.String extractedValue)
           
(package private)  boolean isRangeBased()
           
(package private)  void setValue(java.lang.String valueFlag)
           
 
Methods inherited from class com.mysql.jdbc.ConnectionProperties.ConnectionProperty
getAllowableValues, getAsDriverPropertyInfo, getCategoryName, getDefaultValue, getLowerBound, getOrder, getPropertyName, getUpperBound, getValueAsObject, initializeFrom, initializeFrom, setCategoryName, setOrder, setValueAsObject, storeTo, validateStringValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionProperties.StringConnectionProperty

ConnectionProperties.StringConnectionProperty(java.lang.String propertyNameToSet,
                                              java.lang.String defaultValueToSet,
                                              java.lang.String descriptionToSet,
                                              java.lang.String sinceVersionToSet,
                                              java.lang.String category,
                                              int orderInCategory)

ConnectionProperties.StringConnectionProperty

ConnectionProperties.StringConnectionProperty(java.lang.String propertyNameToSet,
                                              java.lang.String defaultValueToSet,
                                              java.lang.String[] allowableValuesToSet,
                                              java.lang.String descriptionToSet,
                                              java.lang.String sinceVersionToSet,
                                              java.lang.String category,
                                              int orderInCategory)
DOCUMENT ME!

Parameters:
propertyNameToSet -
defaultValueToSet -
allowableValuesToSet -
descriptionToSet -
sinceVersionToSet - DOCUMENT ME!
Method Detail

getValueAsString

java.lang.String getValueAsString()

hasValueConstraints

boolean hasValueConstraints()
Specified by:
hasValueConstraints in class ConnectionProperties.ConnectionProperty
See Also:
ConnectionProperties.ConnectionProperty.hasValueConstraints()

initializeFrom

void initializeFrom(java.lang.String extractedValue)
              throws java.sql.SQLException
Specified by:
initializeFrom in class ConnectionProperties.ConnectionProperty
Throws:
java.sql.SQLException
See Also:
ConnectionProperties.ConnectionProperty.initializeFrom(java.util.Properties)

isRangeBased

boolean isRangeBased()
Specified by:
isRangeBased in class ConnectionProperties.ConnectionProperty
See Also:
ConnectionProperties.ConnectionProperty.isRangeBased()

setValue

void setValue(java.lang.String valueFlag)