oracle.toplink.essentials.mappings |
|
Java Source File Name | Type | Comment |
AggregateCollectionMapping.java | Class | Purpose: The aggregate collection mapping is used to represent the aggregate relationship between a single
source object and a collection of target objects. |
AggregateMapping.java | Class | Purpose: Two objects can be considered to be related by aggregation if there is a strict
1:1 relationship between the objects. |
AggregateObjectMapping.java | Class | Purpose:Two objects can be considered to be related by aggregation if there is a strict
1:1 relationship between the objects. |
Association.java | Class | Purpose: Generic association object. |
AttributeAccessor.java | Class | Purpose: This provides an abstract class for setting and retrieving
the attribute value for the mapping from an object. |
CollectionMapping.java | Class | |
ContainerMapping.java | Interface | Interface used by clients to interact
with the assorted mappings that use ContainerPolicy . |
DatabaseMapping.java | Class | Purpose: Defines how an attribute of an object maps to and from the database
Responsibilities:
- Define type of relationship (1:1/1:M/M:M/etc.)
- Define instance variable name and fields names required
- Define any additional properties (ownership, indirection, read only, etc.)
- Control building the value for the instance variable from the database row
- Control building the database fields from the object
- Control any pre/post updating/inserting/deleting required to maintain the relationship
- Merges object changes for unit of work.
|
DirectCollectionMapping.java | Class | Purpose: This mapping is used to store a collection of simple types (String, Number, Date, etc.)
into a single table. |
DirectMapMapping.java | Class | Mapping for a collection of key-value pairs. |
DirectToFieldMapping.java | Class | Purpose: Maps an attribute to the corresponding database field type. |
ForeignReferenceMapping.java | Class | |
ManyToManyMapping.java | Class | Purpose: Many to many mappings are used to represent the relationships
between a collection of source objects and a collection of target objects. |
ObjectReferenceMapping.java | Class | |
OneToManyMapping.java | Class | Purpose: This mapping is used to represent the
typical RDBMS relationship between a single
source object and collection of target objects; where,
on the database, the target objects have references
(foreign keys) to the source object. |
OneToOneMapping.java | Class | Purpose: One to one mappings are used to represent a pointer references
between two java objects. |
RelationalMapping.java | Interface | INTERNAL
All mappings which can be added to oracle.toplink.essentials.mappings.Descriptor must
implement this interface. |
TypedAssociation.java | Class | Purpose: Generic association object. |