public interface DiffQueryMappingBuilder<T>
DiffBuilder,
DiffInstanceBuilder,
DiffConfiguration| Modifier and Type | Method and Description |
|---|---|
DiffConfiguration |
configuration()
Gets the configuration instance to get the configuration generated by this instance instance.
|
DiffQueryMappingBuilder<T> |
mapping(String field)
Maps a new getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
mapping(String field,
DiffComparator<F> comparator)
Maps a new getter of the field for the class.
|
DiffQueryMappingBuilder<T> |
property(String key,
String value)
Define a property for the last mapping.
|
DiffMappingBuilder<T> |
unmapping()
Removes the mapping that this current query represents.
|
DiffQueryMappingBuilder<T> property(String key, String value)
key - the identifier of the property.value - the value of the property.DiffMappingBuilder<T> unmapping()
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.DiffConfiguration configuration()
Copyright © 2020. All rights reserved.