Class PropertyMappingElementCollector
java.lang.Object
org.hibernate.boot.model.internal.PropertyMappingElementCollector
Reproduces what we used to do with a
List<Element> in JPAXMLOverriddenAnnotationReader,
with the following constraints:
- Preserve type safety
- Only create lists if we actually have elements (most lists should be empty in most cases)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Function<JaxbTransient,String> static final Function<PersistentAttribute,String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidcollectTenantIdIfMatching(ManagedType managedType) getBasic()getId()booleanisEmpty()
-
Field Details
-
PERSISTENT_ATTRIBUTE_NAME
-
JAXB_TRANSIENT_NAME
-
-
Constructor Details
-
PropertyMappingElementCollector
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
collectPersistentAttributesIfMatching
-
collectLifecycleCallbacksIfMatching
-
collectTenantIdIfMatching
-
getId
-
getEmbeddedId
-
getBasic
-
getVersion
-
getManyToOne
-
getOneToMany
-
getOneToOne
-
getManyToMany
-
getElementCollection
-
getEmbedded
-
getTransient
-
getPrePersist
-
getPostPersist
-
getPreRemove
-
getPostRemove
-
getPreUpdate
-
getPostUpdate
-
getPostLoad
-