org.oddjob.beancmpr.matchables
Interface Matchable

All Known Implementing Classes:
SimpleMatchable

public interface Matchable

Something that's matchable against another Matchable for the same MatchDefinition.

Author:
Rob

Method Summary
 MatchKey getKey()
          Get the key to match on.
 Iterable<?> getKeys()
          Get the keys.
 MatchableMetaData getMetaData()
          Get the meta data that describe this matchable.
 Iterable<?> getOthers()
          Get the others.
 Iterable<?> getValues()
          Get the values for comparison.
 

Method Detail

getKey

MatchKey getKey()
Get the key to match on.

Returns:
The key.

getKeys

Iterable<?> getKeys()
Get the keys.

Returns:
The keys.

getValues

Iterable<?> getValues()
Get the values for comparison.

Returns:
The values to compare.

getOthers

Iterable<?> getOthers()
Get the others.

Returns:
The others.

getMetaData

MatchableMetaData getMetaData()
Get the meta data that describe this matchable.

Returns:
The meta data. Will not be null.


Copyright © 2013. All Rights Reserved.