public abstract static class CascadingActions.BaseCascadingAction extends java.lang.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,
java.lang.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, wait
cascade, deleteOrphans, getCascadableChildrenIterator
public boolean performOnLazyProperty
performOnLazyProperty
in interface CascadingAction
public boolean requiresNoCascadeChecking()
CascadingAction
requiresNoCascadeChecking
in interface CascadingAction
public void noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, 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.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()
CascadingAction
performOnLazyProperty
in interface CascadingAction
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.