类 CascadingActions.BaseCascadingAction
- java.lang.Object
-
- org.hibernate.engine.spi.CascadingActions.BaseCascadingAction
-
- 所有已实现的接口:
CascadingAction
- 封闭类:
- CascadingActions
public abstract static class CascadingActions.BaseCascadingAction extends Object implements CascadingAction
-
-
构造器概要
构造器 构造器 说明 BaseCascadingAction()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidnoCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)Called (in the case ofCascadingAction.requiresNoCascadeChecking()returning true) to validate that no cascade on the given property is considered a valid semantic.booleanperformOnLazyProperty()Should this action be performed (or noCascade consulted) in the case of lazy properties.booleanrequiresNoCascadeChecking()Does the specified cascading action require verification of no cascade validity?-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.engine.spi.CascadingAction
cascade, deleteOrphans, getCascadableChildrenIterator
-
-
-
-
方法详细资料
-
requiresNoCascadeChecking
public boolean requiresNoCascadeChecking()
从接口复制的说明:CascadingActionDoes the specified cascading action require verification of no cascade validity?- 指定者:
requiresNoCascadeChecking在接口中CascadingAction- 返回:
- True if this action requires no-cascade verification; false otherwise.
-
noCascade
public void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
从接口复制的说明:CascadingActionCalled (in the case ofCascadingAction.requiresNoCascadeChecking()returning true) to validate that no cascade on the given property is considered a valid semantic.- 指定者:
noCascade在接口中CascadingAction- 参数:
session- The session within which the cascade is occurring.parent- The property value ownerpersister- The entity persister for the ownerpropertyType- The property typepropertyIndex- The index of the property within the owner.
-
performOnLazyProperty
public boolean performOnLazyProperty()
从接口复制的说明:CascadingActionShould this action be performed (or noCascade consulted) in the case of lazy properties.- 指定者:
performOnLazyProperty在接口中CascadingAction
-
-