protected class MappingRecordOperation.RecordCreatorImpl extends java.lang.Object implements RecordCreator
createInputRecord
method.Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
inputObject |
Constructor and Description |
---|
RecordCreatorImpl(java.lang.Object inObject) |
Modifier and Type | Method and Description |
---|---|
Record |
createRecord(RecordFactory recordFactory)
Create a CCI Record instance, usually based on the passed-in CCI RecordFactory.
|
public Record createRecord(RecordFactory recordFactory) throws ResourceException, DataAccessException
RecordCreator
For use as input creator with CciTemplate's execute
methods,
this method should create a populated Record instance. For use as
output Record creator, it should return an empty Record instance.
createRecord
in interface RecordCreator
recordFactory
- the CCI RecordFactory (never null
, but not guaranteed to be
supported by the connector: its create methods might throw NotSupportedException)ResourceException
- if thrown by a CCI method, to be auto-converted
to a DataAccessExceptionDataAccessException
- in case of custom exceptions