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, wait
cascade, deleteOrphans, getCascadableChildrenIterator
public boolean performOnLazyProperty
performOnLazyProperty
in interface CascadingAction
public boolean requiresNoCascadeChecking()
CascadingAction
requiresNoCascadeChecking
in interface CascadingAction
public void noCascade(EventSource session, 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 © 2018 JBoss by Red Hat. All rights reserved.