bitlap.validation

Members list

Type members

Classlikes

class AssertFalseValidatorForOption extends ConstraintValidator[AssertFalse, IterableOnce[_]]

Validates that the wrapped value passed is false

Validates that the wrapped value passed is false

Attributes

Supertypes
trait ConstraintValidator[AssertFalse, IterableOnce[_]]
class Object
trait Matchable
class Any
class AssertNoneValidator extends ConstraintValidator[AssertNone, IterableOnce[_]]

Validates that the wrapped value passed is none

Validates that the wrapped value passed is none

Attributes

Supertypes
trait ConstraintValidator[AssertNone, IterableOnce[_]]
class Object
trait Matchable
class Any
class AssertSomeValidator extends ConstraintValidator[AssertSome, IterableOnce[_]]

Validates that the wrapped value passed is some

Validates that the wrapped value passed is some

Attributes

Supertypes
trait ConstraintValidator[AssertSome, IterableOnce[_]]
class Object
trait Matchable
class Any
class AssertTrueValidatorForOption extends ConstraintValidator[AssertTrue, IterableOnce[_]]

Validates that the wrapped value passed is true

Validates that the wrapped value passed is true

Attributes

Supertypes
trait ConstraintValidator[AssertTrue, IterableOnce[_]]
class Object
trait Matchable
class Any
class ByteSizeValidator extends ConstraintValidator[ByteSize, Any]

Check that the length of a wrapped value is between min and max.

Check that the length of a wrapped value is between min and max.

Attributes

Supertypes
trait ConstraintValidator[ByteSize, Any]
class Object
trait Matchable
class Any
class DecimalMaxValidatorForOption extends ConstraintValidator[DecimalMax, IterableOnce[_]]

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value less than or equal to the maximum value specified.

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value less than or equal to the maximum value specified.

Attributes

Supertypes
trait ConstraintValidator[DecimalMax, IterableOnce[_]]
class Object
trait Matchable
class Any
class DecimalMinValidatorForOption extends ConstraintValidator[DecimalMin, IterableOnce[_]]

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value more than or equal to the minimum value specified.

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value more than or equal to the minimum value specified.

Attributes

Supertypes
trait ConstraintValidator[DecimalMin, IterableOnce[_]]
class Object
trait Matchable
class Any
class DigitsValidatorForOption extends ConstraintValidator[Digits, IterableOnce[_]]

Validates that the wrapped character sequence (e.g. Option[String]) being validated consists of digits.

Validates that the wrapped character sequence (e.g. Option[String]) being validated consists of digits.

Attributes

Supertypes
trait ConstraintValidator[Digits, IterableOnce[_]]
class Object
trait Matchable
class Any
class EANValidatorForOption extends ConstraintValidator[EAN, IterableOnce[_]]

Checks that a given wrapped character sequence (e.g. Option[String]) is a valid EAN barcode.

Checks that a given wrapped character sequence (e.g. Option[String]) is a valid EAN barcode.

Attributes

Supertypes
trait ConstraintValidator[EAN, IterableOnce[_]]
class Object
trait Matchable
class Any
class EmailValidatorForOption extends ConstraintValidator[Email, IterableOnce[_]]

Validates that the wrapped character sequence (e.g. Option[String]) being validated consists of email, and matches the regexp defined in the constraint.

Validates that the wrapped character sequence (e.g. Option[String]) being validated consists of email, and matches the regexp defined in the constraint.

Attributes

Supertypes
trait ConstraintValidator[Email, IterableOnce[_]]
class Object
trait Matchable
class Any
class FutureOrPresentValidatorForOption extends HibernateConstraintValidator[FutureOrPresent, IterableOnce[_]]

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the future or in the present.

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the future or in the present.

Attributes

Supertypes
trait HibernateConstraintValidator[FutureOrPresent, IterableOnce[_]]
trait ConstraintValidator[FutureOrPresent, IterableOnce[_]]
class Object
trait Matchable
class Any
class FutureValidatorForOption extends HibernateConstraintValidator[Future, IterableOnce[_]]

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the future.

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the future.

Attributes

