Interface Record

All Superinterfaces:
Cloneable, Serializable
All Known Subinterfaces:
IndexedRecord<E>, MappedRecord<K,V>, ResultSet

public interface Record extends Cloneable, Serializable
The jakarta.resource.cci.Record interface is the base interface for the representation of an input or output to the execute methods defined on an Interaction.

The Record interface can be extended to form a one of the following representations:

  • MappedRecord: A key-value pair based collection represents a record. This interface is based on the java.util.Map
  • IndexedRecord:An ordered and indexed collection represents a record. This interface is based on the java.util.List.
  • JavaBean based representation of an EIS abstraction: An example is a custom record generated to represent a purchase order in an ERP system.
  • jakarta.resource.cci.ResultSet: This interface extends both java.sql.ResultSet and jakarta.resource.cci.Record. A ResultSet represents tabular data.

A MappedRecord or IndexedRecord can contain another Record. This means that MappedRecord and IndexedRecord can be used to create a hierarchical structure of any arbitrary depth. A basic Java type is used as the leaf element of a hierarchical structure represented by a MappedRecord or IndexedRecord.

Version:
0.8
See Also: