Class

co.actioniq.luna.dao

FormValidatorMessageSeq

Related Doc: package dao

Permalink

case class FormValidatorMessageSeq(errors: Seq[FormValidatorMessage] = Nil) extends Product with Serializable

Wrapper class around a seq of form validation messages / failures. Empty means form validated correctly

errors

seq of form validator messages

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FormValidatorMessageSeq
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FormValidatorMessageSeq(error: String, code: String)

    Permalink

    New class from error message and code

    New class from error message and code

    error

    error message

    code

    code

  2. new FormValidatorMessageSeq(error: String)

    Permalink

    New class from single error message

    New class from single error message

    error

    error message

  3. new FormValidatorMessageSeq(errors: Seq[FormValidatorMessage] = Nil)

    Permalink

    errors

    seq of form validator messages

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addError(message: String): Unit

    Permalink

    Add an error to the list just by message

  5. def addError(error: FormValidatorMessage): Unit

    Permalink

    Add an error to the list

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def assert(boolean: Boolean, message: String, code: Option[String] = None): Unit

    Permalink

    Helper function to assert something and on failure add message to errors

    Helper function to assert something and on failure add message to errors

    boolean

    thing to assert is true

    message

    error message to add to errors on failure

    code

    optional code to add

  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  10. var errors: Seq[FormValidatorMessage]

    Permalink

    seq of form validator messages

  11. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def head: FormValidatorMessage

    Permalink

    Head of errors

  14. def isEmpty: Boolean

    Permalink

    Are there errors

  15. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped