Abstract super type for implementation of IEbcdicReaderMapper. It holds information and code required by most mappers, like date parser. More...
Public Member Functions | |
void | AfterPropertiesSet () |
See IInitializationPostOperations.AfterPropertiesSet. More... | |
abstract T | Map (IList< object > values, int itemCount) |
Converts the content of a list of values into a business object. To be implemented by sub-classes. 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... | |
Protected Member Functions | |
DateTime | ParseDate (object encodedDate) |
Parses a date encoded in a String or a decimal, using the date parser. More... | |
virtual bool | ParseBoolean (object value) |
Parse object as boolean More... | |
IList< TSub > | SubMap< TSub > (IList< object > values, int itemCount, IEbcdicReaderMapper< TSub > mapper) |
Maps a list of lists to a list of business object using the given mapper. This method is used for field groups that have multiple occurrences. More... | |
Protected Member Functions inherited from Summer.Batch.Extra.Ebcdic.AbstractEbcdicMapper | |
AbstractEbcdicMapper () | |
protected constructor More... | |
Properties | |
IDateParser | DateParser [get, set] |
Date parser property. More... | |
RecordFormatMap | RecordFormatMap [set] |
RecordFormatMap property. More... | |
virtual string | DistinguishedPattern [get] |
DistinguishedPattern property. Returns null by default. Sub-classes should redefine this as needed. More... | |
virtual IList< IEbcdicReaderMapper< object > > | SubMappers [get] |
Retrieves the submappers. Used to set the date parser and the format map in cascade. 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... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from Summer.Batch.Extra.Ebcdic.AbstractEbcdicMapper | |
static string | ToCamelCase (string name) |
Converts a cobol name to a camel case name. More... | |
Detailed Description
Abstract super type for implementation of IEbcdicReaderMapper. It holds information and code required by most mappers, like date parser.
- Template Parameters
-
T the mapped class
Member Function Documentation
void Summer.Batch.Extra.Ebcdic.AbstractEbcdicReaderMapper< T >.AfterPropertiesSet | ( | ) |
See IInitializationPostOperations.AfterPropertiesSet.
Implements Summer.Batch.Common.Factory.IInitializationPostOperations.
|
pure virtual |
Converts the content of a list of values into a business object. To be implemented by sub-classes.
- Parameters
-
values itemCount
- Returns
|
protectedvirtual |
Parse object as boolean
- Parameters
-
value
- Returns
|
protected |
Parses a date encoded in a String or a decimal, using the date parser.
- Parameters
-
encodedDate the encoded date
- Returns
- the corresponding date
|
protected |
Maps a list of lists to a list of business object using the given mapper. This method is used for field groups that have multiple occurrences.
- Parameters
-
values the list of list to map itemCount the record number mapper the mapper to use for mapping the sub lists
- Returns
- a list of business objects created using the mapper
- Template Parameters
-
TSub
Property Documentation
Date parser property.
|
get |
DistinguishedPattern property. Returns null by default. Sub-classes should redefine this as needed.
RecordFormatMap property.
|
getprotected |
Retrieves the submappers. Used to set the date parser and the format map in cascade.
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Ebcdic/AbstractEbcdicReaderMapper.cs