com
.
github
.
tminglei
.
bind
FieldMapping
case class
FieldMapping
[
T
]
(
constraints:
Seq
[(
String
,
String
, (
String
) ⇒
Option
[
String
]) ⇒
Option
[
String
]]
,
convert: (
String
) ⇒
T
,
processors:
Seq
[(
String
) ⇒
String
] =
immutable.this.Nil
,
options:
Options
=
...
)
extends
Mapping
[
T
] with
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Mapping
[
T
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
FieldMapping
Serializable
Serializable
Product
Equals
Mapping
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
FieldMapping
(
constraints:
Seq
[(
String
,
String
, (
String
) ⇒
Option
[
String
]) ⇒
Option
[
String
]]
,
convert: (
String
) ⇒
T
,
processors:
Seq
[(
String
) ⇒
String
] =
immutable.this.Nil
,
options:
Options
=
...
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
constraints
:
Seq
[(
String
,
String
, (
String
) ⇒
Option
[
String
]) ⇒
Option
[
String
]]
def
convert
(
name:
String
,
data:
Map
[
String
,
String
]
)
:
T
Definition Classes
FieldMapping
→
Mapping
val
convert
: (
String
) ⇒
T
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
label
(
label:
String
)
:
FieldMapping
[
T
]
def
mapTo
[
R
]
(
transform: (
T
) ⇒
R
)
:
Mapping
[
R
]
Definition Classes
Mapping
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
options
(
setting: (
Options
) ⇒
Options
)
:
FieldMapping
[
T
]
Definition Classes
FieldMapping
→
Mapping
val
options
:
Options
Definition Classes
FieldMapping
→
Mapping
def
pipe_:
(
newProcessors: (
String
) ⇒
String
*
)
:
FieldMapping
[
T
]
val
processors
:
Seq
[(
String
) ⇒
String
]
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
validate
(
name:
String
,
value:
String
,
messages: (
String
) ⇒
Option
[
String
]
,
parentOptions:
Options
)
:
Seq
[(
String
,
String
)]
def
validate
(
name:
String
,
data:
Map
[
String
,
String
]
,
messages: (
String
) ⇒
Option
[
String
]
,
parentOptions:
Options
)
:
Seq
[(
String
,
String
)]
Definition Classes
FieldMapping
→
Mapping
def
verifying
(
validates: (
String
,
T
, (
String
) ⇒
Option
[
String
]) ⇒
Seq
[(
String
,
String
)]*
)
:
Mapping
[
T
]
Definition Classes
Mapping
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Mapping
[
T
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped