Class GeneratorBinder
java.lang.Object
org.hibernate.boot.model.internal.GeneratorBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String,IdentifierGeneratorDefinition> buildGenerators(XAnnotatedElement annotatedElement, MetadataBuildingContext context) static voidmakeIdGenerator(SimpleValue id, XProperty property, String generatorType, String generatorName, MetadataBuildingContext buildingContext, Map<String, IdentifierGeneratorDefinition> localGenerators) Apply an id generation strategy and parameters to the givenSimpleValuewhich represents an identifier.static voidmakeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition) apply an id generator to a SimpleValue
-
Constructor Details
-
GeneratorBinder
public GeneratorBinder()
-
-
Method Details
-
makeIdGenerator
public static void makeIdGenerator(SimpleValue id, XProperty property, String generatorType, String generatorName, MetadataBuildingContext buildingContext, Map<String, IdentifierGeneratorDefinition> localGenerators) Apply an id generation strategy and parameters to the givenSimpleValuewhich represents an identifier. -
makeIdGenerator
public static void makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition) apply an id generator to a SimpleValue -
buildGenerators
public static Map<String,IdentifierGeneratorDefinition> buildGenerators(XAnnotatedElement annotatedElement, MetadataBuildingContext context)
-