DimensionValidatorImpl

internal class DimensionValidatorImpl(val minimum: Int = MINIMUM, val maximum: Int = MAXIMUM) : DimensionValidator(source)

Implements DimensionValidator behavior in the SDAI validation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(minimum: Int = MINIMUM, maximum: Int = MAXIMUM)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
private val maximum: Int

Exposes the maximum value used by the SDAI validation layer.

Link copied to clipboard
private val minimum: Int

Exposes the minimum value used by the SDAI validation layer.

Functions

Link copied to clipboard
open operator override fun invoke(input: String?): ValidationResult<DimensionValidator.Error>