public class BidirectionalSynchronizationEvent extends EntityAttributeMappingEvent
BidirectionalSynchronizationEvent indicates that an entity attribute, mapped
as a bidirectional OneToMany or ManyToMany association
does not contain the addEntity(Entity entity) and removeEntity(Entity entity)
synchronization methodsEvent.Priority| Constructor and Description |
|---|
BidirectionalSynchronizationEvent(Class entityClass,
String entityAttribute,
Class<?> otherEntityClass,
boolean addMethodMissing,
boolean removeMethodMissing)
Instantiate the event using the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Class<?> |
getOtherEntityClass()
Get the
Class of the other side of the bidirectional association represented by the EntityAttributeMappingEvent.getEntityAttribute() attribute. |
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
boolean |
isAddMethodMissing()
Check if the
addEntity method missing. |
boolean |
isRemoveMethodMissing()
Check if the
removeEntity method missing. |
getEntityAttributegetEntityClass, getEntityNamegetInfoUrlpublic BidirectionalSynchronizationEvent(Class entityClass, String entityAttribute, Class<?> otherEntityClass, boolean addMethodMissing, boolean removeMethodMissing)
entityClass - entity classentityAttribute - entity attributeotherEntityClass - the other end of this bidirectional associationaddMethodMissing - the addEntity method is missingremoveMethodMissing - the removeEntity method is missingpublic Class<?> getOtherEntityClass()
Class of the other side of the bidirectional association represented by the EntityAttributeMappingEvent.getEntityAttribute() attribute.Class of the other side of the bidirectional associationpublic boolean isAddMethodMissing()
addEntity method missing.addEntity method missing statuspublic boolean isRemoveMethodMissing()
removeEntity method missing.removeEntity method missing statuspublic Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.