Supertypes
trait HibernateConstraintValidator[Future, IterableOnce[_]]
trait ConstraintValidator[Future, IterableOnce[_]]
class Object
trait Matchable
class Any
trait GenericScalaValidator[F[_]]

Validator wrapper for scala.

Validator wrapper for scala.

Value parameters

validator

delegate.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LengthValidatorForOption extends ConstraintValidator[Length, IterableOnce[_]]

Check that the wrapped character sequence length is between min and max.

Check that the wrapped character sequence length is between min and max.

Attributes

Supertypes
trait ConstraintValidator[Length, IterableOnce[_]]
class Object
trait Matchable
class Any
class LuhnCheckValidatorForOption extends ConstraintValidator[LuhnCheck, IterableOnce[_]]

Luhn algorithm checksum validator for scala.

Attributes

Supertypes
trait ConstraintValidator[LuhnCheck, IterableOnce[_]]
class Object
trait Matchable
class Any
class MaxValidatorForOption extends ConstraintValidator[Max, IterableOnce[_]]

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value less than or equal to the maximum value specified.

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value less than or equal to the maximum value specified.

Attributes

Supertypes
trait ConstraintValidator[Max, IterableOnce[_]]
class Object
trait Matchable
class Any
class MinValidatorForOption extends ConstraintValidator[Min, IterableOnce[_]]

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value more than or equal to the minimum value specified.

Check that the wrapped character sequence (e.g. Option[String]) and the number being validated represents a number, and has a value more than or equal to the minimum value specified.

Attributes

Supertypes
trait ConstraintValidator[Min, IterableOnce[_]]
class Object
trait Matchable
class Any
class Mod10CheckValidatorForOption extends ConstraintValidator[Mod10Check, IterableOnce[_]]

Mod10 (Luhn algorithm implementation) Check validator for scala.

Mod10 (Luhn algorithm implementation) Check validator for scala.

http://en.wikipedia.org/wiki/Luhn_algorithm http://en.wikipedia.org/wiki/Check_digit

Attributes

Supertypes
trait ConstraintValidator[Mod10Check, IterableOnce[_]]
class Object
trait Matchable
class Any
class Mod11CheckValidatorForOption extends ConstraintValidator[Mod11Check, IterableOnce[_]]

Mod11 Check Digit validator for scala.

Mod11 Check Digit validator for scala.

http://en.wikipedia.org/wiki/Check_digit

Attributes

Supertypes
trait ConstraintValidator[Mod11Check, IterableOnce[_]]
class Object
trait Matchable
class Any
class NegativeOrZeroValidatorForOption extends ConstraintValidator[NegativeOrZero, IterableOnce[_]]

Validates that the wrapped value passed is a negative number or zero.

Validates that the wrapped value passed is a negative number or zero.

Attributes

Supertypes
trait ConstraintValidator[NegativeOrZero, IterableOnce[_]]
class Object
trait Matchable
class Any
class NegativeValidatorForOption extends ConstraintValidator[Negative, IterableOnce[_]]

Validates that the wrapped value passed is a strictly negative number.

Validates that the wrapped value passed is a strictly negative number.

Attributes

Supertypes
trait ConstraintValidator[Negative, IterableOnce[_]]
class Object
trait Matchable
class Any
class NotBlankValidatorForOption extends ConstraintValidator[NotBlank, IterableOnce[_]]

Check that a wrapped character sequence's (e.g. Option[String]) trimmed length is not empty.

Check that a wrapped character sequence's (e.g. Option[String]) trimmed length is not empty.

Attributes

Supertypes
trait ConstraintValidator[NotBlank, IterableOnce[_]]
class Object
trait Matchable
class Any
class NotEmptyValidatorForOption extends ConstraintValidator[NotEmpty, IterableOnce[_]]

Check that the wrapped CharSequence, Collection, Map, Array, Seq and Set classes passed to be validated is not empty or not null.

Check that the wrapped CharSequence, Collection, Map, Array, Seq and Set classes passed to be validated is not empty or not null.

Attributes

