public abstract static class CascadingActions.BaseCascadingAction extends Object implements CascadingAction
| Type | Property and Description |
|---|---|
boolean |
performOnLazy
Should this action be performed (or noCascade consulted) in the case of lazy properties.
|
| Constructor and Description |
|---|
BaseCascadingAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex)
Called (in the case of
CascadingAction.requiresNoCascadeChecking() returning true) to validate
that no cascade on the given property is considered a valid semantic. |
boolean |
performOnLazyProperty()
Should this action be performed (or noCascade consulted) in the case of lazy properties.
|
boolean |
requiresNoCascadeChecking()
Does the specified cascading action require verification of no cascade validity?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcascade, deleteOrphans, getCascadableChildrenIteratorpublic boolean performOnLazyProperty
performOnLazyProperty in interface CascadingActionpublic boolean requiresNoCascadeChecking()
CascadingActionDoes the specified cascading action require verification of no cascade validity?
requiresNoCascadeChecking in interface CascadingActionpublic void noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
CascadingActionCalled (in the case of CascadingAction.requiresNoCascadeChecking() returning true) to validate
that no cascade on the given property is considered a valid semantic.
noCascade in interface CascadingActionsession - The session witin 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.public boolean performOnLazyProperty()
CascadingActionShould this action be performed (or noCascade consulted) in the case of lazy properties.
performOnLazyProperty in interface CascadingActionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.