类 CascadeStyles.MultipleCascadeStyle
- java.lang.Object
-
- org.hibernate.engine.spi.CascadeStyles.BaseCascadeStyle
-
- org.hibernate.engine.spi.CascadeStyles.MultipleCascadeStyle
-
- 所有已实现的接口:
Serializable,CascadeStyle
- 封闭类:
- CascadeStyles
public static final class CascadeStyles.MultipleCascadeStyle extends CascadeStyles.BaseCascadeStyle
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 MultipleCascadeStyle(CascadeStyle[] styles)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleandoCascade(CascadingAction action)For this style, should the given action be cascaded?booleanhasOrphanDelete()Do we need to delete orphaned collection elements?booleanreallyDoCascade(CascadingAction action)Probably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches...StringtoString()
-
-
-
构造器详细资料
-
MultipleCascadeStyle
public MultipleCascadeStyle(CascadeStyle[] styles)
-
-
方法详细资料
-
doCascade
public boolean doCascade(CascadingAction action)
从接口复制的说明:CascadeStyleFor this style, should the given action be cascaded?- 参数:
action- The action to be checked for cascade-ability.- 返回:
- True if the action should be cascaded under this style; false otherwise.
-
reallyDoCascade
public boolean reallyDoCascade(CascadingAction action)
从接口复制的说明:CascadeStyleProbably more aptly named something like doCascadeToCollectionElements(); it is however used from both the collection and to-one logic branches... For this style, should the given action really be cascaded? The default implementation is simply to returnCascadeStyle.doCascade(org.hibernate.engine.spi.CascadingAction); for certain styles (currently only delete-orphan), however, we need to be able to control this separately.- 指定者:
reallyDoCascade在接口中CascadeStyle- 覆盖:
reallyDoCascade在类中CascadeStyles.BaseCascadeStyle- 参数:
action- The action to be checked for cascade-ability.- 返回:
- True if the action should be really cascaded under this style; false otherwise.
-
hasOrphanDelete
public boolean hasOrphanDelete()
从接口复制的说明:CascadeStyleDo we need to delete orphaned collection elements?- 指定者:
hasOrphanDelete在接口中CascadeStyle- 覆盖:
hasOrphanDelete在类中CascadeStyles.BaseCascadeStyle- 返回:
- True if this style need to account for orphan delete operations; false otherwise.
-
-