Class CobolRecordFactory

This implementation class is used for creating IndexedRecord instances.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
java.lang.Object

extended by com.microfocus.cobol.connector.cci.CobolRecordFactory

All Implemented Interfaces

RecordFactory

Class Specifications

public class CobolRecordFactory

extends Object

implements RecordFactory

Constructor Summary

CobolRecordFactory()

Methods

Method Summary
IndexedRecord createIndexedRecord(String recordName)

Create an indexed record instance.

MappedRecord createMappedRecord(String recordName)

Mapped records are not supported.

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CobolRecordFactory
public CobolRecordFactory()

Method Detail

createMappedRecord
public MappedRecord createMappedRecord(String recordName)
                                throws ResourceException

Mapped records are not supported.

Specified by:
createMappedRecord in interface RecordFactory
Parameters:
recordName The name of the record.
Throws:
ResourceException
createIndexedRecord
public IndexedRecord createIndexedRecord(String recordName)
                                  throws ResourceException

Create an indexed record instance.

Specified by:
createIndexedRecord in interface RecordFactory
Parameters:
recordName The name of the record.
Returns:
The indexed record instance.
Throws:
ResourceException