org.oddjob.beancmpr
Class BeanCompareJob

java.lang.Object
  extended by org.oddjob.beancmpr.BeanCompareJob
All Implemented Interfaces:
Runnable, org.oddjob.arooa.life.ArooaSessionAware, MultiItemComparisonCounts

public class BeanCompareJob
extends Object
implements org.oddjob.arooa.life.ArooaSessionAware, Runnable, MultiItemComparisonCounts

Author:
rob

Constructor Summary
BeanCompareJob()
           
 
Method Summary
 void acceptDestination(Collection<? super Object> destination)
          Used by Oddjob's Bean Bus to Automatically set a destination.
 int getBreaksCount()
           
 int getComparedCount()
           
 ComparersByProperty getComparersByProperty()
           
 ComparersByType getComparersByType()
           
 int getDifferentCount()
           
 Iterable<?> getInX()
           
 Iterable<?> getInY()
           
 String[] getKeyProperties()
           
 int getMatchedCount()
           
 String getName()
           
 String[] getOtherProperties()
           
 BeanCmprResultsHandler getResults()
           
 String[] getValueProperties()
           
 int getXMissingCount()
           
 int getYMissingCount()
           
 boolean isSorted()
           
 void reset()
           
 void run()
           
 void setArooaSession(org.oddjob.arooa.ArooaSession session)
           
 void setComparersByProperty(ComparersByProperty comparersByProperty)
           
 void setComparersByType(ComparersByType comparersByType)
           
 void setInX(Iterable<?> x)
           
 void setInY(Iterable<?> y)
           
 void setKeyProperties(String[] keys1)
           
 void setName(String name)
           
 void setOtherProperties(String[] others)
           
 void setResults(BeanCmprResultsHandler results)
           
 void setSorted(boolean sorted)
           
 void setValueProperties(String[] matchProperties)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanCompareJob

public BeanCompareJob()
Method Detail

setArooaSession

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

reset

public void reset()

run

public final void run()
Specified by:
run in interface Runnable

getName

public String getName()

setName

public void setName(String name)

getInX

public Iterable<?> getInX()

setInX

public void setInX(Iterable<?> x)

getInY

public Iterable<?> getInY()

setInY

public void setInY(Iterable<?> y)

getValueProperties

public String[] getValueProperties()

setValueProperties

public void setValueProperties(String[] matchProperties)

getKeyProperties

public String[] getKeyProperties()

setKeyProperties

public void setKeyProperties(String[] keys1)

getOtherProperties

public String[] getOtherProperties()

setOtherProperties

public void setOtherProperties(String[] others)

getComparersByType

public ComparersByType getComparersByType()

setComparersByType

public void setComparersByType(ComparersByType comparersByType)

getComparersByProperty

public ComparersByProperty getComparersByProperty()

setComparersByProperty

public void setComparersByProperty(ComparersByProperty comparersByProperty)

isSorted

public boolean isSorted()

setSorted

public void setSorted(boolean sorted)

getResults

public BeanCmprResultsHandler getResults()

setResults

public void setResults(BeanCmprResultsHandler results)

getXMissingCount

public int getXMissingCount()
Specified by:
getXMissingCount in interface MultiItemComparisonCounts

getYMissingCount

public int getYMissingCount()
Specified by:
getYMissingCount in interface MultiItemComparisonCounts

getMatchedCount

public int getMatchedCount()
Specified by:
getMatchedCount in interface MultiItemComparisonCounts

getDifferentCount

public int getDifferentCount()
Specified by:
getDifferentCount in interface MultiItemComparisonCounts

getBreaksCount

public int getBreaksCount()
Specified by:
getBreaksCount in interface MultiItemComparisonCounts

getComparedCount

public int getComparedCount()
Specified by:
getComparedCount in interface MultiItemComparisonCounts

acceptDestination

public void acceptDestination(Collection<? super Object> destination)
Used by Oddjob's Bean Bus to Automatically set a destination.

Parameters:
destination -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.