Class ConnectionPropertiesImpl.IntegerConnectionProperty
java.lang.Object
com.mysql.jdbc.ConnectionPropertiesImpl.ConnectionProperty
com.mysql.jdbc.ConnectionPropertiesImpl.IntegerConnectionProperty
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionPropertiesImpl.LongConnectionProperty, ConnectionPropertiesImpl.MemorySizeConnectionProperty
- Enclosing class:
ConnectionPropertiesImpl
static class ConnectionPropertiesImpl.IntegerConnectionProperty
extends ConnectionPropertiesImpl.ConnectionProperty
implements Serializable
-
Field Summary
FieldsFields inherited from class ConnectionPropertiesImpl.ConnectionProperty
allowableValues, categoryName, defaultValue, description, lowerBound, order, propertyName, required, sinceVersion, updateCount, upperBound, valueAsObject, wasExplicitlySet -
Constructor Summary
ConstructorsConstructorDescriptionIntegerConnectionProperty(String propertyNameToSet, int defaultValueToSet, int lowerBoundToSet, int upperBoundToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) IntegerConnectionProperty(String propertyNameToSet, int defaultValueToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) IntegerConnectionProperty(String propertyNameToSet, Object defaultValueToSet, String[] allowableValuesToSet, int lowerBoundToSet, int upperBoundToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory) -
Method Summary
Modifier and TypeMethodDescription(package private) String[](package private) int(package private) int(package private) int(package private) boolean(package private) voidinitializeFrom(String extractedValue, ExceptionInterceptor exceptionInterceptor) (package private) boolean(package private) voidsetValue(int intValue, ExceptionInterceptor exceptionInterceptor) (package private) voidsetValue(int intValue, String valueAsString, ExceptionInterceptor exceptionInterceptor) Methods inherited from class ConnectionPropertiesImpl.ConnectionProperty
getAsDriverPropertyInfo, getCategoryName, getDefaultValue, getOrder, getPropertyName, getUpdateCount, getValueAsObject, initializeFrom, initializeFrom, isExplicitlySet, setCategoryName, setOrder, setValueAsObject, storeTo, validateStringValues
-
Field Details
-
multiplier
int multiplier
-
-
Constructor Details
-
IntegerConnectionProperty
-
IntegerConnectionProperty
-
IntegerConnectionProperty
-
-
Method Details
-
getAllowableValues
String[] getAllowableValues()- Overrides:
getAllowableValuesin classConnectionPropertiesImpl.ConnectionProperty- See Also:
-
getLowerBound
int getLowerBound()- Overrides:
getLowerBoundin classConnectionPropertiesImpl.ConnectionProperty- See Also:
-
getUpperBound
int getUpperBound()- Overrides:
getUpperBoundin classConnectionPropertiesImpl.ConnectionProperty- See Also:
-
getValueAsInt
int getValueAsInt() -
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
- Throws:
SQLException
-
setValue
void setValue(int intValue, String valueAsString, ExceptionInterceptor exceptionInterceptor) throws SQLException - Throws:
SQLException
-