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(java.lang.String field)
Maps a new getter of the field for the class.
|
<F> DiffQueryMappingBuilder<T> |
mapping(java.lang.String field,
java.lang.Class<F> fieldClass,
DiffComparator<F> comparator)
Maps a new getter of the field for the class.
|
DiffQueryMappingBuilder<T> |
property(java.lang.String key,
java.lang.String value)
Define a property for the last mapping.
|
DiffMappingBuilder<T> |
unmapping()
Removes the mapping that this current query represents.
|
DiffQueryMappingBuilder<T> property(java.lang.String key, java.lang.String value)
key - the identifier of the property.value - the value of the property.DiffMappingBuilder<T> unmapping()
DiffQueryMappingBuilder<T> mapping(java.lang.String field)
field - name of the field that will me used to find the getter method.<F> DiffQueryMappingBuilder<T> mapping(java.lang.String field, java.lang.Class<F> fieldClass, DiffComparator<F> comparator)
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 © 2018. All rights reserved.