ma.glasnost.orika.test.extensibility
Class ClassMapBuilderExtensibilityTestCase

java.lang.Object
  extended by ma.glasnost.orika.test.extensibility.ClassMapBuilderExtensibilityTestCase

public class ClassMapBuilderExtensibilityTestCase
extends Object

This test case demonstrates how one could extend ClassMapBuilder to define your own method for matching fields up between types.
This example uses a scoring mechanism to rank how "close" two fields are to each other based on their names, and starts by mapping the closest matches first.

Author:
matt.deboer@gmail.com

Nested Class Summary
static class ClassMapBuilderExtensibilityTestCase.ExtendedClassMapBuilder<A,B>
           
 
Constructor Summary
ClassMapBuilderExtensibilityTestCase()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMapBuilderExtensibilityTestCase

public ClassMapBuilderExtensibilityTestCase()


Copyright © 2012 Glasnost. All Rights Reserved.