APIs for matcher classes
- isLogicalMatchUntyped
- Returns
trueif the argument object is logically the same as the calling object and returnsfalseotherwise. - genKey
- Generates a logical key that identifies the calling object.
The KeyBasedLogicalMatcher interface provides an additional isLogicalMatch method that supports strongly typed matching of objects. The abstract AbstractPropertiesMatcher<T extends KeyableBean> class implements this interface. Extend this class to match objects of a class that is not effective-dated.
The EffDatedLogicalMatcher interface provides an additional findMatchesInPeriodUntyped method that supports matching effective-dated objects. Effective-dated entity types implement this interface. The abstract AbstractEffDatedPropertiesMatcher<T extends EffDated> class extends the AbstractPropertiesMatcher<T extends KeyableBean> class and implements this interface. Extend this class to match objects of a class that is effective-dated.
See the Javadoc for descriptions of the classes and methods and the lists of classes that implement the interfaces.
