Summer.Batch.Extra.Ebcdic.CompositeEbcdicReaderMapper< T > Class Template Reference

A mapper for reading EBCDIC files with different record formats. It must be provided with the correct mappers, and will delegate to them according to the discriminator value. More...

Inheritance diagram for Summer.Batch.Extra.Ebcdic.CompositeEbcdicReaderMapper< T >:
Summer.Batch.Extra.Ebcdic.IEbcdicReaderMapper< T >

Public Member Functions

Map (IList< object > values, int itemCount)
 Converts the content of a list of values into a business object using a sub-mappers. The first item of the list is expected to be the discriminator pattern of the mapper to use. More...
 
- Public Member Functions inherited from Summer.Batch.Extra.Ebcdic.IEbcdicReaderMapper< T >
TT Map (IList< object > values, int itemCount)
 Converts the content of a list of values into a business object. More...
 

Properties

IEnumerable< IEbcdicReaderMapper< T > > Mappers [set]
 Setter for the underlying mappers More...
 
RecordFormatMap RecordFormatMap [set]
 RecordFormatMap property. More...
 
IDateParser DateParser [set]
 Date parser property. More...
 
string DistinguishedPattern [get]
 DistinguishedPattern property. Not used here, so returns null; More...
 
- Properties inherited from Summer.Batch.Extra.Ebcdic.IEbcdicReaderMapper< T >
RecordFormatMap RecordFormatMap [set]
 Sets the record format map to use for mapping More...
 
IDateParser DateParser [set]
 Sets the date parser More...
 
string DistinguishedPattern [get]
 The getter for the distinguished pattern. More...
 

Detailed Description

A mapper for reading EBCDIC files with different record formats. It must be provided with the correct mappers, and will delegate to them according to the discriminator value.

Member Function Documentation

T Summer.Batch.Extra.Ebcdic.CompositeEbcdicReaderMapper< T >.Map ( IList< object >  values,
int  itemCount 
)

Converts the content of a list of values into a business object using a sub-mappers. The first item of the list is expected to be the discriminator pattern of the mapper to use.

Parameters
valuesthe list of values to map
itemCountthe record line number, starting at 0.
Returns
The mapped object

Property Documentation

string Summer.Batch.Extra.Ebcdic.CompositeEbcdicReaderMapper< T >.DistinguishedPattern
get

DistinguishedPattern property. Not used here, so returns null;

Setter for the underlying mappers


The documentation for this class was generated from the following file:
  • Summer.Batch.Extra/Ebcdic/CompositeEbcdicReaderMapper.cs