- All Superinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IModelComparator extends IClusterableImplementations of this interface compare model object. The component is given so that a developer can choose what the previous object is The default implementation for form components is just component.getModelObject(); But developers can choose to keep the last rendered value for that component and compare this value with the newObject. So that it doesn't overwrite values for an object that was changed by another session if the current session didn't touch that specific value.
- jcompagner, Jonathan Locke
Fields Modifier and Type Field Description
ALWAYS_FALSEA model comparator that always returns false
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
compare(Component component, Object newObject)
static final IModelComparator ALWAYS_FALSEA model comparator that always returns false