public class OneToOneNotOwningMapper extends AbstractOneToOneMapper
OneToOne
relation.AbstractToOneMapper.EntityInfo
Constructor and Description |
---|
OneToOneNotOwningMapper(String notOwningEntityName,
String owningEntityName,
String owningReferencePropertyName,
PropertyData propertyData,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
protected Object |
queryForReferencedEntity(AuditReaderImplementor versionsReader,
AbstractToOneMapper.EntityInfo referencedEntity,
Serializable primaryKey,
Number revision) |
mapModifiedFlagsToMapForCollectionChange, mapModifiedFlagsToMapFromEntity, nullSafeMapToEntityFromMap
getEntityInfo, getPropertyData, hasPropertiesWithModifiedFlag, mapCollectionChanges, mapToEntityFromMap, mapToMapFromEntity, setPropertyValue
isDynamicComponentMap, markAsDynamicComponentMap
public OneToOneNotOwningMapper(String notOwningEntityName, String owningEntityName, String owningReferencePropertyName, PropertyData propertyData, ServiceRegistry serviceRegistry)
protected Object queryForReferencedEntity(AuditReaderImplementor versionsReader, AbstractToOneMapper.EntityInfo referencedEntity, Serializable primaryKey, Number revision)
queryForReferencedEntity
in class AbstractOneToOneMapper
versionsReader
- Audit reader.referencedEntity
- Referenced entity descriptor.primaryKey
- Referenced entity identifier.revision
- Revision number.Copyright © 2021 JBoss by Red Hat. All rights reserved.