| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static Logger | |
| public static final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static void | |
| public static Any | buildAnyValue(String anyMetaDefName, Ejb3JoinColumn[] columns, Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, Mappings mappings)
|
| private static void | checkAnyMetaDefValidity(boolean mustHaveName, AnyMetaDef defAnn, XAnnotatedElement annotatedElement)
|
| public static void | createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings)
|
| public static Object | findColumnOwner(PersistentClass persistentClass, String columnName, Mappings mappings)
Find the column owner (ie PersistentClass or Join) of columnName. |
| private static List | |
| public static Property | findPropertyByName(PersistentClass associatedClass, String propertyName)
Retrieve the property by path in a recursive way, including IndetifierProperty 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 |
| public static MappedSuperclass | getMappedSuperclassOrNull(XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings)
|
| public static String | |
| pack-priv static PropertyData | getPropertyOverriddenByMapperOrMapsId(boolean isId, PropertyHolder propertyHolder, String propertyName, Mappings mappings)
|
| public static String | |
| public static boolean | |
| public static void | makeIdGenerator(SimpleValue id, String generatorType, String generatorName, Mappings mappings, Map<String, IdGenerator> localGenerators)
apply an id generator to a SimpleValue |
| private static void | |
| public static Property |
| ANNOTATION_STRING_DEFAULT | back to summary |
|---|---|
| public static final String ANNOTATION_STRING_DEFAULT | |
| log | back to summary |
|---|---|
| private static 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, Mappings mappings) | |
| bindAnyMetaDefs | back to summary |
|---|---|
| public static void bindAnyMetaDefs(XAnnotatedElement annotatedElement, Mappings mappings) | |
| buildAnyValue | back to summary |
|---|---|
| public static Any buildAnyValue(String anyMetaDefName, Ejb3JoinColumn[] columns, Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, Mappings mappings) | |
| checkAnyMetaDefValidity | back to summary |
|---|---|
| private static void checkAnyMetaDefValidity(boolean mustHaveName, AnyMetaDef defAnn, XAnnotatedElement annotatedElement) | |
| createSyntheticPropertyReference | back to summary |
|---|---|
| public static void createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, Mappings mappings) | |
| findColumnOwner | back to summary |
|---|---|
| public static Object findColumnOwner(PersistentClass persistentClass, String columnName, Mappings mappings) 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 IndetifierProperty 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 | |
| getMappedSuperclassOrNull | back to summary |
|---|---|
| public static MappedSuperclass getMappedSuperclassOrNull(XClass declaringClass, Map<XClass, InheritanceState> inheritanceStatePerClass, Mappings mappings) | |
| 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, Mappings mappings) | |
| getRelativePath | back to summary |
|---|---|
| public static String getRelativePath(PropertyHolder propertyHolder, String propertyName) | |
| isEmptyAnnotationValue | back to summary |
|---|---|
| public static boolean isEmptyAnnotationValue(String annotationString) | |
| makeIdGenerator | back to summary |
|---|---|
| public static void makeIdGenerator(SimpleValue id, String generatorType, String generatorName, Mappings mappings, Map<String, IdGenerator> localGenerators) 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 | |