Class ConnectionPropertiesImpl.StringConnectionProperty
java.lang.Object
com.mysql.jdbc.ConnectionPropertiesImpl.ConnectionProperty
com.mysql.jdbc.ConnectionPropertiesImpl.StringConnectionProperty
- All Implemented Interfaces:
Serializable
- Enclosing class:
ConnectionPropertiesImpl
static class ConnectionPropertiesImpl.StringConnectionProperty
extends ConnectionPropertiesImpl.ConnectionProperty
implements Serializable
-
Field Summary
Fields inherited from class ConnectionPropertiesImpl.ConnectionProperty
allowableValues, categoryName, defaultValue, description, lowerBound, order, propertyName, required, sinceVersion, updateCount, upperBound, valueAsObject, wasExplicitlySet -
Constructor Summary
ConstructorsConstructorDescriptionStringConnectionProperty(String propertyNameToSet, String defaultValueToSet, String[] allowableValuesToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) StringConnectionProperty(String propertyNameToSet, String defaultValueToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) -
Method Summary
Modifier and TypeMethodDescription(package private) String(package private) boolean(package private) voidinitializeFrom(String extractedValue, ExceptionInterceptor exceptionInterceptor) (package private) boolean(package private) voidMethods inherited from class ConnectionPropertiesImpl.ConnectionProperty
getAllowableValues, getAsDriverPropertyInfo, getCategoryName, getDefaultValue, getLowerBound, getOrder, getPropertyName, getUpdateCount, getUpperBound, getValueAsObject, initializeFrom, initializeFrom, isExplicitlySet, setCategoryName, setOrder, setValueAsObject, storeTo, validateStringValues
-
Constructor Details
-
StringConnectionProperty
-
StringConnectionProperty
StringConnectionProperty(String propertyNameToSet, String defaultValueToSet, String[] allowableValuesToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) - Parameters:
propertyNameToSet-defaultValueToSet-allowableValuesToSet-descriptionToSet-sinceVersionToSet-
-
-
Method Details
-
getValueAsString
String getValueAsString() -
hasValueConstraints
boolean hasValueConstraints()- Specified by:
hasValueConstraintsin classConnectionPropertiesImpl.ConnectionProperty- See Also:
-
initializeFrom
void initializeFrom(String extractedValue, ExceptionInterceptor exceptionInterceptor) throws SQLException - Specified by:
initializeFromin classConnectionPropertiesImpl.ConnectionProperty- Throws:
SQLException- See Also:
-
isRangeBased
boolean isRangeBased()- Specified by:
isRangeBasedin classConnectionPropertiesImpl.ConnectionProperty- See Also:
-
setValue
-