LOG.info( "Test complete" );
// --------------------------------------------------------------------
LOG.info( "Begin: Walking the mapping descriptor via objects" );
MappingRoot mappingRoot = _mapping.getRoot();
ClassMapping classMap;
FieldMapping fieldMap;
FieldMapping[] fieldMaps;
int mappingCount = mappingRoot.getClassMappingCount();
// loop over the classes
for ( int i = 0; i < mappingCount; ++i )
{
classMap = mappingRoot.getClassMapping( i );
LOG.debug( "Class name: " + classMap.getName() );
int fieldCount = classMap.getClassChoice().getFieldMappingCount();
fieldMaps = classMap.getClassChoice().getFieldMapping();