| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static final CoreMessageLogger | |
| private static final Logger | |
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | bindAnyMetaDef(AnyMetaDef defAnn, MetadataBuildingContext context)
Deprecated
as a consequence of
AnyMetaDef being deprecated.
|
| public static void | |
| public static Any | buildAnyValue(String anyMetaDefName, Ejb3JoinColumn[] columns, Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, boolean lazy, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, MetadataBuildingContext context)
|
| private static void | checkAnyMetaDefValidity(boolean mustHaveName, AnyMetaDef defAnn, XAnnotatedElement annotatedElement)
Deprecated
as a consequence of
AnyMetaDef being deprecated.
|
| public static void | createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, MetadataBuildingContext context)
|
| public static Object | findColumnOwner(PersistentClass persistentClass, String columnName, MetadataBuildingContext context)
Find the column owner (ie PersistentClass or Join) of columnName. |
| private static List | findPropertiesByColumns(Object columnOwner, Ejb3JoinColumn[] columns, MetadataBuildingContext context)
|
| public static Property | findPropertyByName(PersistentClass associatedClass, String propertyName)
Retrieve the property by path in a recursive way, including IdentifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned |
| public static Property | findPropertyByName(Component component, String propertyName)
Retrieve the property by path in a recursive way |
| private static IdentifierGeneratorDefinition | getIdentifierGenerator(String name, XProperty idXProperty, Map<String, IdentifierGeneratorDefinition> localGenerators, MetadataBuildingContext buildingContext)
|
| public static MappedSuperclass | getMappedSuperclassOrNull(XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context)
|
| public static String | |
| pack-priv static PropertyData | getPropertyOverriddenByMapperOrMapsId(boolean isId, PropertyHolder propertyHolder, String propertyName, MetadataBuildingContext buildingContext)
|
| public static String | |
| private static GenerationType | |
| public static boolean | |
| public static boolean | |
| public static void | makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, Map<String, IdentifierGeneratorDefinition> localGenerators)
apply an id generator to a SimpleValue |
| public static void | makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, IdentifierGeneratorDefinition foreignKGeneratorDefinition)
apply an id generator to a SimpleValue |
| private static void | |
| public static Property | |
| public static Map | |
| public static Map |
| ANNOTATION_STRING_DEFAULT | back to summary |
|---|---|
| public static final String ANNOTATION_STRING_DEFAULT | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| PRIMITIVE_NAMES | back to summary |
|---|---|
| public static final Set<String> PRIMITIVE_NAMES | |
| BinderHelper | back to summary |
|---|---|
| private BinderHelper() | |
| bindAnyMetaDef | back to summary |
|---|---|
| private static void bindAnyMetaDef(AnyMetaDef defAnn, MetadataBuildingContext context)
Deprecated as a consequence of | |
| bindAnyMetaDefs | back to summary |
|---|---|
| public static void bindAnyMetaDefs(XAnnotatedElement annotatedElement, MetadataBuildingContext context) | |
| buildAnyValue | back to summary |
|---|---|
| public static Any buildAnyValue(String anyMetaDefName, Ejb3JoinColumn[] columns, Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, boolean lazy, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, MetadataBuildingContext context) | |
| checkAnyMetaDefValidity | back to summary |
|---|---|
| private static void checkAnyMetaDefValidity(boolean mustHaveName, AnyMetaDef defAnn, XAnnotatedElement annotatedElement)
Deprecated as a consequence of | |
| createSyntheticPropertyReference | back to summary |
|---|---|
| public static void createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, MetadataBuildingContext context) | |
| findColumnOwner | back to summary |
|---|---|
| public static Object findColumnOwner(PersistentClass persistentClass, String columnName, MetadataBuildingContext context) Find the column owner (ie PersistentClass or Join) of columnName. If columnName is null or empty, persistentClass is returned | |
| findPropertiesByColumns | back to summary |
|---|---|
| private static List | |
| findPropertyByName | back to summary |
|---|---|
| public static Property findPropertyByName(PersistentClass associatedClass, String propertyName) Retrieve the property by path in a recursive way, including IdentifierProperty in the loop If propertyName is null or empty, the IdentifierProperty is returned | |
| findPropertyByName | back to summary |
|---|---|
| public static Property findPropertyByName(Component component, String propertyName) Retrieve the property by path in a recursive way | |
| getIdentifierGenerator | back to summary |
|---|---|
| private static IdentifierGeneratorDefinition getIdentifierGenerator(String name, XProperty idXProperty, Map<String, IdentifierGeneratorDefinition> localGenerators, MetadataBuildingContext buildingContext) | |
| getMappedSuperclassOrNull | back to summary |
|---|---|
| public static MappedSuperclass getMappedSuperclassOrNull(XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context) | |
| getPath | back to summary |
|---|---|
| public static String getPath(PropertyHolder holder, PropertyData property) | |
| getPropertyOverriddenByMapperOrMapsId | back to summary |
|---|---|
| pack-priv static PropertyData getPropertyOverriddenByMapperOrMapsId(boolean isId, PropertyHolder propertyHolder, String propertyName, MetadataBuildingContext buildingContext) | |
| getRelativePath | back to summary |
|---|---|
| public static String getRelativePath(PropertyHolder propertyHolder, String propertyName) | |
| interpretGenerationType | back to summary |
|---|---|
private static GenerationType interpretGenerationType(GeneratedValue generatedValueAnn)
| |
| isEmptyAnnotationValue | back to summary |
|---|---|
| public static boolean isEmptyAnnotationValue(String annotationString) | |
| isEmptyOrNullAnnotationValue | back to summary |
|---|---|
| public static boolean isEmptyOrNullAnnotationValue(String annotationString) | |
| makeIdGenerator | back to summary |
|---|---|
| public static void makeIdGenerator(SimpleValue id, XProperty idXProperty, String generatorType, String generatorName, MetadataBuildingContext buildingContext, Map<String, IdentifierGeneratorDefinition> localGenerators) apply an id generator to a SimpleValue | |
| 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 | |
| matchColumnsByProperty | back to summary |
|---|---|
| private static void matchColumnsByProperty(Property property, Map<Column, Set<Property>> columnsToProperty) | |
| shallowCopy | back to summary |
|---|---|
| public static Property shallowCopy(Property property) create a property copy reusing the same value | |
| toAliasEntityMap | back to summary |
|---|---|
| public static Map | |
| toAliasTableMap | back to summary |
|---|---|
| public static Map | |