com.github.tminglei

bind

package bind

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

Type Members

  1. type Constraint = (String, Map[String, String], (String) ⇒ Option[String], Options) ⇒ Seq[(String, String)]

  2. trait Constraints extends AnyRef

  3. type ErrProcessor[R] = (Seq[(String, String)]) ⇒ R

  4. case class ExtensionMeta(name: String, desc: String, params: List[_] = immutable.this.Nil) extends Product with Serializable

  5. type ExtraConstraint[T] = (String, T, (String) ⇒ Option[String]) ⇒ Seq[String]

  6. case class FieldMapping[T](inputMode: InputMode = SoloInput, doConvert: (String, Map[String, String]) ⇒ T, moreValidate: (String, Map[String, String], (String) ⇒ Option[String], Options) ⇒ Seq[(String, String)] = FrameworkUtils.PassValidating, meta: MappingMeta, options: Options = ...) extends Mapping[T] with Product with Serializable

    A field mapping is an atomic mapping, which doesn't contain other mappings

  7. case class FormBinder[R](messages: (String) ⇒ Option[String], errProcessor: (Seq[(String, String)]) ⇒ R = ...) extends Product with Serializable

    The Facade class

  8. case class GroupMapping[T](fields: Seq[(String, Mapping[_])], doConvert: (String, Map[String, String]) ⇒ T, options: Options = ...) extends Mapping[T] with Product with Serializable

    A group mapping is a compound mapping, and is used to construct a complex/nested mapping

  9. final class Ignored[T] extends AnyRef

  10. sealed trait InputMode extends AnyRef

    Some mark traits, used to help ensure the matching of fixtures in a data processing flow/pipe

  11. trait Mapping[T] extends Metable[MappingMeta]

    A mapping, w/ constraints/processors/options, was used to validate/convert input data

  12. case class MappingMeta(targetType: ClassTag[_], baseMappings: List[Mapping[_]] = immutable.this.Nil) extends Product with Serializable

  13. trait Mappings extends AnyRef

  14. type Messages = (String) ⇒ Option[String]

  15. trait Metable[M] extends AnyRef

    Trait/classes for meta support

  16. case class Options(eagerCheck: Option[Boolean] = scala.None, skipUntouched: Option[Boolean] = scala.None, touchedChecker: Option[(String, Map[String, String]) ⇒ Boolean] = scala.None, _label: Option[String] = scala.None, _constraints: List[(String, Map[String, String], (String) ⇒ Option[String], Options) ⇒ Seq[(String, String)]] = immutable.this.Nil, _extraConstraints: List[ExtraConstraint[_]] = immutable.this.Nil, _processors: List[(String, Map[String, String], Options) ⇒ Map[String, String]] = immutable.this.Nil, _ignoreConstraints: Boolean = false, _inputMode: InputMode = SoloInput, _attachment: Option[Any] = scala.None) extends Product with Serializable

    Used to transfer config info in the data processing flow

  17. type PreProcessor = (String, Map[String, String], Options) ⇒ Map[String, String]

  18. trait Processors extends AnyRef

  19. type TouchedChecker = (String, Map[String, String]) ⇒ Boolean

Value Members

  1. object BulkInput extends InputMode

  2. object Constraints extends Constraints

  3. object FrameworkUtils

    Framework internal used util methods (!!!NOTE: be careful if using it externally)

  4. object Mappings extends Mappings

  5. object PolyInput extends InputMode

  6. object Processors extends Processors

  7. object SoloInput extends InputMode

  8. object simple extends Mappings with Constraints with Processors

    A helper object, used to simplify form-binder usage

Inherited from AnyRef

Inherited from Any

Ungrouped