T - the type of object associated to the builder.public interface DiffInstanceBuilder<T>
DiffBuilder,
DiffMappingBuilder,
DiffConfiguration| Modifier and Type | Method and Description |
|---|---|
DiffQueryMappingBuilder<T> |
mapping(String field)
Maps the getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
mapping(String field,
DiffComparator<F> comparator)
Maps the getter of the field for the class.
|
DiffMappingAllBuilder |
mappingAll()
Maps all the field of a class.
|
DiffMappingAllBuilder mappingAll()
DiffQueryMappingBuilder<T> mapping(String field)
field - name of the field that will me used to find the getter method.<F> DiffQueryMappingBuilder<T> mapping(String field, DiffComparator<F> comparator)
F - the type of object been mapped for the field.field - name of the field that will me used to find the getter method.comparator - implementation that define how two objects will be check for equality.Copyright © 2020. All rights reserved.