Package-level declarations

Types

Link copied to clipboard
annotation class AllowedValues(val value: Array<String>, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Alpha(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class AlphaNumeric(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Constraint(val validator: KClass<*>)
Link copied to clipboard
annotation class Contains(val value: String, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Email(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class EndsWith(val value: String, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class FieldsMatch(val first: String, val second: String, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Future(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class FutureOrPresent(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class LowerCase(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Max(val value: Long, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class MaxLength(val value: Int, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Min(val value: Long, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class MinLength(val value: Int, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Negative(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class NegativeOrZero(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class NotBlank(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class NotEmpty(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class NotNull(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Past(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class PastOrPresent(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Pattern(val regexp: String, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class PhoneNumber(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Positive(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class PositiveOrZero(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Range(val min: Long, val max: Long, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class Sensitive(val mask: String = "********")

Marks a property as containing sensitive data (e.g. passwords, SSNs, credit card numbers).

Link copied to clipboard
annotation class Size(val min: Int, val max: Int, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class StartsWith(val value: String, val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class UpperCase(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
annotation class Url(val message: String = "", val messageKey: String = "", val groups: Array<KClass<*>> = [])
Link copied to clipboard
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class ValidateIf(val field: String, val equals: String = "")

Specifies a conditional check determining whether constraints on the annotated property should be evaluated.

Link copied to clipboard
annotation class ValixDoc(val displayName: String = "", val description: String = "", val example: String = "")