类 Component.ValueGenerationPlan
- java.lang.Object
-
- org.hibernate.mapping.Component.ValueGenerationPlan
-
- 封闭类:
- Component
public static class Component.ValueGenerationPlan extends Object implements CompositeNestedGeneratedValueGenerator.GenerationPlan
-
-
构造器概要
构造器 构造器 说明 ValueGenerationPlan(IdentifierGenerator subGenerator, Setter injector)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidexecute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)Execute the value generation.voidregisterExportables(Database database)Register the contained exportable things to theDatabase
-
-
-
构造器详细资料
-
ValueGenerationPlan
public ValueGenerationPlan(IdentifierGenerator subGenerator, Setter injector)
-
-
方法详细资料
-
execute
public void execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
Execute the value generation.- 指定者:
execute在接口中CompositeNestedGeneratedValueGenerator.GenerationPlan- 参数:
session- The current sessionincomingObject- The entity for which we are generating idinjectionContext- The context into which the generated value can be injected
-
registerExportables
public void registerExportables(Database database)
从接口复制的说明:ExportableProducerRegister the contained exportable things to theDatabase- 指定者:
registerExportables在接口中ExportableProducer- 参数:
database- The database instance
-
-