Package org.hibernate.engine.spi
Class CascadingActions.BaseCascadingAction<T>
java.lang.Object
org.hibernate.engine.spi.CascadingActions.BaseCascadingAction<T>
- All Implemented Interfaces:
CascadingAction<T>
- Enclosing class:
CascadingActions
public abstract static class CascadingActions.BaseCascadingAction<T>
extends Object
implements CascadingAction<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleananythingToCascade(EntityPersister persister) Does this action have any work to do for the entity type with the given persister?booleanappliesTo(Type type, CascadeStyle style) Does this action have any work to do for fields of the given type with the given cascade style?booleancascadeNow(CascadePoint cascadePoint, AssociationType associationType, SessionFactoryImplementor factory) Does this action cascade to the given association at the givenCascadePoint?@Nullable ForeignKeyDirectionThe cascade direction in which we care whether the foreign key is declared withon delete cascade.booleanShould this action be performed (or noCascade consulted) in the case of lazy properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.engine.spi.CascadingAction
cascade, cascade, deleteOrphans, getCascadableChildrenIterator
-
Constructor Details
-
BaseCascadingAction
public BaseCascadingAction()
-
-
Method Details
-
performOnLazyProperty
public boolean performOnLazyProperty()Description copied from interface:CascadingActionShould this action be performed (or noCascade consulted) in the case of lazy properties.- Specified by:
performOnLazyPropertyin interfaceCascadingAction<T>
-
anythingToCascade
Description copied from interface:CascadingActionDoes this action have any work to do for the entity type with the given persister?- Specified by:
anythingToCascadein interfaceCascadingAction<T>
-
appliesTo
Description copied from interface:CascadingActionDoes this action have any work to do for fields of the given type with the given cascade style?- Specified by:
appliesToin interfaceCascadingAction<T>
-
cascadeNow
public boolean cascadeNow(CascadePoint cascadePoint, AssociationType associationType, SessionFactoryImplementor factory) Description copied from interface:CascadingActionDoes this action cascade to the given association at the givenCascadePoint?- Specified by:
cascadeNowin interfaceCascadingAction<T>
-
directionAffectedByCascadeDelete
Description copied from interface:CascadingActionThe cascade direction in which we care whether the foreign key is declared withon delete cascade.- Specified by:
directionAffectedByCascadeDeletein interfaceCascadingAction<T>
-