Class OptionSetting

    • Method Detail

      • name

        public final String name()

        The name of the option that has settings that you can set.

        Returns:
        The name of the option that has settings that you can set.
      • value

        public final String value()

        The current value of the option setting.

        Returns:
        The current value of the option setting.
      • defaultValue

        public final String defaultValue()

        The default value of the option setting.

        Returns:
        The default value of the option setting.
      • description

        public final String description()

        The description of the option setting.

        Returns:
        The description of the option setting.
      • applyType

        public final String applyType()

        The DB engine specific parameter type.

        Returns:
        The DB engine specific parameter type.
      • dataType

        public final String dataType()

        The data type of the option setting.

        Returns:
        The data type of the option setting.
      • allowedValues

        public final String allowedValues()

        The allowed values of the option setting.

        Returns:
        The allowed values of the option setting.
      • isModifiable

        public final Boolean isModifiable()

        Indicates whether the option setting can be modified from the default.

        Returns:
        Indicates whether the option setting can be modified from the default.
      • isCollection

        public final Boolean isCollection()

        Indicates whether the option setting is part of a collection.

        Returns:
        Indicates whether the option setting is part of a collection.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)