Supertypes
trait ConstraintValidator[NotEmpty, IterableOnce[_]]
class Object
trait Matchable
class Any
class PastOrPresentValidatorForOption extends HibernateConstraintValidator[PastOrPresent, IterableOnce[_]]

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the past or in the present.

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the past or in the present.

Attributes

Supertypes
trait HibernateConstraintValidator[PastOrPresent, IterableOnce[_]]
trait ConstraintValidator[PastOrPresent, IterableOnce[_]]
class Object
trait Matchable
class Any
class PastValidatorForOption extends HibernateConstraintValidator[Past, IterableOnce[_]]

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the past.

Check that the wrapped Calendar, Date, Instant and JodaTime classes passed to be validated is in the past.

Attributes

Supertypes
trait HibernateConstraintValidator[Past, IterableOnce[_]]
trait ConstraintValidator[Past, IterableOnce[_]]
class Object
trait Matchable
class Any
class PatternValidatorForOption extends ConstraintValidator[Pattern, IterableOnce[_]]

Check the wrapped string.

Check the wrapped string.

Attributes

Supertypes
trait ConstraintValidator[Pattern, IterableOnce[_]]
class Object
trait Matchable
class Any
class PositiveOrZeroValidatorForOption extends ConstraintValidator[PositiveOrZero, IterableOnce[_]]

Validates that the wrapped value passed is a positive number or zero.

Validates that the wrapped value passed is a positive number or zero.

Attributes

Supertypes
trait ConstraintValidator[PositiveOrZero, IterableOnce[_]]
class Object
trait Matchable
class Any
class PositiveValidatorForOption extends ConstraintValidator[Positive, IterableOnce[_]]

Validates that the wrapped value passed is a strictly positive number.

Validates that the wrapped value passed is a strictly positive number.

Attributes

Supertypes
trait ConstraintValidator[Positive, IterableOnce[_]]
class Object
trait Matchable
class Any
final class ScalaClockProvider(clock: Clock) extends ClockProvider

Attributes

Supertypes
trait ClockProvider
class Object
trait Matchable
class Any
final class ScalaGetterPropertySelectionStrategy extends GetterPropertySelectionStrategy

Attributes

Supertypes
trait GetterPropertySelectionStrategy
class Object
trait Matchable
class Any
final class ScalaValidator(validator: Validator) extends GenericScalaValidator[Identity]

Attributes

Supertypes
class Object
trait Matchable
class Any

ValidatorFactory for scala.

ValidatorFactory for scala.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class SizeValidatorForMap extends ConstraintValidator[Size, Map[_, _]]

Check that the length of a wrapped value is between min and max.

Check that the length of a wrapped value is between min and max.

Attributes

Supertypes
trait ConstraintValidator[Size, Map[_, _]]
class Object
trait Matchable
class Any
class SizeValidatorForOption extends ConstraintValidator[Size, IterableOnce[_]]

Check that the length of a wrapped value is between min and max.

Check that the length of a wrapped value is between min and max.

Attributes

Supertypes
trait ConstraintValidator[Size, IterableOnce[_]]
class Object
trait Matchable
class Any
class SizeValidatorForSeq extends ConstraintValidator[Size, Seq[_]]

Check that the length of a wrapped value is between min and max.

Check that the length of a wrapped value is between min and max.

Attributes

Supertypes
trait ConstraintValidator[Size, Seq[_]]
class Object
trait Matchable
class Any
class SizeValidatorForSet extends ConstraintValidator[Size, Set[_]]

Check that the length of a wrapped value is between min and max.

Check that the length of a wrapped value is between min and max.

Attributes

Supertypes
trait ConstraintValidator[Size, Set[_]]
class Object
trait Matchable
class Any
class URLValidatorForOption extends ConstraintValidator[URL, IterableOnce[_]]

Validate that the wrapped character sequence (e.g. Option[String]) is a valid URL.

Validate that the wrapped character sequence (e.g. Option[String]) is a valid URL.

Attributes

Supertypes
trait ConstraintValidator[URL, IterableOnce[_]]
class Object
trait Matchable
class Any
object Utils

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Utils.type
final case class ValidationException(msg: String) extends RuntimeException

Attributes

Supertypes
trait Product
trait Equals
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Types

type Identity[X] = X