com.mysql.jdbc
Class ConnectionProperties.IntegerConnectionProperty

java.lang.Object
  extended by com.mysql.jdbc.ConnectionProperties.ConnectionProperty
      extended by com.mysql.jdbc.ConnectionProperties.IntegerConnectionProperty
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConnectionProperties.LongConnectionProperty, ConnectionProperties.MemorySizeConnectionProperty
Enclosing class:
ConnectionProperties

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


Field Summary
(package private)  int multiplier
           
 
Fields inherited from class com.mysql.jdbc.ConnectionProperties.ConnectionProperty
allowableValues, categoryName, defaultValue, description, lowerBound, order, propertyName, required, sinceVersion, upperBound, valueAsObject
 
Constructor Summary
ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet, int defaultValueToSet, int lowerBoundToSet, int upperBoundToSet, java.lang.String descriptionToSet, java.lang.String sinceVersionToSet, java.lang.String category, int orderInCategory)
           
ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet, int defaultValueToSet, java.lang.String descriptionToSet, java.lang.String sinceVersionToSet, java.lang.String category, int orderInCategory)
          DOCUMENT ME!
ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet, java.lang.Object defaultValueToSet, java.lang.String[] allowableValuesToSet, int lowerBoundToSet, int upperBoundToSet, java.lang.String descriptionToSet, java.lang.String sinceVersionToSet, java.lang.String category, int orderInCategory)
           
 
Method Summary
(package private)  java.lang.String[] getAllowableValues()
           
(package private)  int getLowerBound()
           
(package private)  int getUpperBound()
           
(package private)  int getValueAsInt()
           
(package private)  boolean hasValueConstraints()
           
(package private)  void initializeFrom(java.lang.String extractedValue)
           
(package private)  boolean isRangeBased()
           
(package private)  void setValue(int valueFlag)
           
 
Methods inherited from class com.mysql.jdbc.ConnectionProperties.ConnectionProperty
getAsDriverPropertyInfo, getCategoryName, getDefaultValue, getOrder, getPropertyName, 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
 

Field Detail

multiplier

int multiplier
Constructor Detail

ConnectionProperties.IntegerConnectionProperty

public ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet,
                                                      java.lang.Object defaultValueToSet,
                                                      java.lang.String[] allowableValuesToSet,
                                                      int lowerBoundToSet,
                                                      int upperBoundToSet,
                                                      java.lang.String descriptionToSet,
                                                      java.lang.String sinceVersionToSet,
                                                      java.lang.String category,
                                                      int orderInCategory)

ConnectionProperties.IntegerConnectionProperty

ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet,
                                               int defaultValueToSet,
                                               int lowerBoundToSet,
                                               int upperBoundToSet,
                                               java.lang.String descriptionToSet,
                                               java.lang.String sinceVersionToSet,
                                               java.lang.String category,
                                               int orderInCategory)

ConnectionProperties.IntegerConnectionProperty

ConnectionProperties.IntegerConnectionProperty(java.lang.String propertyNameToSet,
                                               int defaultValueToSet,
                                               java.lang.String descriptionToSet,
                                               java.lang.String sinceVersionToSet,
                                               java.lang.String category,
                                               int orderInCategory)
DOCUMENT ME!

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

getAllowableValues

java.lang.String[] getAllowableValues()
Overrides:
getAllowableValues in class ConnectionProperties.ConnectionProperty
See Also:
ConnectionProperties.ConnectionProperty.getAllowableValues()

getLowerBound

int getLowerBound()
Overrides:
getLowerBound in class ConnectionProperties.ConnectionProperty
See Also:
ConnectionProperties.ConnectionProperty.getLowerBound()

getUpperBound

int getUpperBound()
Overrides:
getUpperBound in class ConnectionProperties.ConnectionProperty
See Also:
ConnectionProperties.ConnectionProperty.getUpperBound()

getValueAsInt

int getValueAsInt()

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.lang.String)

isRangeBased

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

setValue

void setValue(int valueFlag)