ru.dimgel.lib.validator

VRequired

object VRequired extends VRequired

If Param.data.head exists and is not empty (without trimming), returns it. Otherwise generates error.

Linear Supertypes
VRequired, RequiredBase[String], Head[String], Required[String], VChain[String], Validator[Param, String], NotNull, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. VRequired
  2. VRequired
  3. RequiredBase
  4. Head
  5. Required
  6. VChain
  7. Validator
  8. NotNull
  9. AnyRef
  10. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def & [In2 >: String, Out2] (v: VImp[In2, Out2]): RequiredAnd[String, In2, Out2]

    Attributes
    final
    Definition Classes
    RequiredBaseHead
  5. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  6. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  7. def apply (message: ⇒ String): VRequired

  8. def apply (message: (Param) ⇒ String): VRequired

  9. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  10. def clone (): AnyRef

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notifyAll (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def testAndConvert (in: Param): Option[String]

    Must return Some[Out] if parameter is not empty, None otherwise.

    Must return Some[Out] if parameter is not empty, None otherwise.

    Definition Classes
    VRequiredRequiredBase
  22. def toString (): String

    Definition Classes
    AnyRef → Any
  23. def validate (in: Param): NonEmpty[String]

    Redeclared abstract method to make its signature more explicit: Required* chains never return Empty result.

    Redeclared abstract method to make its signature more explicit: Required* chains never return Empty result.

    Attributes
    final
    Definition Classes
    RequiredBaseRequiredValidator
  24. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from VRequired

Inherited from RequiredBase[String]

Inherited from Head[String]

Inherited from Required[String]

Inherited from VChain[String]

Inherited from Validator[Param, String]

Inherited from NotNull

Inherited from AnyRef

Inherited from Any