Trait

io.fintrospect.parameters.FormField

Optional

Related Doc: package FormField

Permalink

trait Optional[T] extends parameters.Optional[T, Form] with ValidatableParameter[T, Form] with OptionalRebind[T, Form, FormFieldBinding] with OptionalBindable[T, FormFieldBinding]

Self Type
Optional[T] with Parameter with Validatable[T, Form] with Bindable[T, FormFieldBinding]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Optional
  2. OptionalBindable
  3. Bindable
  4. OptionalRebind
  5. Rebindable
  6. ValidatableParameter
  7. Optional
  8. Validatable
  9. Retrieval
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def -->(value: T): Iterable[FormFieldBinding]

    Permalink

    Bind the value to this parameter

    Bind the value to this parameter

    returns

    the binding

    Definition Classes
    Bindable
  2. abstract def extract(from: Form): Extraction[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Optional

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def -->(value: Option[T]): Iterable[FormFieldBinding]

    Permalink
    Definition Classes
    OptionalBindable
  4. def <--(from: Form): Option[T]

    Permalink

    Extract the parameter from the target object.

    Extract the parameter from the target object. Throws on failure, but that shouldn't be a problem as the pre-validation stage for declared parameters and bodies handles the failure before user code is entered.

    Definition Classes
    OptionalRetrieval
  5. def <--?(from: Form, reason: String, predicate: (T) ⇒ Boolean): Extraction[T]

    Permalink

    Attempt to manually deserialise from the message object, adding a validation predicate and reason for failure.

    Attempt to manually deserialise from the message object, adding a validation predicate and reason for failure.

    Definition Classes
    ValidatableParameter
  6. def <--?(from: Form): Extraction[T]

    Permalink

    Attempt to manually deserialise from the message object.

    Attempt to manually deserialise from the message object.

    Definition Classes
    OptionalValidatable
  7. def <->(from: Form): Iterable[FormFieldBinding]

    Permalink
    Definition Classes
    OptionalRebindRebindable
  8. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def from(from: Form): Option[T]

    Permalink

    Extract the parameter from the target object.

    Extract the parameter from the target object. Throws on failure, but that shouldn't be a problem as the pre-validation stage for declared parameters and bodies handles the failure before user code is entered.

    Definition Classes
    Retrieval
  15. final def getClass(): Class[_]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def of(value: T): Iterable[FormFieldBinding]

    Permalink

    Bind the value to this parameter

    Bind the value to this parameter

    returns

    the binding

    Definition Classes
    Bindable
  22. def rebind(from: Form): Iterable[FormFieldBinding]

    Permalink
    Definition Classes
    OptionalRebindRebindable
  23. val required: Boolean

    Permalink
    Definition Classes
    Optional
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def validate(from: Form, reason: String, predicate: (T) ⇒ Boolean): Extraction[T]

    Permalink

    Attempt to manually deserialise from the message object, adding a validation predicate and reason for failure.

    Attempt to manually deserialise from the message object, adding a validation predicate and reason for failure.

    Definition Classes
    ValidatableParameter
  27. def validate(from: Form): Extraction[T]

    Permalink

    Attempt to manually deserialise from the message object.

    Attempt to manually deserialise from the message object.

    Definition Classes
    Validatable
  28. final def wait(): Unit

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

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

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

Inherited from OptionalBindable[T, FormFieldBinding]

Inherited from Bindable[T, FormFieldBinding]

Inherited from OptionalRebind[T, Form, FormFieldBinding]

Inherited from Rebindable[T, Form, FormFieldBinding]

Inherited from ValidatableParameter[T, Form]

Inherited from parameters.Optional[T, Form]

Inherited from Validatable[T, Form]

Inherited from Retrieval[Option[T], Form]

Inherited from AnyRef

Inherited from Any

Ungrouped