java.lang.Object
org.eclipse.persistence.internal.oxm.Reference
INTERNAL:
Purpose: Holds mapping reference info. The info held in this class will be used after unmarshal to resolve 1-1 and 1-M mapping references. This is necessary to ensure that all related objects have been created before attempting to set instance values in related objects.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the container this reference should be added to if it was from a collection mappingReturn the XMLMapping associated with this reference.Return the list of primary key values required to lookup the reference class in the cache.Return the map of primary key/values required to lookup the reference class in the cache.Return the source object for this reference.Class
<?> Return the target (reference) class for this reference.void
setPrimaryKey
(Object primaryKey) Set the primary key value required to lookup the reference class in the cache.void
setSetting
(Setting setting)
-
Field Details
-
mapping
-
sourceObject
-
targetClass
-
-
primaryKeyMap
-
-
Constructor Details
-
Method Details
-
getContainer
Get the container this reference should be added to if it was from a collection mapping -
getSetting
-
setSetting
-
getMapping
Return the XMLMapping associated with this reference. -
getPrimaryKeyMap
Return the map of primary key/values required to lookup the reference class in the cache. -
getPrimaryKey
Return the list of primary key values required to lookup the reference class in the cache. -
getSourceObject
Return the source object for this reference. -
getTargetClass
Return the target (reference) class for this reference. -
setPrimaryKey
Set the primary key value required to lookup the reference class in the cache.
-