Top Description Fields Constructors Methods
org.hibernate.tuple.entity

pack-priv Class CompositeGeneratorBuilder

extends Object
Class Inheritance
Imports
org.hibernate.dialect.Dialect, org.hibernate.engine.spi.SharedSessionContractImplementor, org.hibernate.generator.BeforeExecutionGenerator, .EventType, .Generator, .OnExecutionGenerator, org.hibernate.mapping.Component, .Property, org.hibernate.metamodel.mapping.AttributeMapping, .EmbeddableMappingType, org.hibernate.persister.entity.EntityPersister, java.util.ArrayList, .EnumSet, .List

Handles value generation for composite properties.

Field Summary

Modifier and TypeField and Description
private final Dialect
private final String
private final List<Generator>
private boolean
private boolean
private final Property

Constructor Summary

AccessConstructor and Description
public
CompositeGeneratorBuilder(String entityName, Property mappingProperty, Dialect dialect)

Method Summary

Modifier and TypeMethod and Description
public void
add(Generator generator)

public Generator
private BeforeExecutionGenerator
private OnExecutionGenerator
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialectback to summary
private final Dialect dialect
entityNameback to summary
private final String entityName
generatorsback to summary
private final List<Generator> generators
hadBeforeExecutionGenerationback to summary
private boolean hadBeforeExecutionGeneration
hadOnExecutionGenerationback to summary
private boolean hadOnExecutionGeneration
mappingPropertyback to summary
private final Property mappingProperty

Constructor Detail

CompositeGeneratorBuilderback to summary
public CompositeGeneratorBuilder(String entityName, Property mappingProperty, Dialect dialect)

Method Detail

addback to summary
public void add(Generator generator)
buildback to summary
public Generator build()
createCompositeBeforeExecutionGeneratorback to summary
private BeforeExecutionGenerator createCompositeBeforeExecutionGenerator()
createCompositeOnExecutionGeneratorback to summary
private OnExecutionGenerator createCompositeOnExecutionGenerator()