ma.glasnost.orika.test.generator
Class BeanToMultiOccurrenceTestCase

java.lang.Object
  extended by ma.glasnost.orika.test.generator.BeanToMultiOccurrenceTestCase

public class BeanToMultiOccurrenceTestCase
extends Object


Nested Class Summary
static class BeanToMultiOccurrenceTestCase.GenericDto
           
static class BeanToMultiOccurrenceTestCase.Grade
           
static class BeanToMultiOccurrenceTestCase.GroupOfStudents
           
static class BeanToMultiOccurrenceTestCase.MapOfPeople
           
static class BeanToMultiOccurrenceTestCase.MapOfScores
           
static class BeanToMultiOccurrenceTestCase.MapOfStudents
           
static class BeanToMultiOccurrenceTestCase.Person
           
 
Constructor Summary
BeanToMultiOccurrenceTestCase()
           
 
Method Summary
 void multipleParallel()
           
 void oneToMany()
          Verifies that we're able to map from a single to field to each of the individual elements of a multi-occurrence item
 void parallelWithConvertedTypes()
          Demonstrates how a single field can be mapped to more than one destination, in both directions.
 void setUp()
           
 void unequalSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanToMultiOccurrenceTestCase

public BeanToMultiOccurrenceTestCase()
Method Detail

setUp

public void setUp()

unequalSize

public void unequalSize()
                 throws Exception
Throws:
Exception

parallelWithConvertedTypes

public void parallelWithConvertedTypes()
                                throws Exception
Demonstrates how a single field can be mapped to more than one destination, in both directions.

Throws:
Exception

oneToMany

public void oneToMany()
               throws Exception
Verifies that we're able to map from a single to field to each of the individual elements of a multi-occurrence item

Throws:
Exception

multipleParallel

public void multipleParallel()
                      throws Exception
Throws:
Exception


Copyright © 2014 Glasnost. All Rights Reserved.