org.widok.validation

Validations

Related Doc: package validation

object Validations

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Validations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class EmailValidation(message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates that a value is a valid e-mail adress.

    Validates that a value is a valid e-mail adress.

    message

    Error message. Variables: #{value} the validated input

  2. case class FalseValidation(message: Option[String] = None) extends Validation[Boolean] with Product with Serializable

    Validates that a boolean value is false

    Validates that a boolean value is false

    message

    Variables: #{value} the validated input

  3. case class MaxLengthValidation(maxLength: Int, message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates that a value is at most 'maxLength' characters

    Validates that a value is at most 'maxLength' characters

    maxLength

    Maximum length of value

    message

    Error message. Variables: #{value} the validated input, #{maxLength} = maximum length

  4. case class MaxValidation(max: Int, message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates max values

    Validates max values

    max

    The maximum value

    message

    Error message. Variables: #{value} the validated input, #{max} tha max value

  5. case class MinLengthValidation(minLength: Int, message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates that a value is at least 'minLength' characters

    Validates that a value is at least 'minLength' characters

    minLength

    Minimum length of value

    message

    Error message. Variables: #{value} the validated input, #{minLength} = minimum length

  6. case class MinValidation(min: Int, message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates min values

    Validates min values

    min

    The minimum value

    message

    Error message. Variables: #{value} the validated input, #{min} = the min value

  7. case class PatternValidation(pattern: String, message: Option[String] = None) extends TextValidation with Product with Serializable

    Validates that values matches a regex pattern

    Validates that values matches a regex pattern

    pattern

    Regex pattern

    message

    Error message. Variables: #{value} the validated input, #{pattern}

  8. case class RequiredValidation(message: Option[String] = None) extends Validation[String] with Product with Serializable

    Validate required values

    Validate required values

    message

    Error message. Variables: #{value} the validated input

  9. case class SameValidation(message: Option[String] = None) extends Validation[(String, String)] with Product with Serializable

    Validates that two tupled strings are equal.

    Validates that two tupled strings are equal.

    message

    Error message. Variables: #{value} the validated input

  10. case class TrueValidation(message: Option[String] = None) extends Validation[Boolean] with Product with Serializable

    Validates that a boolean value is true

    Validates that a boolean value is true

    message

    Variables: #{value} the validated input

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  16. def toString(): String

    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped