Class EISOneToManyMapping

  • All Implemented Interfaces:
    Serializable, Cloneable, EISMapping, ContainerMapping

    public class EISOneToManyMapping
    extends CollectionMapping
    implements EISMapping

    An EIS one-to-many mapping is a reference mapping that represents the relationship between a single source object and a collection of mapped persistent Java objects. The source object usually contains a foreign key (pointer) to the target objects (key on source); alternatively, the target objects may contain a foreign key to the source object (key on target). Because both the source and target objects use interactions, they must all be configured as root object types.

    Record formats
    Record Type Description
    Indexed Ordered collection of record elements. The indexed record EIS format enables Java class attribute values to be retreived by position or index.
    Mapped Key-value map based representation of record elements. The mapped record EIS format enables Java class attribute values to be retreived by an object key.
    XML Record/Map representation of an XML DOM element.
    Since:
    Oracle TopLink 10g Release 2 (10.1.3)
    See Also:
    EISDescriptor.useIndexedRecordFormat(), EISDescriptor.useMappedRecordFormat(), EISDescriptor.useXMLRecordFormat(), Serialized Form