org.oddjob.beancmpr.beans
Class BeanCreatingResultHandler

java.lang.Object
  extended by org.oddjob.beancmpr.beans.BeanCreatingResultHandler
All Implemented Interfaces:
org.oddjob.arooa.life.ArooaSessionAware, BeanCmprResultsHandler, BeanProducingResultHandler

public class BeanCreatingResultHandler
extends Object
implements BeanProducingResultHandler, org.oddjob.arooa.life.ArooaSessionAware

Author:
rob

Constructor Summary
BeanCreatingResultHandler()
           
 
Method Summary
 void compared(MultiValueComparison<Matchable> comparison)
          Two Matchables have been compared by their keys.
 void configured()
          Called by the framework.
 ResultBeanFactoryBuilder getFactoryBuilder()
           
 Collection<? super Object> getOut()
           
 String getxPropertyPrefix()
           
 String getyPropertyPrefix()
           
 boolean isIgnoreMatches()
           
 void setArooaSession(org.oddjob.arooa.ArooaSession session)
           
 void setFactoryBuilder(ResultBeanFactoryBuilder beanFactoryBuilder)
           
 void setIgnoreMatches(boolean ignoreMatches)
           
 void setOut(Collection<? super Object> out)
           
 void setxPropertyPrefix(String xPropertyPrefix)
           
 void setyPropertyPrefix(String yPropertyPrefix)
           
 String toString()
           
 void xMissing(MatchableGroup ys)
          Data is missing from X.
 void yMissing(MatchableGroup xs)
          Data is missing from Y.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanCreatingResultHandler

public BeanCreatingResultHandler()
Method Detail

setArooaSession

public void setArooaSession(org.oddjob.arooa.ArooaSession session)
Specified by:
setArooaSession in interface org.oddjob.arooa.life.ArooaSessionAware

configured

public void configured()
Called by the framework. Defined in arooa.xml.


compared

public void compared(MultiValueComparison<Matchable> comparison)
Description copied from interface: BeanCmprResultsHandler
Two Matchables have been compared by their keys.

Specified by:
compared in interface BeanCmprResultsHandler
Parameters:
comparison - The result of the comparison.

xMissing

public void xMissing(MatchableGroup ys)
Description copied from interface: BeanCmprResultsHandler
Data is missing from X.

Specified by:
xMissing in interface BeanCmprResultsHandler
Parameters:
ys - The y data.

yMissing

public void yMissing(MatchableGroup xs)
Description copied from interface: BeanCmprResultsHandler
Data is missing from Y.

Specified by:
yMissing in interface BeanCmprResultsHandler
Parameters:
xs - The x data.

getOut

public Collection<? super Object> getOut()

setOut

public void setOut(Collection<? super Object> out)
Specified by:
setOut in interface BeanProducingResultHandler

getxPropertyPrefix

public String getxPropertyPrefix()

setxPropertyPrefix

public void setxPropertyPrefix(String xPropertyPrefix)

getyPropertyPrefix

public String getyPropertyPrefix()

setyPropertyPrefix

public void setyPropertyPrefix(String yPropertyPrefix)

isIgnoreMatches

public boolean isIgnoreMatches()

setIgnoreMatches

public void setIgnoreMatches(boolean ignoreMatches)

toString

public String toString()
Overrides:
toString in class Object

getFactoryBuilder

public ResultBeanFactoryBuilder getFactoryBuilder()

setFactoryBuilder

public void setFactoryBuilder(ResultBeanFactoryBuilder beanFactoryBuilder)


Copyright © 2013. All Rights Reserved.