org.oddjob.beancmpr.matchables
Class BeanMatchableFactory

java.lang.Object
  extended by org.oddjob.beancmpr.matchables.BeanMatchableFactory
All Implemented Interfaces:
MatchableFactory<Object>

public class BeanMatchableFactory
extends Object
implements MatchableFactory<Object>

A MatchableFactory that creates Matchables from beans.

Author:
rob

Constructor Summary
BeanMatchableFactory(MatchDefinition definition, org.oddjob.arooa.reflect.PropertyAccessor accessor)
           
 
Method Summary
 Matchable createMatchable(Object bean)
          Create a Matchable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMatchableFactory

public BeanMatchableFactory(MatchDefinition definition,
                            org.oddjob.arooa.reflect.PropertyAccessor accessor)
Method Detail

createMatchable

public Matchable createMatchable(Object bean)
Description copied from interface: MatchableFactory
Create a Matchable.

Specified by:
createMatchable in interface MatchableFactory<Object>
Returns:
The Matchable. Will be null if the object is null.


Copyright © 2013. All Rights Reserved.