org.oddjob.beancmpr.beans
Class AlternativeResultBeanFactory
java.lang.Object
org.oddjob.beancmpr.beans.AbstractResultBeanFactory
org.oddjob.beancmpr.beans.SharedNameResultBeanFactory
org.oddjob.beancmpr.beans.AlternativeResultBeanFactory
- All Implemented Interfaces:
- ResultBeanFactory
public class AlternativeResultBeanFactory
- extends SharedNameResultBeanFactory
- implements ResultBeanFactory
Creates a very match result bean where the comparison is the object (
i.e. of type Comparison
) not it's summary text.
Note the developer was really running out of naming ideas when this
class was created.
- Author:
- rob
- See Also:
SimpleResultBeanFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlternativeResultBeanFactory
public AlternativeResultBeanFactory(org.oddjob.arooa.reflect.PropertyAccessor accessor,
String xPropertyPrefix,
String yPropertyPrefix)
getClassProvider
protected AbstractResultBeanFactory.ResultBeanClassProvider getClassProvider()
- Specified by:
getClassProvider
in class AbstractResultBeanFactory
populateMatchResultType
protected void populateMatchResultType(Object resultBean,
MatchResultType matchResultType)
- Specified by:
populateMatchResultType
in class SharedNameResultBeanFactory
populateKeyProperty
protected void populateKeyProperty(Object resultBean,
String property,
Object value)
- Specified by:
populateKeyProperty
in class AbstractResultBeanFactory
populateXProperty
protected void populateXProperty(Object resultBean,
String property,
Object value)
- Specified by:
populateXProperty
in class AbstractResultBeanFactory
populateYProperty
protected void populateYProperty(Object resultBean,
String property,
Object value)
- Specified by:
populateYProperty
in class AbstractResultBeanFactory
populateComparison
protected void populateComparison(Object resultBean,
String property,
Comparison<?> comparison)
- Specified by:
populateComparison
in class AbstractResultBeanFactory
Copyright © 2013. All Rights Reserved.