| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Map | |
| pack-priv static IdentifierGeneratorDefinition | |
| private static <A extends Annotation> void | callInitialize(A annotation, Member member, GeneratorCreationContext creationContext, Generator generator)
|
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| pack-priv static IdentifierGeneratorDefinition | |
| pack-priv static void | createIdGenerator(SimpleValue idValue, Map<String, IdentifierGeneratorDefinition> classGenerators, MetadataBuildingContext context, XClass entityClass, XProperty idProperty)
|
| pack-priv static GeneratorCreator | generatorCreator(XProperty property, Annotation annotation)
In case the given annotation is a value generator annotation, the corresponding value generation strategy to be
applied to the given property is returned, |
| pack-priv static String | generatorType(MetadataBuildingContext context, XClass entityXClass, boolean isComponent, GeneratedValue generatedValue)
|
| pack-priv static String | generatorType(GeneratedValue generatedValue, final XClass javaClass, MetadataBuildingContext context)
|
| pack-priv static IdentifierGeneratorCreator | |
| private static <C, G extends Generator> G | instantiateGenerator(Annotation annotation, Member member, Class<? extends Annotation> annotationType, C creationContext, Class<C> contextClass, Class<? extends G> generatorClass)
|
| private static GenerationType | |
| private static IdentifierGeneratorDefinition | makeIdentifierGeneratorDefinition(String name, XProperty idProperty, Map<String, IdentifierGeneratorDefinition> localGenerators, MetadataBuildingContext buildingContext)
|
| 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
given |
| public static void | makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition)
apply an id generator to a SimpleValue |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| GeneratorBinder | back to summary |
|---|---|
| public GeneratorBinder() | |
| buildGenerators | back to summary |
|---|---|
| public static Map | |
| buildIdGenerator | back to summary |
|---|---|
| pack-priv static IdentifierGeneratorDefinition buildIdGenerator(Annotation generatorAnnotation, MetadataBuildingContext context) | |
| callInitialize | back to summary |
|---|---|
| private static <A extends Annotation> void callInitialize(A annotation, Member member, GeneratorCreationContext creationContext, Generator generator) | |
| checkGeneratorClass | back to summary |
|---|---|
| private static void checkGeneratorClass(Class<? extends Generator> generatorClass) | |
| checkGeneratorInterfaces | back to summary |
|---|---|
| private static void checkGeneratorInterfaces(Class<? extends Generator> generatorClass) | |
| checkIdGeneratorTiming | back to summary |
|---|---|
| private static void checkIdGeneratorTiming(Class<? extends Annotation> annotationType, Generator generator) | |
| checkVersionGenerationAlways | back to summary |
|---|---|
| private static void checkVersionGenerationAlways(XProperty property, Generator generator) | |
| createForeignGenerator | back to summary |
|---|---|
| pack-priv static IdentifierGeneratorDefinition createForeignGenerator(PropertyData mapsIdProperty) | |
| createIdGenerator | back to summary |
|---|---|
| pack-priv static void createIdGenerator(SimpleValue idValue, Map<String, IdentifierGeneratorDefinition> classGenerators, MetadataBuildingContext context, XClass entityClass, XProperty idProperty) | |
| generatorCreator | back to summary |
|---|---|
| pack-priv static GeneratorCreator generatorCreator(XProperty property, Annotation annotation) In case the given annotation is a value generator annotation, the corresponding value generation strategy to be
applied to the given property is returned, | |
| generatorType | back to summary |
|---|---|
| pack-priv static String generatorType(MetadataBuildingContext context, XClass entityXClass, boolean isComponent, GeneratedValue generatedValue) | |
| generatorType | back to summary |
|---|---|
| pack-priv static String generatorType(GeneratedValue generatedValue, final XClass javaClass, MetadataBuildingContext context) | |
| identifierGeneratorCreator | back to summary |
|---|---|
| pack-priv static IdentifierGeneratorCreator identifierGeneratorCreator(XProperty idProperty, Annotation annotation) | |
| instantiateGenerator | back to summary |
|---|---|
| private static <C, G extends Generator> G instantiateGenerator(Annotation annotation, Member member, Class<? extends Annotation> annotationType, C creationContext, Class<C> contextClass, Class<? extends G> generatorClass) | |
| interpretGenerationType | back to summary |
|---|---|
| private static GenerationType interpretGenerationType(GeneratedValue generatedValueAnn) | |
| makeIdentifierGeneratorDefinition | back to summary |
|---|---|
| private static IdentifierGeneratorDefinition makeIdentifierGeneratorDefinition(String name, XProperty idProperty, Map<String, IdentifierGeneratorDefinition> localGenerators, MetadataBuildingContext buildingContext) | |
| makeIdGenerator | back to summary |
|---|---|
| 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
given | |
| makeIdGenerator | back to summary |
|---|---|
| public static void makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition) apply an id generator to a SimpleValue | |