org.oddjob.beancmpr
Interface MatchDefinition

All Known Subinterfaces:
MatchableMetaData
All Known Implementing Classes:
SimpleMatchableMeta, SimpleMatchDefinition

public interface MatchDefinition

Define the properties for matching two beans.

Author:
Rob

Method Summary
 Iterable<String> getKeyProperties()
          The key property names.
 Iterable<String> getOtherProperties()
          Other properties that wont be used in the match, but which might be required for information on results.
 Iterable<String> getValueProperties()
          The names of the properties of the values that will be compared.
 

Method Detail

getKeyProperties

Iterable<String> getKeyProperties()
The key property names. These properties decide if two things can be compared.

Returns:
The names of the key properties.

getValueProperties

Iterable<String> getValueProperties()
The names of the properties of the values that will be compared.

Returns:
The names of the properties for comparison.

getOtherProperties

Iterable<String> getOtherProperties()
Other properties that wont be used in the match, but which might be required for information on results. Inserted time, or Operator Id for instance.

Returns:
The names of other properties.


Copyright © 2013. All Rights Reserved.