public class TableObjectMediator extends AbstractBusinessObjectMediator
This table object mediator is an extension to the concept of a business object mediator for data load. The table object mediator is responsible for accepting pre-populated value objects representing physical tables (table data objects) in the data base. The partially populated table data objects will be additionally populated by this mediator with values that need to be resolved through the business context service or an ID resolution.
The TableObjectMediator
extends the AbstractBusinessObjectMediator
.
The data object passed to the transform() method is an instance of List
and each element in the list
is an instance of ExtendedTableDataObject
.
The table object builder will populate the table data object using all column values which
are from the input data and fixed value. The values which are from business context
and need to be resolved by ID resolution are populated by this TableObjectMediator
.
Constructor and Description |
---|
TableObjectMediator() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This method will perform de-initialization required for the table object mediator and
call the super class
close() method. |
void |
init()
This method will perform initialization required for the table object mediator and
call the super class
init() method. |
execute, getConfigProperties, getEndKey, getStartKey, initConfig, postProcess, preProcess, setConfigProperties
public void init() throws DataLoadException
This method will perform initialization required for the table object mediator and
call the super class init()
method.
init
in interface BusinessObjectMediator
init
in class AbstractBusinessObjectMediator
DataLoadException
- An application exception will be thrown if there was a problem initializing the business object mediator.BusinessObjectMediator.init()
,
AbstractBusinessObjectMediator.init()
public void close() throws DataLoadException
This method will perform de-initialization required for the table object mediator and
call the super class close()
method.
close
in interface BusinessObjectMediator
close
in class AbstractBusinessObjectMediator
DataLoadException
- An application exception will be thrown if there was a problem closing the business object mediator.BusinessObjectMediator.close()
,
AbstractBusinessObjectMediator.close()