Class ConnectionPropertiesImpl.ConnectionProperty

java.lang.Object
com.mysql.jdbc.ConnectionPropertiesImpl.ConnectionProperty
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionPropertiesImpl.BooleanConnectionProperty, ConnectionPropertiesImpl.IntegerConnectionProperty, ConnectionPropertiesImpl.StringConnectionProperty
Enclosing class:
ConnectionPropertiesImpl

abstract static class ConnectionPropertiesImpl.ConnectionProperty extends Object implements Serializable
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • allowableValues

      String[] allowableValues
    • categoryName

      String categoryName
    • defaultValue

      Object defaultValue
    • lowerBound

      int lowerBound
    • order

      int order
    • propertyName

      String propertyName
    • sinceVersion

      String sinceVersion
    • upperBound

      int upperBound
    • valueAsObject

      Object valueAsObject
    • required

      boolean required
    • description

      String description
    • updateCount

      int updateCount
    • wasExplicitlySet

      boolean wasExplicitlySet
  • Constructor Details

    • ConnectionProperty

      public ConnectionProperty()
    • ConnectionProperty

      ConnectionProperty(String propertyNameToSet, Object defaultValueToSet, String[] allowableValuesToSet, int lowerBoundToSet, int upperBoundToSet, String descriptionToSet, String sinceVersionToSet, String category, int orderInCategory)
  • Method Details

    • getAllowableValues

      String[] getAllowableValues()
    • getCategoryName

      String getCategoryName()
      Returns:
      Returns the categoryName.
    • getDefaultValue

      Object getDefaultValue()
    • getLowerBound

      int getLowerBound()
    • getOrder

      int getOrder()
      Returns:
      Returns the order.
    • getPropertyName

      String getPropertyName()
    • getUpperBound

      int getUpperBound()
    • getValueAsObject

      Object getValueAsObject()
    • getUpdateCount

      int getUpdateCount()
    • isExplicitlySet

      boolean isExplicitlySet()
    • hasValueConstraints

      abstract boolean hasValueConstraints()
    • initializeFrom

      void initializeFrom(Properties extractFrom, ExceptionInterceptor exceptionInterceptor) throws SQLException
      Throws:
      SQLException
    • initializeFrom

      void initializeFrom(Reference ref, ExceptionInterceptor exceptionInterceptor) throws SQLException
      Throws:
      SQLException
    • initializeFrom

      abstract void initializeFrom(String extractedValue, ExceptionInterceptor exceptionInterceptor) throws SQLException
      Throws:
      SQLException
    • isRangeBased

      abstract boolean isRangeBased()
    • setCategoryName

      void setCategoryName(String categoryName)
      Parameters:
      categoryName - The categoryName to set.
    • setOrder

      void setOrder(int order)
      Parameters:
      order - The order to set.
    • setValueAsObject

      void setValueAsObject(Object obj)
    • storeTo

      void storeTo(Reference ref)
    • getAsDriverPropertyInfo

      DriverPropertyInfo getAsDriverPropertyInfo()
    • validateStringValues

      void validateStringValues(String valueToValidate, ExceptionInterceptor exceptionInterceptor) throws SQLException
      Throws:
      SQLException