Class AbstractPropertyDefinition<T>

java.lang.Object
com.mysql.cj.conf.AbstractPropertyDefinition<T>
All Implemented Interfaces:
PropertyDefinition<T>, java.io.Serializable
Direct Known Subclasses:
BooleanPropertyDefinition, EnumPropertyDefinition, IntegerPropertyDefinition, LongPropertyDefinition, StringPropertyDefinition

public abstract class AbstractPropertyDefinition<T>
extends java.lang.Object
implements PropertyDefinition<T>, java.io.Serializable
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractPropertyDefinition​(PropertyKey key, T defaultValue, boolean isRuntimeModifiable, java.lang.String description, java.lang.String sinceVersion, java.lang.String category, int orderInCategory)  
    AbstractPropertyDefinition​(PropertyKey key, T defaultValue, boolean isRuntimeModifiable, java.lang.String description, java.lang.String sinceVersion, java.lang.String category, int orderInCategory, int lowerBound, int upperBound)  
    AbstractPropertyDefinition​(java.lang.String name, java.lang.String camelCaseAlias, T defaultValue, boolean isRuntimeModifiable, java.lang.String description, java.lang.String sinceVersion, java.lang.String category, int orderInCategory)  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String[] getAllowableValues()
    Returns the list of allowable values.
    java.lang.String getCategory()
    Returns the property category.
    java.lang.String getCcAlias()
    Returns the property camel-case alias.
    T getDefaultValue()
    Returns the default value.
    java.lang.String getDescription()
    Returns the property description.
    int getLowerBound()
    The lowest possible value of range-based property
    java.lang.String getName()
    Returns the property name.
    int getOrder()
    Returns the property order.
    PropertyKey getPropertyKey()
    Get the property key.
    java.lang.String getSinceVersion()
    Returns the driver version where the property was introduced first.
    int getUpperBound()
    The highest possible value of range-based property
    boolean hasCcAlias()
    Returns true if property has a camel-case alias.
    boolean hasValueConstraints()
    Does the property have fixed values based constraints.
    boolean isRangeBased()
    Returns true if property has range-based constraints
    boolean isRuntimeModifiable()
    May the property be changed after initialization.
    abstract T parseObject​(java.lang.String value, ExceptionInterceptor exceptionInterceptor)
    Returns the value object parsed from it's string representation and checked against allowable values.
    void setCategory​(java.lang.String category)  
    void setDefaultValue​(T defaultValue)  
    void setDescription​(java.lang.String description)  
    void setLowerBound​(int lowerBound)  
    void setOrder​(int order)  
    void setRuntimeModifiable​(boolean isRuntimeModifiable)  
    void setSinceVersion​(java.lang.String sinceVersion)  
    void setUpperBound​(int upperBound)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.mysql.cj.conf.PropertyDefinition

    createRuntimeProperty