- Type Parameters:
SF
- Source field type.TF
- Target field type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides the strategy used to match source and target fields when mapping.
- Since:
- 4.1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's index equals the target field's index.static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's label equals the target field's label (case-sensitive).static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's label equals the target field's label (case-sensitive) and data type.static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's label equals the target field's label (case-insensitive) and data type.static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's label equals the target field's label (case-insensitive).static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's name equals the target field's name (case-sensitive).static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's name equals the target field's name (case-sensitive) and data type.static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's name equals the target field's name (case-insensitive) and data type.static <SF extends Field,
TF extends Field>
FieldMatcher<SF,TF> Returnstrue
if the source field's name equals the target field's name (case-insensitive).boolean
Returnstrue
if the source field matches the target field.
-
Method Details
-
getMatcherByLabel
Returnstrue
if the source field's label equals the target field's label (case-sensitive).- See Also:
-
getMatcherByLabelIgnoreCase
Returnstrue
if the source field's label equals the target field's label (case-insensitive).- See Also:
-
getMatcherByLabelAndDataTypeIgnoreCase
static <SF extends Field,TF extends Field> FieldMatcher<SF,TF> getMatcherByLabelAndDataTypeIgnoreCase()Returnstrue
if the source field's label equals the target field's label (case-insensitive) and data type.- See Also:
-
getMatcherByLabelAndDataType
Returnstrue
if the source field's label equals the target field's label (case-sensitive) and data type.- See Also:
-
getMatcherByNameIgnoreCase
Returnstrue
if the source field's name equals the target field's name (case-insensitive).- See Also:
-
getMatcherByName
Returnstrue
if the source field's name equals the target field's name (case-sensitive).- See Also:
-
getMatcherByNameAndDataType
Returnstrue
if the source field's name equals the target field's name (case-sensitive) and data type.- See Also:
-
getMatcherByNameAndDataTypeIgnoreCase
static <SF extends Field,TF extends Field> FieldMatcher<SF,TF> getMatcherByNameAndDataTypeIgnoreCase()Returnstrue
if the source field's name equals the target field's name (case-insensitive) and data type.- See Also:
-
getMatcherByIndex
Returnstrue
if the source field's index equals the target field's index.- See Also:
-
match
Returnstrue
if the source field matches the target field.
-