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 |
---|
CascadingActions.BaseCascadingAction() |
Modifier and Type | Method and Description |
---|---|
void |
noCascade(EventSource session,
Object child,
Object parent,
EntityPersister persister,
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, wait
cascade, deleteOrphans, getCascadableChildrenIterator
performOnLazyProperty
in interface CascadingAction
public CascadingActions.BaseCascadingAction()
public boolean requiresNoCascadeChecking()
CascadingAction
requiresNoCascadeChecking
in interface CascadingAction
public void noCascade(EventSource session, Object child, Object parent, EntityPersister persister, int propertyIndex)
CascadingAction
CascadingAction.requiresNoCascadeChecking()
returning true) to validate
that no cascade on the given property is considered a valid semantic.noCascade
in interface CascadingAction
session
- The session witin which the cascade is occurring.child
- The property valueparent
- The property value ownerpersister
- The entity persister for the ownerpropertyIndex
- The index of the property within the owner.public boolean performOnLazyProperty()
CascadingAction
performOnLazyProperty
in interface CascadingAction
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.