|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.engine.CascadeStyle
org.hibernate.engine.CascadeStyle.MultipleCascadeStyle
public static final class CascadeStyle.MultipleCascadeStyle
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.hibernate.engine.CascadeStyle |
|---|
CascadeStyle.MultipleCascadeStyle |
| Field Summary |
|---|
| Fields inherited from class org.hibernate.engine.CascadeStyle |
|---|
ALL, ALL_DELETE_ORPHAN, DELETE, DELETE_ORPHAN, EVICT, LOCK, MERGE, NONE, PERSIST, REFRESH, REPLICATE, UPDATE |
| Constructor Summary | |
|---|---|
CascadeStyle.MultipleCascadeStyle(CascadeStyle[] styles)
|
|
| Method Summary | |
|---|---|
boolean |
doCascade(CascadingAction action)
For this style, should the given action be cascaded? |
boolean |
hasOrphanDelete()
Do we need to delete orphaned collection elements? |
boolean |
reallyDoCascade(CascadingAction action)
Probably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches... |
java.lang.String |
toString()
|
| Methods inherited from class org.hibernate.engine.CascadeStyle |
|---|
getCascadeStyle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CascadeStyle.MultipleCascadeStyle(CascadeStyle[] styles)
| Method Detail |
|---|
public boolean doCascade(CascadingAction action)
CascadeStyle
doCascade in class CascadeStyleaction - The action to be checked for cascade-ability.
public boolean reallyDoCascade(CascadingAction action)
CascadeStyleCascadeStyle.doCascade(org.hibernate.engine.CascadingAction); for certain
styles (currently only delete-orphan), however, we need to be able to
control this seperately.
reallyDoCascade in class CascadeStyleaction - The action to be checked for cascade-ability.
public boolean hasOrphanDelete()
CascadeStyle
hasOrphanDelete in class CascadeStylepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||