com.mysql.jdbc
Class ConnectionProperties.StringConnectionProperty
java.lang.Object
com.mysql.jdbc.ConnectionProperties.ConnectionProperty
com.mysql.jdbc.ConnectionProperties.StringConnectionProperty
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ConnectionProperties
- class ConnectionProperties.StringConnectionProperty
- extends ConnectionProperties.ConnectionProperty
- implements java.io.Serializable
Constructor Summary |
(package private) |
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! |
(package private) |
ConnectionProperties.StringConnectionProperty(java.lang.String propertyNameToSet,
java.lang.String defaultValueToSet,
java.lang.String descriptionToSet,
java.lang.String sinceVersionToSet,
java.lang.String category,
int orderInCategory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowableValues
java.lang.String[] allowableValues
categoryName
java.lang.String categoryName
defaultValue
java.lang.Object defaultValue
lowerBound
int lowerBound
order
int order
propertyName
java.lang.String propertyName
sinceVersion
java.lang.String sinceVersion
upperBound
int upperBound
valueAsObject
java.lang.Object valueAsObject
required
boolean required
description
java.lang.String description
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!
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)
getAllowableValues
java.lang.String[] getAllowableValues()
getCategoryName
java.lang.String getCategoryName()
- Returns:
- Returns the categoryName.
getDefaultValue
java.lang.Object getDefaultValue()
getLowerBound
int getLowerBound()
getOrder
int getOrder()
- Returns:
- Returns the order.
getPropertyName
java.lang.String getPropertyName()
getUpperBound
int getUpperBound()
getValueAsObject
java.lang.Object getValueAsObject()
initializeFrom
void initializeFrom(java.util.Properties extractFrom)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
initializeFrom
void initializeFrom(javax.naming.Reference ref)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
setCategoryName
void setCategoryName(java.lang.String categoryName)
- Parameters:
categoryName
- The categoryName to set.
setOrder
void setOrder(int order)
- Parameters:
order
- The order to set.
setValueAsObject
void setValueAsObject(java.lang.Object obj)
storeTo
void storeTo(javax.naming.Reference ref)
getAsDriverPropertyInfo
java.sql.DriverPropertyInfo getAsDriverPropertyInfo()
validateStringValues
void validateStringValues(java.lang.String valueToValidate)
throws java.sql.SQLException
- Throws:
java.sql.SQLException