|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtendedRecordFactory
The ExtendedRecordFactory interface is used for creating initialized MappedRecord and IndexedRecord instances.
| Method Summary | |
|---|---|
IndexedRecord |
asIndexedRecord(String recordName,
String recordShortDescription,
Object values)
Creates an IndexedRecord with the given name, description and content. |
MappedRecord |
asMappedRecord(String recordName,
String recordShortDescription,
Object[] keys,
Object[] values)
Creates a MappedRecord with the given name, short description and content. |
IndexedRecord |
createIndexedRecord(String recordName,
String recordShortDescription)
Creates an IndexedRecord with the given name and short description. |
IndexedRecord |
createIndexedRecord(String recordName,
String recordShortDescription,
List values)
Creates an IndexedRecord with the given name, short description and content. |
MappedRecord |
createMappedRecord(String recordName,
String recordShortDescription)
Creates a MappedRecord with the given name and short description. |
MappedRecord |
createMappedRecord(String recordName,
String recordShortDescription,
List keys,
List values)
Creates a MappedRecord with the given name, short description and content. |
MappedRecord |
createMappedRecord(String recordName,
String recordShortDescription,
Map content)
Creates a MappedRecord with the given name, short description and content. |
| Methods inherited from interface javax.resource.cci.RecordFactory |
|---|
createIndexedRecord, createMappedRecord |
| Method Detail |
|---|
MappedRecord createMappedRecord(String recordName,
String recordShortDescription)
throws ResourceException
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.
ResourceException - Failed to create an initialized MappedRecord.
Example error cases are:NotSupportedException - Operation not supported
MappedRecord createMappedRecord(String recordName,
String recordShortDescription,
Map content)
throws ResourceException
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.content - The content to be copied into the record instance.
ResourceException - Failed to create an initialized MappedRecord.
Example error cases are:NotSupportedException - Operation not supported
MappedRecord createMappedRecord(String recordName,
String recordShortDescription,
List keys,
List values)
throws ResourceException
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.keys - The keys of the mapped recordvalues - The values of the mapped record sorted according to the keys
ResourceException - Failed to create an initialized MappedRecord.
Example error cases are:NotSupportedException - Operation not supported
MappedRecord asMappedRecord(String recordName,
String recordShortDescription,
Object[] keys,
Object[] values)
throws ResourceException
The MappedRecord is backed up by the given arrays.
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.keys - The keys of the mapped recordvalues - The values of the mapped record sorted according to the keys
ResourceException - Failed to create an initialized MappedRecord.
Example error cases are:NotSupportedException - Operation not supported
IndexedRecord createIndexedRecord(String recordName,
String recordShortDescription)
throws ResourceException
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.values - The values of the indexed record.
ResourceException - Failed to create an initialized IndexedRecord.
Example error cases are:NotSupportedException - Operation not supported
IndexedRecord createIndexedRecord(String recordName,
String recordShortDescription,
List values)
throws ResourceException
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.values - The values of the indexed record.
ResourceException - Failed to create an initialized IndexedRecord.
Example error cases are:NotSupportedException - Operation not supported
IndexedRecord asIndexedRecord(String recordName,
String recordShortDescription,
Object values)
throws ResourceException
The Record is backed up by the given array.
recordName - The name of the record acts as a pointer to the meta
information (stored in the metadata repository) for a specific
record type.recordShortDescription - The short description of the Record; or null.values - The values of the indexed record represented by a List or an
array of objects or primitive types.
ResourceException - Failed to create an initialized IndexedRecord.
Example error cases are:NotSupportedException - Operation not supported
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||