public final class CollectionMetadataGenerator
extends java.lang.Object
Constructor and Description |
---|
CollectionMetadataGenerator(AuditMetadataGenerator mainGenerator,
org.hibernate.mapping.Collection propertyValue,
org.hibernate.envers.internal.entities.mapper.CompositeMapperBuilder currentMapper,
java.lang.String referencingEntityName,
org.hibernate.envers.configuration.internal.metadata.EntityXmlMappingData xmlMappingData,
org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData propertyAuditingData) |
public CollectionMetadataGenerator(AuditMetadataGenerator mainGenerator, org.hibernate.mapping.Collection propertyValue, org.hibernate.envers.internal.entities.mapper.CompositeMapperBuilder currentMapper, java.lang.String referencingEntityName, org.hibernate.envers.configuration.internal.metadata.EntityXmlMappingData xmlMappingData, org.hibernate.envers.configuration.internal.metadata.reader.PropertyAuditingData propertyAuditingData)
mainGenerator
- Main generator, giving access to configuration and the basic mapper.propertyValue
- Value of the collection, as mapped by Hibernate.currentMapper
- Mapper, to which the appropriate PropertyMapper
will be added.referencingEntityName
- Name of the entity that owns this collection.xmlMappingData
- In case this collection requires a middle table, additional mapping documents will
be created using this object.propertyAuditingData
- Property auditing (meta-)data. Among other things, holds the name of the
property that references the collection in the referencing entity, the user data for middle (join)
table and the value of the @MapKey
annotation, if there was one.Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.